Friday, September 4, 2026
1 change · saas-18.4
Enhancements to existing features
Installing the Colombian DIAN localization is now faster on large databases because the system avoids recalculating certain invoice fields for all existing accounting records during setup. This reduces the risk of installation timeouts while keeping normal invoice processing unchanged afterward.
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#130059 Forward-Port-Of: odoo/enterprise#129507