Thursday, September 10, 2026
2 changes · saas-19.4
Enhancements to existing features
Imported electronic invoices now better recognize reverse charge taxes even when they appear as 0% in the XML. This helps accounting teams avoid manual tax corrections and also keeps analytic distribution information from prediction during import.
Original PR description
Reverse charge taxes can be reported as 0% in the XML, meaning that we wouldn't be able to predict them even if e already set it right on a previous invoice for the same partner.Description of the issue/feature this PR addresses:
Installing the Colombian electronic invoicing features is now faster on large databases. The change avoids a time-consuming one-time recalculation during setup while keeping normal invoice updates working as before.
Original PR description
- Pre-create the stored computed columns `l10n_co_edi_type`, `l10n_co_dian_state`, and `l10n_co_edi_cufe_cude_ref` in `_auto_init()`. - This prevents Odoo from computing and writing these fields for all existing `account.move` records when installing `l10n_co_dian`. - This is particularly important for large databases with a high volume of Colombian accounting moves, where the initial computation can take too long and cause the module installation to hit the time limit. - The compute methods are kept unchanged, so the fields continue to be computed normally for subsequent record creation or dependency changes. **opw-6451331** Forward-Port-Of: odoo/enterprise#130671 Forward-Port-Of: odoo/enterprise#129507