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

[IMP] Compacting the creation of Journal Lines for CABA base lines. #338

Closed hbto closed 2 years ago

hbto commented 4 years ago

Main

Odoo does not economize on resources when creating CABA Entries.

This PR deals with the creation of a more Slimmed way of creating the CABA Entries. After this PR you will end up with

-- 1 Entry line per tax collected. -- 1 Entry line per tax to be collected. -- 2 Entry lines for the base, one debit, one credit.

chances are that this could be increased but the algorithm tries only to group by a set of keys.

Regards.

YouTube

https://youtu.be/njXJDJLOFWc

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