Thursday, September 13, 2018
1 change · master
Enhancements to existing features
This change prevents posted accounting entries from being moved across locked accounting periods through the API. It helps protect finalized financial records from being altered after a lock date, improving compliance and data integrity.
Original PR description
Description of the issue/feature this PR addresses: fix https://github.com/odoo/odoo/issues/26240 Current behavior before PR: can use move.date='2017-01-01' to change the date even if the lock date is set Desired behavior after PR is merged: can prevent changing posted entry date before lock period and changing posted entry(before lock date) to after lock date -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr