Skip to content
Snippets Groups Projects
Commit 9c496321 authored by Antoine Dupuis (andu)'s avatar Antoine Dupuis (andu)
Browse files

[FIX] account: automatic entry wizard: avoid clashes with lock dates


Currently, if you use the automatic entry wizard to change the period of
a journal item dated prior to the lock date, you'll just get blocked
with a UserError, with no workaround.

This commit changes the date of the adjustment entry to be the first end
of month after the lock date. As a result, the adjustment entry can be
created.

Based on PR #92439

closes odoo/odoo#121566

Taskid: 2823170
Signed-off-by: default avatarWilliam André (wan) <wan@odoo.com>
parent 5b35915d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment