Vauxoo / odoo

Fork of Odoo (formerly OpenERP). [This project is not publically mantained just born for internal usage with some little patches] go to official repository on github.com/odoo/odoo
https://www.odoo.com
Other
9 stars 9 forks source link

[FIX] account: muting CABA entry lines generation at non-caba move #489

Open hbto opened 2 years ago

hbto commented 2 years ago

This MR is a Clone of

(v14) https://github.com/odoo/odoo/pull/72753

(v14) https://github.com/Vauxoo/odoo/pull/434

Main

Odoo is creating extra lines to compensate the difference in Base lines. And in doing so is creating new lines for the taxes.

When Payment is in Past Dates

[FIX] account: muting CABA entry lines generation at non-caba move

Without this Muting

Screen Shot 2021-06-22 at 23 04 29

With this Muting

Screen Shot 2021-06-22 at 22 34 08

When Payment is in Future Dates.

Without this Muting

Screen Shot 2021-06-24 at 13 42 23

With this Muting

Screen Shot 2021-06-24 at 13 36 19

Solution / Mitigation

Screen Shot 2021-06-24 at 14 28 33

-- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr