-
-
Notifications
You must be signed in to change notification settings - Fork 722
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_net_weight #1787
Conversation
- Add new net_weight field on product models; - Rename weight field with 'Gross Weight' string;
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: product-attribute-15.0/product-attribute-15.0-product_net_weight Translate-URL: https://translation.odoo-community.org/projects/product-attribute-15-0/product-attribute-15-0-product_net_weight/
Currently translated at 88.8% (8 of 9 strings) Translation: product-attribute-15.0/product-attribute-15.0-product_net_weight Translate-URL: https://translation.odoo-community.org/projects/product-attribute-15-0/product-attribute-15-0-product_net_weight/es/
…with multiple variants
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: product-attribute-16.0/product-attribute-16.0-product_net_weight Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_net_weight/
Currently translated at 100.0% (7 of 7 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_net_weight Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_net_weight/es/
Currently translated at 100.0% (7 of 7 strings) Translation: product-attribute-16.0/product-attribute-16.0-product_net_weight Translate-URL: https://translation.odoo-community.org/projects/product-attribute-16-0/product-attribute-16-0-product_net_weight/it/
/ocabot migrate minor |
Hi @alexis-via. Your command failed:
Ocabot commands
More information
|
/ocabot migration product_net_weight |
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.
functional review
This PR has the |
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.
Little change
raise ValidationError( | ||
_("The net weight of product must be lower than gross weight.") | ||
_("The net weight of product '%s' must be lower than gross weight.") |
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.
You should use translation function arguments instead.
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.
It is not required when you have a single variable term
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.
indeed, there are no warning. Merging this...
/ocabot merge nobump |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at b9cd96e. Thanks a lot for contributing to OCA. ❤️ |
No description provided.