Daily updates from Odoo
Friday, December 12, 2025
2 changes · 19.0
Enhancements to existing features
This update ensures Odoo correctly handles negative invoice lines in Mexico's CFDI e-invoicing format. Previously, the system struggled when negative line amounts exceeded the total of multiple positive lines. This change improves compliance with Mexican regulations and prevents potential invoicing errors.
Original PR description
In mexico, you cannot send any negative lines in the CFDI (Mexican e-invoicing). The negative lines are distributed accross the positive ones in _dispatch_global_discount_lines. This test ensures the negative line is well distributed when its amount is higher than the sum of multiple positive lines. Forward-Port-Of: odoo/enterprise#101888
This update enhances the clarity of financial reports, particularly the Trial Balance and General Ledger, by displaying unaffected earnings as separate lines for each company. It also addresses several localization issues and introduces a warning for unallocated earnings when generating reports like SAF-T. This ensures more accurate and understandable financial data.
Original PR description
This commit changes the way the Unaffected Earnings are displayed in the Trial Balance. Instead of allocating unaffected earnings to the equity_unaffected account when the report is rendered, we now showcase the earnings to an additional line per company, with no relation to an account. In this commit, we also add the account type 'expenses_other' which was missing from the line 'Less Other Expenses' in the Generic P&L. Task [link](https://www.odoo.com/odoo/project.task/5153168) task-5153168