Skip to content

Conversation

victoralmau
Copy link
Member

@victoralmau victoralmau commented Sep 2, 2025

Migration to 18.0

Please @carlos-lopez-tecnativa and @juancarlosonate-tecnativa can you review it?

@Tecnativa TT57844

@victoralmau
Copy link
Member Author

Ping @carlos-lopez-tecnativa can you review CI error https://github.com/OCA/account-analytic/actions/runs/17397712587/job/49383312241?pr=827#step:8:417 related to account_analytic_distribution_manual?

@victoralmau victoralmau force-pushed the 18.0-mig-sale_analytic_tag branch from d85d53f to 27e10d2 Compare September 2, 2025 09:32
Copy link

@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 and LGTM!!

@carlos-lopez-tecnativa
Copy link
Contributor

Ping @carlos-lopez-tecnativa can you review CI error https://github.com/OCA/account-analytic/actions/runs/17397712587/job/49383312241?pr=827#step:8:417 related to account_analytic_distribution_manual?

This should be resolved in #828

victoralmau and others added 6 commits September 2, 2025 13:44
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
@victoralmau victoralmau force-pushed the 18.0-mig-sale_analytic_tag branch from 27e10d2 to f05e172 Compare September 2, 2025 11:44
Copy link
Contributor

@carlos-lopez-tecnativa carlos-lopez-tecnativa left a comment

Choose a reason for hiding this comment

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

LGTM

@pedrobaeza
Copy link
Member

/ocabot migration sale_analytic_tag
/ocabot merge nobump

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Sep 2, 2025
@OCA-git-bot
Copy link
Contributor

On my way to merge this fine PR!
Prepared branch 18.0-ocabot-merge-pr-827-by-pedrobaeza-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot mentioned this pull request Sep 2, 2025
15 tasks
@OCA-git-bot OCA-git-bot merged commit 5cfa09c into OCA:18.0 Sep 2, 2025
7 checks passed
@OCA-git-bot
Copy link
Contributor

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

@pedrobaeza pedrobaeza deleted the 18.0-mig-sale_analytic_tag branch September 2, 2025 13:57
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.

7 participants