OCA / l10n-france

France Localization for Odoo
GNU Affero General Public License v3.0
42 stars 114 forks source link

[16.0][IMP] vat_return: warn if draft moves are present (instead of raising an error) #523

Closed alexis-via closed 5 months ago

alexis-via commented 6 months ago

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.

alexis-via commented 6 months ago

draft_move_v2

alexis-via commented 5 months ago

/ocabot merge minor

OCA-git-bot commented 5 months ago

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.

OCA-git-bot commented 5 months ago

Congratulations, your PR was merged at a4488359b555f0198007fd5f7c09b1ffefe552f7. Thanks a lot for contributing to OCA. ❤️