Skip to content

Conversation

@jcadhoc
Copy link
Contributor

@jcadhoc jcadhoc commented Dec 23, 2025

No description provided.

Hanane ELKHAL and others added 30 commits December 22, 2025 18:59
… Stock analytic XML part is now migrated

Add logo for generic modules
- migration point, put all the modules to not installable
This module allows the user to generate analytic information from stock
moves.

- Fixed flake8 and pylint errors.
Remove sale and purchase dependency. Add test

Only assign analytic account if account != valuation acc

Changing field name account_analytic_id

Adjust to OCA latest guidelines. Add some usahe info on README
Remove remaining encoding hints.
Correct lint in test
Correct flake8 in test
Fix documentation and test_flake8
Currently translated at 100.0% (2 of 2 strings)

Translation: account-analytic-11.0/account-analytic-11.0-stock_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-11-0/account-analytic-11-0-stock_analytic/de/
Currently translated at 100.0% (2 of 2 strings)

Translation: account-analytic-12.0/account-analytic-12.0-stock_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-12-0/account-analytic-12-0-stock_analytic/pt_BR/
Currently translated at 100.0% (2 of 2 strings)

Translation: account-analytic-12.0/account-analytic-12.0-stock_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-12-0/account-analytic-12-0-stock_analytic/ca/
Currently translated at 100.0% (3 of 3 strings)

Translation: account-analytic-12.0/account-analytic-12.0-stock_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-12-0/account-analytic-12-0-stock_analytic/hr/
Currently translated at 100.0% (4 of 4 strings)

Translation: account-analytic-12.0/account-analytic-12.0-stock_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-12-0/account-analytic-12-0-stock_analytic/de/
Currently translated at 100.0% (4 of 4 strings)

Translation: account-analytic-12.0/account-analytic-12.0-stock_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-12-0/account-analytic-12-0-stock_analytic/pt/
Currently translated at 100.0% (4 of 4 strings)

Translation: account-analytic-12.0/account-analytic-12.0-stock_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-12-0/account-analytic-12-0-stock_analytic/es/
(cherry picked from commit 9255622)
mymage and others added 27 commits December 22, 2025 18:59
Currently translated at 100.0% (10 of 10 strings)

Translation: account-analytic-17.0/account-analytic-17.0-stock_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-17-0/account-analytic-17-0-stock_analytic/it/
Needed to also rename method starting with double-underscrore to
avoid Python method name mangling.
Currently translated at 100.0% (10 of 10 strings)

Translation: account-analytic-17.0/account-analytic-17.0-stock_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-17-0/account-analytic-17-0-stock_analytic/ca/
This commit fixes analytic_distribution not being passed from move to move line when updated after the move line is created.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/
Currently translated at 100.0% (10 of 10 strings)

Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/it/
Currently translated at 50.0% (5 of 10 strings)

Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/fr/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/
Currently translated at 100.0% (13 of 13 strings)

Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/it/
Currently translated at 100.0% (13 of 13 strings)

Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/tr/
Before this commit, analytic distribution would be validated only for outgoing moves,
which was not ideal in view of a module such as purchase_stock_analytic.

This commit adds more flexibility to the applicability judgment by adding the stock
picking type field to the analytic applicability model, removing the assumption of
validating outgoing moves only.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/
Currently translated at 100.0% (14 of 14 strings)

Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/it/
Currently translated at 100.0% (14 of 14 strings)

Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/es/
Currently translated at 100.0% (14 of 14 strings)

Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/tr/
Currently translated at 100.0% (14 of 14 strings)

Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/fr/
@jcadhoc jcadhoc changed the title 19.0 t 58186 jc [19.0][MIG] stock_analytic: Migration to 19.0 Dec 23, 2025
Currently translated at 100.0% (14 of 14 strings)

Translation: account-analytic-18.0/account-analytic-18.0-stock_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-18-0/account-analytic-18-0-stock_analytic/fr/
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.