Daily updates from Odoo
Sunday, December 21, 2014
4 changes · master
Resolved issues and error corrections
This fixes how product price surcharges are applied so they align with the product's unit of measure. Businesses should see more accurate pricelist calculations when products use different units, reducing pricing errors for sales and purchasing.
This update addresses reported issue #988 with fixes spanning messaging, website interactions, recruitment, accounting, stock, portal access, events, blogs, and mass mailing. It should improve reliability for users working with communications and public-facing website features while reducing errors in related business workflows.
Original PR description
About Issue #988
Odoo now prevents users from deleting accounting accounts that are still referenced by tax settings. This helps avoid broken tax configurations and reduces the risk of accounting errors caused by removing accounts that are still needed.
Manufacturing orders created from procurement now calculate their required components only once instead of repeating the same step during confirmation. This reduces unnecessary processing and helps improve performance while still respecting the procurement order's bill of materials properties.
Original PR description
I assume that the reason to call `action_compute` method in `procurement.make_mo` is to pass in the `properties` parameters , and thus the BOM of the generated MO will be selected according to the BOM Properties on the related procurement order. However, the action_compute will be called the second time by the workflow when the MO is confirmed. The double call of the `action_compute` method caused performance issue <s>and those unnecessary unlink product_lines process.</s> This fix take care of the bom properties match inside action_compute, and thus remove the needs to call `action_compute` in `procurement.make_mo`.