Monday, December 16, 2024
3 changes · saas-17.4
Resolved issues and error corrections
This fix ensures that when a cashier changes the payment on an order, the backend reflects the final payment lines accurately. It prevents mismatches between what staff validate at checkout and what is recorded in the system, improving order and payment reliability.
Original PR description
Before this commit, if you added a payment line to an order and synced it to the server, then added some items and removed the payment line to add a new one, the payment line wasn't removed from the backend. This caused the order to have different payment lines from what the user validated. This commit ensures that payment lines are correctly synced and updated in the backend. opw-4257663 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This fix prevents duplicate tracking records from being created during industry or module upgrades when files are marked as excluded from code counts. It helps upgrades complete reliably and better distinguishes records that may share the same identifier across modules.
Original PR description
Backport of #188693 When upgrading an industry, the records originating from a file listed in `cloc_exclude` entry of the manifest generate an entry in `ir_model_data` with the module `__cloc_exclude__`. When upgrading the module, it tries to create a second time the same entries, raising the unicity constrain. This commit fixes the issue by creating only new `ir_model_data` entries. It also changes the name to better distinguish different modules, who can share same id. opw-4339886 opw-4274755
This fix prevents conflicts when installing more than one industry package in the same SaaS database. Businesses can now add additional industry solutions without failed installations caused by duplicate setup records.
Original PR description
Steps: - Create a DB with industry addons (SaaS) - Install one industry (bike_leasing) - Install a second industry (industry_real_estate) Actual result: - External ID conflict - Constraint violation: ir_model_data_module_name_uniq_index Expected result: - No conflict second industry is installed opw-4264625 opw-4273891 Caused-By: #178190 and https://github.com/odoo/industry/commit/cbeab117a90bc92ea3dfab58973c1931afc73cbd --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr