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

[MIG] stock_picking_analytic: Migration to 18.0 #733

Open
wants to merge 27 commits into
base: 18.0
Choose a base branch
from

Conversation

gbrito
Copy link

@gbrito gbrito commented Jan 10, 2025

No description provided.

@gbrito
Copy link
Author

gbrito commented Jan 10, 2025

Module migrated to version 18.0

@gbrito gbrito mentioned this pull request Jan 10, 2025
11 tasks
@gbrito gbrito changed the title [18.0][MIG] stock_picking_analytic [MIG] stock_picking_analytic: Migration to 18.0 Jan 10, 2025
rousseldenis and others added 27 commits January 27, 2025 21:11
- Switch field from analytic_account_id to analytic_distribution.
- Assign a dummy search arg to move_ids_without_package field (stock.picking) to bypass
  the warning from https://github.com/odoo/odoo/blob/0f84366/odoo/fields.py#L808-L812.
- Add an invisible analytic distribution field without group assignment in the picking
  form, due to newly added check in odoo/odoo@0501bbd.
Currently translated at 100.0% (7 of 7 strings)

Translation: account-analytic-16.0/account-analytic-16.0-stock_picking_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-16-0/account-analytic-16-0-stock_picking_analytic/es/
Currently translated at 42.8% (3 of 7 strings)

Translation: account-analytic-16.0/account-analytic-16.0-stock_picking_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-16-0/account-analytic-16-0-stock_picking_analytic/pt_BR/
Currently translated at 100.0% (7 of 7 strings)

Translation: account-analytic-16.0/account-analytic-16.0-stock_picking_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-16-0/account-analytic-16-0-stock_picking_analytic/pt_BR/
Currently translated at 100.0% (7 of 7 strings)

Translation: account-analytic-16.0/account-analytic-16.0-stock_picking_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-16-0/account-analytic-16-0-stock_picking_analytic/it/
… distribution computation

Replaced the stock picking analytic distribution search and validations
with a query to improve performance when there are large amounts of
picking and move records. Also, updated test to handle a case where
there are different analytic accounts on moves related to a picking.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-analytic-17.0/account-analytic-17.0-stock_picking_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-17-0/account-analytic-17-0-stock_picking_analytic/
Currently translated at 100.0% (6 of 6 strings)

Translation: account-analytic-17.0/account-analytic-17.0-stock_picking_analytic
Translate-URL: https://translation.odoo-community.org/projects/account-analytic-17-0/account-analytic-17-0-stock_picking_analytic/it/
@gbrito gbrito force-pushed the 18.0-mig-stock_picking_analytic branch from 72a51c6 to 7a09bed Compare January 27, 2025 20:12
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.

10 participants