-
-
Notifications
You must be signed in to change notification settings - Fork 497
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] product_template_multi_link #920
base: 17.0
Are you sure you want to change the base?
[17.0][MIG] product_template_multi_link #920
Conversation
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: e-commerce-13.0/e-commerce-13.0-product_template_multi_link Translate-URL: https://translation.odoo-community.org/projects/e-commerce-13-0/e-commerce-13-0-product_template_multi_link/
Although the tree view is editable, when creating link with a filter applied it is the form view that is displayed. With none defined it looks a bit messy.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: e-commerce-13.0/e-commerce-13.0-product_template_multi_link Translate-URL: https://translation.odoo-community.org/projects/e-commerce-13-0/e-commerce-13-0-product_template_multi_link/
Currently translated at 21.6% (8 of 37 strings) Translation: e-commerce-13.0/e-commerce-13.0-product_template_multi_link Translate-URL: https://translation.odoo-community.org/projects/e-commerce-13-0/e-commerce-13-0-product_template_multi_link/vi_VN/
Currently translated at 54.0% (20 of 37 strings) Translation: e-commerce-13.0/e-commerce-13.0-product_template_multi_link Translate-URL: https://translation.odoo-community.org/projects/e-commerce-13-0/e-commerce-13-0-product_template_multi_link/nl/
Currently translated at 100.0% (37 of 37 strings) Translation: e-commerce-14.0/e-commerce-14.0-product_template_multi_link Translate-URL: https://translation.odoo-community.org/projects/e-commerce-14-0/e-commerce-14-0-product_template_multi_link/es_AR/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: e-commerce-14.0/e-commerce-14.0-product_template_multi_link Translate-URL: https://translation.odoo-community.org/projects/e-commerce-14-0/e-commerce-14-0-product_template_multi_link/
Currently translated at 100.0% (52 of 52 strings) Translation: e-commerce-14.0/e-commerce-14.0-product_template_multi_link Translate-URL: https://translation.odoo-community.org/projects/e-commerce-14-0/e-commerce-14-0-product_template_multi_link/es_AR/
Currently translated at 17.3% (9 of 52 strings) Translation: e-commerce-14.0/e-commerce-14.0-product_template_multi_link Translate-URL: https://translation.odoo-community.org/projects/e-commerce-14-0/e-commerce-14-0-product_template_multi_link/it/
Currently translated at 100.0% (52 of 52 strings) Translation: e-commerce-16.0/e-commerce-16.0-product_template_multi_link Translate-URL: https://translation.odoo-community.org/projects/e-commerce-16-0/e-commerce-16-0-product_template_multi_link/es/
Currently translated at 17.3% (9 of 52 strings) Translation: e-commerce-16.0/e-commerce-16.0-product_template_multi_link Translate-URL: https://translation.odoo-community.org/projects/e-commerce-16-0/e-commerce-16-0-product_template_multi_link/it/
2b3ac77
to
3e0ff67
Compare
<field | ||
name="inverse_name" | ||
required="1" | ||
attrs="{'readonly': [('is_symmetric', '=', True)]}" | ||
/> | ||
<field name="inverse_name" required="1" invisible="is_symmetric" /> | ||
<field name="code" /> | ||
<field | ||
name="inverse_code" | ||
attrs="{'readonly': [('is_symmetric', '=', True)]}" | ||
/> | ||
<field name="inverse_code" invisible="is_symmetric" /> |
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.
@David-Luis-Mora You changed a readonly to invisible instead.
lambda l: l.right_product_tmpl_id == self.product2 | ||
lambda r: r.right_product_tmpl_id == self.product2 |
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.
@David-Luis-Mora Was this change made for any specific reason?
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.
Yes, because when I made the pre-commit it was giving me an error, so I had to make that change.
3e0ff67
to
05c2332
Compare
There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. |
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.
LG overall
""" | ||
result = super().default_get(fields_list) | ||
ctx = self.env.context | ||
active_ids = ctx.get("active_ids", ctx.get("active_id", [])) |
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.
shouldn't we favor id
instead of active_id
here as well?
Although is not clear what to do w/ active_ids
...
/ocabot migration product_template_multi_link |
No description provided.