Skip to content

Conversation

@hildickethan
Copy link
Member

Migration to 17.0, based on the 16.0 version

vrenaville and others added 30 commits December 2, 2025 17:13
Currently translated at 100,0% (4 of 4 strings)

Translation: account-invoicing-11.0/account-invoicing-11.0-account_invoice_tax_required
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-11-0/account-invoicing-11-0-account_invoice_tax_required/es/
Currently translated at 100,0% (4 of 4 strings)

Translation: account-invoicing-11.0/account-invoicing-11.0-account_invoice_tax_required
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-11-0/account-invoicing-11-0-account_invoice_tax_required/de/
Using `invoice_validate` method for validating invoice, makes the call to the sequence
to be done before, and although rollbacking the transaction, the next number is already
assigned and then you may have gaps in your numbering.

Thus, we do the check before this, on the first executed method.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-invoicing-12.0/account-invoicing-12.0-account_invoice_tax_required
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-12-0/account-invoicing-12-0-account_invoice_tax_required/
oca-ci and others added 26 commits December 2, 2025 17:13
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-invoicing-16.0/account-invoicing-16.0-account_invoice_tax_required
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-16-0/account-invoicing-16-0-account_invoice_tax_required/
Currently translated at 100.0% (3 of 3 strings)

Translation: account-invoicing-16.0/account-invoicing-16.0-account_invoice_tax_required
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-16-0/account-invoicing-16-0-account_invoice_tax_required/de/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-invoicing-16.0/account-invoicing-16.0-account_invoice_tax_required
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-16-0/account-invoicing-16-0-account_invoice_tax_required/
Currently translated at 100.0% (3 of 3 strings)

Translation: account-invoicing-16.0/account-invoicing-16.0-account_invoice_tax_required
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-16-0/account-invoicing-16-0-account_invoice_tax_required/hr/
Currently translated at 100.0% (3 of 3 strings)

Translation: account-invoicing-16.0/account-invoicing-16.0-account_invoice_tax_required
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-16-0/account-invoicing-16-0-account_invoice_tax_required/es/
Currently translated at 100.0% (3 of 3 strings)

Translation: account-invoicing-16.0/account-invoicing-16.0-account_invoice_tax_required
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-16-0/account-invoicing-16-0-account_invoice_tax_required/pt_BR/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-invoicing-16.0/account-invoicing-16.0-account_invoice_tax_required
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-16-0/account-invoicing-16-0-account_invoice_tax_required/
Currently translated at 100.0% (3 of 3 strings)

Translation: account-invoicing-16.0/account-invoicing-16.0-account_invoice_tax_required
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-16-0/account-invoicing-16-0-account_invoice_tax_required/de/
- Switch to setUpClass for avoiding repeat the same setup for each test.
- Include context keys for avoiding mail operations overhead.
…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
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-invoicing-16.0/account-invoicing-16.0-account_invoice_tax_required
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-16-0/account-invoicing-16-0-account_invoice_tax_required/
… tax

The customer is included in the error message of the line containing a
product without tax and an action is added to go directly to the list of
invoices containing those lines.

In addition, the method call is changed so that it receives and checks
all the invoices instead of doing it one at a time.

TT47521
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-invoicing-16.0/account-invoicing-16.0-account_invoice_tax_required
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-16-0/account-invoicing-16-0-account_invoice_tax_required/
Currently translated at 100.0% (5 of 5 strings)

Translation: account-invoicing-16.0/account-invoicing-16.0-account_invoice_tax_required
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-16-0/account-invoicing-16-0-account_invoice_tax_required/it/
Currently translated at 100.0% (5 of 5 strings)

Translation: account-invoicing-16.0/account-invoicing-16.0-account_invoice_tax_required
Translate-URL: https://translation.odoo-community.org/projects/account-invoicing-16-0/account-invoicing-16-0-account_invoice_tax_required/sv/
@hildickethan hildickethan force-pushed the 17.0-mig-account_invoice_tax_required branch from 7f55a21 to a483c43 Compare December 2, 2025 16:23
@hildickethan hildickethan force-pushed the 17.0-mig-account_invoice_tax_required branch from a483c43 to 4aa494c Compare December 2, 2025 16:25
Copy link
Contributor

@luisDIXMIT luisDIXMIT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on runboat, LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.