Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][IMP+FIX] account_invoice_tax_required: Don't bypass restriction on mass validation + better message #1643

Conversation

pedrobaeza
Copy link
Member

Forward-port of #1642

If you use the action in the invoice list for doing mass validation, the restriction about taxes required is bypassed. That's because the mass validation wizard is not calling action_post, but directly _post. It includes a regression test.

A second commit improves the message, indicating the affected invoice.

@Tecnativa TT47059

…validation

If you use the action in the invoice list for doing mass validation, the
restriction about taxes required is bypassed. That's because the mass
validation wizard is not calling `action_post`, but directly `_post`.

TT47059
…blem

If doing mass validation, and a missing tax error appears, you don't
know on which invoice is the problem, so let's improve the message for
indicating it.

PO files + translations have been adapted as well for smoother
transition and avoid extra work by the translators.

TT47059
@pedrobaeza
Copy link
Member Author

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 16.0-ocabot-merge-pr-1643-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit c724a3b into OCA:16.0 Jan 12, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

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

@pedrobaeza pedrobaeza deleted the 16.0-fix-account_invoice_tax_required-mass_validation branch January 12, 2024 07:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants