Closed alexis-via closed 5 months ago
/ocabot merge minor
On my way to merge this fine PR! Prepared branch 14.0-ocabot-merge-pr-533-by-alexis-via-bump-minor, awaiting test results.
Congratulations, your PR was merged at a284efc0cede6377ca62e78aff347b8d18a25e00. Thanks a lot for contributing to OCA. ❤️
This is a backport of v16 PR https://github.com/OCA/l10n-france/pull/523 (merged)
When draft moves where present before end_date of the VAT return, we used to raise an error. With this commit, we continue to raise an error if option 'fr_vat_update_lock_dates' is enabled on the accounting config page or if one of the draft moves is the move of the previous VAT return. Otherwise, we start a wizard that shows the draft moves and gives the choice to the user between processing the draft moves or ignoring them.