Daily updates from Odoo
Navigate
Branch
Monday, October 11, 2021
8 changes
Code cleanup and technical improvements
This update removes unnecessary percent symbol escaping from XML view definitions. It is an internal cleanup that keeps configuration files simpler without changing how users interact with the system.
Original PR description
The commit https://github.com/odoo/odoo/commit/1b40e9265f88f57aaaf311bb8fae3d1fd1966d7d allows to get rid of most escapings %% in xmls but there were still occurences of useless %% in some of them. We remove them.
Miscellaneous changes
Some amounts may be represented differently after rounding. The JavaScript must take into account these differences in representation. The comparison is made against an epsilon calculated on the basis of the digit of the currency. For eg, the rounding of 956.06 with 2 digits is 956.0600000000001 opw-2513568 Forward-Port-Of: odoo/enterprise#20795
Original PR description
Some amounts may be represented differently after rounding. The JavaScript must take into account these differences in representation. The comparison is made against an epsilon calculated on the basis of the digit of the currency. For eg, the rounding of 956.06 with 2 digits is 956.0600000000001 opw-2513568 Forward-Port-Of: odoo/enterprise#20795
Purpose of the task is to fields reorganization from left to right. So in this commit, fields reorganization from left to right Links PR #21226 Task - 2613132 Forward-Port-Of: odoo/enterprise#21226
Original PR description
Purpose of the task is to fields reorganization from left to right. So in this commit, fields reorganization from left to right Links PR #21226 Task - 2613132 Forward-Port-Of: odoo/enterprise#21226
This should have been a fixup of 6289902310ff7d7c588b9363f2838c112e85d267 but we needed to freeze :man_shrugging: Forward-Port-Of: odoo/enterprise#21425
Original PR description
This should have been a fixup of 6289902310ff7d7c588b9363f2838c112e85d267 but we needed to freeze :man_shrugging: Forward-Port-Of: odoo/enterprise#21425
In some cases, invoices contain unit price and discount price including the vat tax (only when there are no another type of taxes). This is a practice made by some retail companies, where most of their sales are made with boletas, and occationally they issue invoices. So then instead of changing the price for the invoices, they keep the price with tax included. In that case, they send a tag called MntBruto = 1 in their XMLs. This PR considers that situation. Reference: https://www.sii.cl/f
Original PR description
In some cases, invoices contain unit price and discount price including the vat tax (only when there are no another type of taxes). This is a practice made by some retail companies, where most of their sales are made with boletas, and occationally they issue invoices. So then instead of changing the price for the invoices, they keep the price with tax included. In that case, they send a tag called MntBruto = 1 in their XMLs. This PR considers that situation. Reference: https://www.sii.cl/factura_electronica/formato_dte.pdf This commit replaces the forward-bot pr: #21100 Forward-Port-Of: odoo/enterprise#21148
End of service provision are not allowances, so its type has been changed to company parts The EOS Provision should not appear on payslips. The EOS Provision is acting as a wallet that the company uses to pay the employees terminated. Instead of the company expensing a huge amount in one specific month where they paid end of service benefits to a former employee, they would keep this provision entry (wallet) each month to calculate the worth added to the employee's end of service benefi
Original PR description
End of service provision are not allowances, so its type has been changed to company parts The EOS Provision should not appear on payslips. The EOS Provision is acting as a wallet that the company uses to pay the employees terminated. Instead of the company expensing a huge amount in one specific month where they paid end of service benefits to a former employee, they would keep this provision entry (wallet) each month to calculate the worth added to the employee's end of service benefit each month they work, so at the end of employment I wouldn't expense the whole amount in one month and overstate my expenses to that month. This rule shouldn't appear on the employee payslip because it is for provision purposes (so that the company will be prepared for the worst case scenario ). Employees shouldn't see it on their payslips Forward-Port-Of: odoo/enterprise#21419
task-2475732 enabled adding new sign items to documents while signing them. This new flow can't be done in mobile, however a text saying that you can add fields appears even in mobile view. This PR removes the text for mobile, but leaves it for other viewports. task-2652896 Forward-Port-Of: odoo/enterprise#21033
Original PR description
task-2475732 enabled adding new sign items to documents while signing them. This new flow can't be done in mobile, however a text saying that you can add fields appears even in mobile view. This PR removes the text for mobile, but leaves it for other viewports. task-2652896 Forward-Port-Of: odoo/enterprise#21033
In task-2475732, a new flow for signing was added, allowing sign items to be added while signing. This new flow exposed a bug where the validation banner would become disabled if you added a sign item and tried to sign without filling it. This PR fixes this behavior, enabling the banner after an error in the sign process. Also, when new sign items are added, a check is done to decide if the banner should be shown or not. task-2652338 Forward-Port-Of: odoo/enterprise#21026
Original PR description
In task-2475732, a new flow for signing was added, allowing sign items to be added while signing. This new flow exposed a bug where the validation banner would become disabled if you added a sign item and tried to sign without filling it. This PR fixes this behavior, enabling the banner after an error in the sign process. Also, when new sign items are added, a check is done to decide if the banner should be shown or not. task-2652338 Forward-Port-Of: odoo/enterprise#21026