Closed alexis-via closed 5 months ago
/ocabot merge minor
Hey, thanks for contributing! Proceeding to merge this for you. Prepared branch 16.0-ocabot-merge-pr-523-by-alexis-via-bump-minor, awaiting test results.
Congratulations, your PR was merged at a4488359b555f0198007fd5f7c09b1ffefe552f7. Thanks a lot for contributing to OCA. ❤️
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.