Daily updates from Odoo
Wednesday, April 20, 2022
4 changes · master
Enhancements to existing features
The Documents spreadsheet feature has been updated to use the latest spreadsheet engine. This improves maintainability and prepares the feature for future enhancements without changing the core user workflow.
Original PR description
### Contains the following commits: https://github.com/odoo/o-spreadsheet/commit/35870dbf [MOV] spreadsheet: create folders for components .xml & .ts https://github.com/odoo/o-spreadsheet/commit/10e1a0ca [REF] spreadsheet: split components and their templates
Code cleanup and technical improvements
Odoo Studio’s internal interface code was reorganized to align with the upcoming Owl 2 framework. This should help keep Studio easier to maintain and reduce upgrade risk, with little to no visible change for users.
Original PR description
This commit is in preparation for Owl 2 and improves the code of some Studio components. This reduces the use of this.el.querySelector statements on components and introduces setup and hooks for components to replace the use of lifecycle methods. Read more about Owl 2: https://github.com/odoo/owl/blob/owl-next/CHANGELOG.md
Miscellaneous changes
Exempt or partially exempt lines had the wrong tax-included price. To reproduce without needing an exempt test case: 1/ compute taxes with avatax on an invoice 2/ change the amount on a generated account.tax (so odoo tax calculation != avatax) 3/ set tax-included in general settings 4/ refresh 5/ click "compute taxes using avatax" on the invoice again The displayed price_total field will show the tax calculated by Odoo (calculated using the wrong amount from 2/) instead of the tax
Original PR description
Exempt or partially exempt lines had the wrong tax-included price. To reproduce without needing an exempt test case: 1/ compute taxes with avatax on an invoice 2/ change the amount on a generated account.tax (so odoo tax calculation != avatax) 3/ set tax-included in general settings 4/ refresh 5/ click "compute taxes using avatax" on the invoice again The displayed price_total field will show the tax calculated by Odoo (calculated using the wrong amount from 2/) instead of the tax calculated by Avatax. To fix it override price_total on the lines, similar to how it's done in account_avatax_sale. opw-2823949 Forward-Port-Of: odoo/enterprise#26256
don't create duplicated sign item values before this commit: the key item_values_dict was the id of sign_item_value but the key in the signature is the id of sign_item they are not matched Forward-Port-Of: odoo/enterprise#26307
Original PR description
don't create duplicated sign item values before this commit: the key item_values_dict was the id of sign_item_value but the key in the signature is the id of sign_item they are not matched Forward-Port-Of: odoo/enterprise#26307