-
-
Notifications
You must be signed in to change notification settings - Fork 363
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
[17.0][mig] stock_picking_analytic #628
Conversation
…in depends + tests
- 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/
<xpath expr="//field[@name='name']" position="after"> | ||
<field | ||
name="analytic_distribution" | ||
readonly="state in ('done', 'cancel')" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line should be removed:
readonly="state in ('done', 'cancel')" |
<xpath | ||
expr="//notebook/page[@name='detailed_operations'] | ||
/field[@name='move_line_ids_without_package']" | ||
position="attributes" | ||
> | ||
<attribute name="context" operation="update"> | ||
{"default_analytic_distribution": analytic_distribution} | ||
</attribute> | ||
</xpath> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This part gives error when installing the module. Should it be removed?
<xpath | |
expr="//notebook/page[@name='detailed_operations'] | |
/field[@name='move_line_ids_without_package']" | |
position="attributes" | |
> | |
<attribute name="context" operation="update"> | |
{"default_analytic_distribution": analytic_distribution} | |
</attribute> | |
</xpath> |
cece7c0
to
23cd87e
Compare
/ocabot migrate stock_picking_analytic |
Hi @dreispt. Your command failed:
Ocabot commands
More information
|
/ocabot migration stock_picking_analytic |
Any update @Wodran14 ? |
It's just a warning, but I get:
Does it have something to do with this?
|
Superseded by #628 |
No description provided.