Daily updates from Odoo
Friday, October 18, 2024
2 changes · master
Code cleanup and technical improvements
This internal cleanup makes Point of Sale records keep their related information in sync automatically when values are changed. It reduces the chance of developer mistakes and supports more reliable behavior across localized POS features such as Chilean and Ecuadorian electronic invoicing and due settlement.
Original PR description
In this commit, we are now instantiating a record as a Proxy that traps the setter. When setting a value for a certain key on a record, we call the `update` internally to ensure that related records are linked. This means that developers are no longer required to use `record.update` to apply changes on a record, they can just set the value as if the record is a normal object. Community: https://github.com/odoo/odoo/pull/184108
US payroll state tax calculation functionality has been consolidated into the main US payroll module. This simplifies maintenance and keeps payroll configuration in one place without changing the business purpose of the feature.
Original PR description
The module l10n_us_hr_payroll_state_calculation was added in 17.0. In master, it needs to be merged to l10n_us_hr_payroll. Task: 4191924