Tuesday, August 9, 2022
2 changes · master
Resolved issues and error corrections
Fixed an issue that could cause an error when opening a product after a recent quality control change. The quality check count now works correctly for multiple products, keeping product pages accessible for users.
Original PR description
Since https://github.com/odoo/enterprise/pull/27602 a traceback appears when clicking on a product. This comes from the calculation of the number of quality checks, where the domain wrongly assumed there would be only one id in self.
This change moves delivered price fields into the core field service sales module so they are available whenever needed. It prevents errors when signing reports if the reporting add-on is not installed first, making the workflow more reliable for users.
Original PR description
Before this commit: - delivered_price_subtotal, delivered_price_tax and delivered_price_total fields are added in industry_fsm_sale_report but used in industry_fsm_sale. An error occured when trying to sign report as industry_fsm_sale can be installed before installing industry_fsm_sale_report. After this commit: - delivered_price_subtotal, delivered_price_tax and delivered_price_total and delivered_price_subtotal, delivered_price_tax and delivered_price_total moved to sale_order_line.py in industry_fsm_sale. Task-2892346