-
-
Notifications
You must be signed in to change notification settings - Fork 621
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
16.0 mig pos_to_weight_by_product_uom (from 12.0) #1127
16.0 mig pos_to_weight_by_product_uom (from 12.0) #1127
Conversation
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: pos-12.0/pos-12.0-pos_to_weight_by_product_uom Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_to_weight_by_product_uom/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: pos-12.0/pos-12.0-pos_to_weight_by_product_uom Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_to_weight_by_product_uom/
Currently translated at 100.0% (8 of 8 strings) Translation: pos-12.0/pos-12.0-pos_to_weight_by_product_uom Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_to_weight_by_product_uom/pt/
Currently translated at 37.5% (3 of 8 strings) Translation: pos-12.0/pos-12.0-pos_to_weight_by_product_uom Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_to_weight_by_product_uom/ca/
Currently translated at 100.0% (8 of 8 strings) Translation: pos-12.0/pos-12.0-pos_to_weight_by_product_uom Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_to_weight_by_product_uom/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: pos-12.0/pos-12.0-pos_to_weight_by_product_uom Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_to_weight_by_product_uom/
Currently translated at 100.0% (8 of 8 strings) Translation: pos-12.0/pos-12.0-pos_to_weight_by_product_uom Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_to_weight_by_product_uom/ca/
Currently translated at 100.0% (8 of 8 strings) Translation: pos-12.0/pos-12.0-pos_to_weight_by_product_uom Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_to_weight_by_product_uom/it/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: pos-12.0/pos-12.0-pos_to_weight_by_product_uom Translate-URL: https://translation.odoo-community.org/projects/pos-12-0/pos-12-0-pos_to_weight_by_product_uom/
- REM : remove various useless code (demo group, development status, etc...) - IMP : Handle create and write use cases. - ADD : Tests. - IMP : hook, to initialize 'Weight' UoM Category, and check 'to_weight' on all related product templates - REF : Rename 'to_weigh' field into 'to_weight' field, to match odoo nomenclature. - UPD : readme and screenshots
4227404
to
42d8196
Compare
/ocabot migration pos_to_weight_by_product_uom CC : @quentinDupont, @hparfr |
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
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.
Code review and functional test ✔️
This PR has the |
/ocabot merge nobump |
On my way to merge this fine PR! |
@legalsylvain your merge command was aborted due to failed check(s), which you can inspect on this commit of 16.0-ocabot-merge-pr-1127-by-legalsylvain-bump-nobump. After fixing the problem, you can re-issue a merge command. Please refrain from merging manually as it will most probably make the target branch red. |
/ocabot merge nobump |
What a great day to merge this nice PR. Let's do it! |
Congratulations, your PR was merged at 5d545ad. Thanks a lot for contributing to OCA. ❤️ |
Description
At the moment, when we create a new product and choose the unity of measure kg, we have to tick the checkbox 'To Weigh With Scale' in the Point of Sale part.
We want to speed the process of creating a new product, avoiding filling manually this parameter.
This module adds the field 'To Weigh With Scale' in UOM categories (set to false by default). If checked, all products created with a related Unit will be 'To Weigh With Scale', by default.
Configure
active settings "Allow using different units of measure" in Settings > Configuration > Sales > Quotations and Sales Orders > Product Features
During the creation of a category, tick the box 'To Weigh With Scale'.
Note: During the installation, the UoM Category 'Weight' is checked.
Usage
You're able to change this field for a specific product (in Sales tab).