Monday, September 9, 2024
3 changes · saas-17.1
Resolved issues and error corrections
This update prevents an error from appearing when opening Accounting settings for Mexican localization in certain database replica setups. It adjusts when the settings view is changed so users can access the page reliably without triggering a read-only failure.
Original PR description
To reproduce: - Launch Odoo instance with the option --db_replica_host='' - Install l10n_mx - access Settings > Accounting - You'll get the error in the log The Issue During testing, attempting to modify a field's state using the 'get_views' function, which is marked as read-only, results in a read-only error. The Fix: To resolve this, apply changes only when we are not in test mode and ensure the view is initially imported as inactive. runbot-60422
Demo employee records in Sale Timesheet now get their own dedicated customer contacts instead of being linked to incorrect existing contacts. Related loyalty point-of-sale tests were adjusted so test customers continue to appear correctly after the demo data change.
Original PR description
The employees created in the demo data (see https://github.com/odoo/odoo/pull/108795) of sale_timesheet were linked to the wrong partners, we then create new partners dedicated to those new employees. version-17.1 task-3874828 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
A basic automated check was added for the UAE payroll module to confirm payslips can be created without errors. This helps reduce the risk of payroll rule issues going unnoticed in future updates.
Original PR description
Before this commit, no test were set in that l10n. This commit adds a very basic configuration for tests and creates a payslip to ensure that no rule create a traceback.