Daily updates from Odoo
Friday, January 12, 2024
2 changes
Code cleanup and technical improvements
Mexican electronic invoicing addenda are now managed through a dedicated, easier-to-use configuration instead of a generic technical view selection. Businesses can set a default addenda on customers and override it per invoice, improving usability, performance, and permission control.
Original PR description
The user had to choose ir.ui.view in a Many2one field on the partner which was not very user friendly and caused 1) some performance issues 2) impossibility to set correct correct security permissions Instead of this approach we create a dedicated model for addenda and a many2one field on the partner to access them. We also switch some standard addendas that were demo data to regular data. For now we have: Bosh, Autozone. We also add the possibily to set the addenda per invoice, whose default will be taken from the partner. This settings is now in the Other Info tab. We also add list/form view for accessing the addenda in the Accounting Setting tab. Remove the l10n_mx_edi_addenda_doc that is unused. task-id: 2969591
The payroll integration formerly tied to Australia is being renamed and generalized for Employment Hero, allowing it to support additional countries such as Singapore and Malaysia. Companies can now keep separate API settings, and clearer error messages should make setup and troubleshooting easier.
Original PR description
Keypay, now called Employment Hero, is not limited to Australia but also supports Singapore, Malaysia,... This task will: - remove dependencies to Australia, to make it usable with other localisation. - Rename the module and all references to keypay and au in order to keep the module clean for future use. - Implement better error messages when the api returns one. - Render the api key, and url company specific to support using two different API on two separate companies. Task id # 2925767