Thursday, March 19, 2026
2 changes · 19.0
Enhancements to existing features
The Philippines localization now includes an updated chart of accounts, tax labels, withholding tax references, and fiscal positions for PEZA, foreign, and government transactions. This helps companies using the Philippines accounting package align their Odoo setup with current reporting structures and reduces manual configuration.
Original PR description
* account: Replaced the Chart of Accounts with updated codes, names, and cash flow tags. * tax: Updated invoice labels and added ATC codes to withholding tax descriptions. * fiscal_position: Added PEZA, Foreign, and Government positions; set base.ph defaults. * template: Re-mapped core accounts to the new IDs, updated cash/bank prefixes, and added deferred/discount accounts. Task-5916666 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Manufacturing orders created from sales orders now process large bills of materials much faster when Purchase Manufacturing is installed. The change avoids repeating the same cost-share checks for every component line, reducing long confirmation delays for complex products.
Original PR description
Before this commit, confirming a Sale Order that creates a Manufacturing Order for a product with a large BoM could take several minutes when `purchase_mrp` was installed. The slowdown comes from…
Before this commit, confirming a Sale Order that creates a Manufacturing Order for a product with a large BoM could take several minutes when `purchase_mrp` was installed. The slowdown comes from `mrp.bom.line._get_cost_share()`, which is called for every line during a BoM explosion. When no explicit `cost_share` is set, the method recomputes the list of eligible BoM lines and checks whether any of them has a manual cost share. That computation depends only on the BoM and the product variant, but it is recomputed for every exploded line during `mrp.bom.explode()`. This causes a full BoM scan to be repeated for every single line. This commit introduces a contextual cache `purchase_mrp_cost_share_cache` to store these results. We calculate the metadata once and reuse it for all lines of the same (BoM, variant) within the same explosion. ### Benchmark: - BoM lines: 992 | Before | After | |---------|--------| | 229.246s | 9.068s | opw-6017626 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr