-
-
Notifications
You must be signed in to change notification settings - Fork 711
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
[18.0][MIG] product_sale_manufactured_for: Migration to 18.0 #1801
base: 18.0
Are you sure you want to change the base?
[18.0][MIG] product_sale_manufactured_for: Migration to 18.0 #1801
Conversation
The functionality that was before embedded into the module shopinvader_customer_special_product has been extracted into its own new module. Jira Card: BSCOS-2089
Before this change, customers that were archived couldn't be deleted from manufactured for partners.
Currently translated at 100.0% (5 of 5 strings) Translation: product-attribute-14.0/product-attribute-14.0-product_sale_manufactured_for Translate-URL: https://translation.odoo-community.org/projects/product-attribute-14-0/product-attribute-14-0-product_sale_manufactured_for/it/
Currently translated at 100.0% (5 of 5 strings) Translation: product-attribute-14.0/product-attribute-14.0-product_sale_manufactured_for Translate-URL: https://translation.odoo-community.org/projects/product-attribute-14-0/product-attribute-14-0-product_sale_manufactured_for/es/
/ocabot migration product_sale_manufactured_for |
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.
LGTM
> | ||
<!-- The domain is string, so we copy all of it, and add the new condition. --> | ||
<attribute name="domain"> | ||
[('sale_ok', '=', True), |
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.
IMHO, this is the weakness of the implementation as it could break inheritance
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.
Maybe a second field like 'product_manufactured_for_id` that will change product_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.
did you recommend some change improve this
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.
Nope, because there is no alternative for now.
But, careful, base domain has changed in v18. There is no more company criteria.
See https://github.com/odoo/odoo/blob/18.0/addons/sale/views/sale_order_views.xml#L419
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.
So now we still accept this implementation
depends:
OCA/sale-workflow#3415