Monday, June 22, 2020
4 changes · master
Resolved issues and error corrections
Employee private addresses in demo data are now correctly marked as private, matching real privacy expectations. Related accounting and expense flows were adjusted so authorized billing users can still process payments without crashes when those private addresses are used.
Original PR description
we make the field address _home_id private address instead of regular contact for Mitchell admin and Mark demo.Due to that lots of business flows could crash because it is not visible to the demo data.We fix the flows on which errors could occur. LINKS PR #46628 TaskID: 2170016
This pull request adjusts behavior and tests across accounting, point of sale, sales, and localization areas. The changes appear to improve reliability around payments, bank details, invoices, and related workflows, helping reduce errors in day-to-day financial operations.
Original PR description
Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Employee demo records for Marc/Mitchell now use private addresses where appropriate, preventing business flows and tests from failing when private address visibility rules apply. This keeps Belgian salary contract and payroll accounting demo scenarios aligned with expected HR privacy behavior.
Original PR description
In this commit, we make the field address _home_id private address instead of regular contact for Mitchell admin and Mark demo.Due to that lots of business flows could crash because it is not visible to the demo data.We fix the flows on which errors could occur. LINKS PR #8924 TaskID: 2170016
Several Odoo Enterprise workflows now handle multiple selected records correctly instead of only working reliably on one record at a time. This reduces the risk of errors or incorrect results in areas such as assets, payroll, inter-company rules, manufacturing, quality, subscriptions, and local invoicing.
Original PR description
Wrong usage of self in for loops makes some apparently multi-friendly methods not work correctly when called with a recordset of len > 1. This commit replaces those references by the correct unique record reference which should be used at this iteration of the loop, avoiding potential exceptions or wrong behavior in the concerned methods. Enterprise followup of https://github.com/odoo/odoo/pull/53320