Skip to content

Conversation

@cristina-hidalgo-tecnativa

victoralmau and others added 5 commits January 16, 2026 12:51
TT42276

[UPD] Update sale_analytic_tag.pot

[BOT] post-merge updates
Translated using Weblate (Italian)

Currently translated at 100.0% (2 of 2 strings)

Translation: account-analytic-16.0/account-analytic-16.0-sale_analytic_tag
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-16-0/account-analytic-16-0-sale_analytic_tag/it/
Since odoo/odoo@d0342c8, the default existing company is not getting a
CoA automatically, provoking than the current tests fail with the error:

odoo.exceptions.UserError: No journal could be found in company My Company (San Francisco) for any of those types: sale

Thus, we put tests post-install for being sure localization modules are
installed, the same as AccountTestInvoicingCommon does, but we don't
inherit from it, as it creates an overhead creating 2 new companies and
loading their CoA and some more stuff, while we don't need all of that.

Besides, if you don't have `l10n_generic_coa` installed, you can't use
another CoA (like `l10n_es`) easily, so we put little code to select the
first available CoA.

[BOT] post-merge updates
[UPD] Update sale_analytic_tag.pot

[BOT] post-merge updates
@cristina-hidalgo-tecnativa cristina-hidalgo-tecnativa marked this pull request as draft January 16, 2026 12:56
@cristina-hidalgo-tecnativa cristina-hidalgo-tecnativa marked this pull request as ready for review January 16, 2026 13:41
@pedrobaeza
Copy link
Member

/ocabot migration sale_analytic_tag

Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

You can squash administrative commits into the one that generates them:

Image

https://github.com/OCA/maintainer-tools/wiki/Merge-commits-in-pull-requests

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.

5 participants