Saturday, May 31, 2025
1 change
Resolved issues and error corrections
This fix prevents unnecessary errors when changing a partner's commercial relationship if there are no related accounting entries to update. It keeps accountant-only safeguards in place when financial records are actually affected, while avoiding disruption for harmless partner updates.
Original PR description
commit 0a9c5fcfb9eb1b3532cd67e22b218f255f793091 introduced an automatic way to fix accounting entries when the commercial partner of a res.patrner would change. Only accountants should be doing that, but the error should be raised only if there exist some accounting entries 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