Monday, April 15, 2024
1 change · 17.0
Resolved issues and error corrections
This fix resolves a critical issue where certain partner form views were trying to access a VAT container element before it was created, causing system failures during upgrades. By adjusting the view priority order, the VAT container is now properly initialized before other views attempt to use it. This fix unblocks approximately 60 pending system upgrades.
Original PR description
`base_vat.view_partner_base_vat_form` creates a new div `vat_vies_container` referenced by other views such as `l10n_mx_edi_stock.mx_partner_operator_form` All these extension views have the same priority and in this case the later is trying to access the div before it is even created. We fix this issue by changing the priority of the view that creates the div from 16 to 15. This is currently blocking around 60~ upgrades Forward-Port-Of: odoo/odoo#160329