-
-
Notifications
You must be signed in to change notification settings - Fork 338
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] stock_barcodes_gs1: Migration to version 16.0 #634
base: 16.0
Are you sure you want to change the base?
Conversation
try the AI 240 'Additional product identification assigned by the manufacturer'
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: stock-logistics-barcode-11.0/stock-logistics-barcode-11.0-stock_barcodes_gs1 Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-barcode-11-0/stock-logistics-barcode-11-0-stock_barcodes_gs1/
If not, you got an error.
* Do not replace the quantity if a package is readed, we should multiply it * Use the product barcode as a packaging barcode if no packaging barcode has been read and no product has been found
* Auto create lot controlled from barcode options. * Check required options before processing. * Reduce complexity of `process_barcode` and enhance extensibility of package barcode processing. * More extensibility on product_qty handling. * Align new lot wizard with barcodes read one by adding support to AI 240
…ad of action_done
… GS1 barcodes. Better process of AI's
…readed as 3103 AI
…erial is included in barcode TT48256
…nded by other modules
…ackaging set in wizard TT49631
…ct_qty only if product_uom_categ_kgm TT49953
288840d
to
8c82a66
Compare
You can add the temporary reference to the dependent PR. /ocabot migration stock_barcodes_gs1 |
Done |
I don't see the temporary commit: https://github.com/OCA/maintainer-tools/wiki/Use-temporary-reference(s)-to-another-pull-request(s) Please also squash administrative commits: https://github.com/OCA/maintainer-tools/wiki/Merge-commits-in-pull-requests |
8c82a66
to
621be5b
Compare
@@ -7,5 +7,6 @@ class BarcodeNomenclature(models.Model): | |||
def parse_gs1_rule_pattern(self, match, rule): | |||
# Allow use weight ai as units directly for products with unit category uom | |||
result = super().parse_gs1_rule_pattern(match, rule) | |||
result["use_weight_as_unit"] = True if rule.use_weight_as_unit else False | |||
if result: | |||
result["use_weight_as_unit"] = True if rule.use_weight_as_unit else False |
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.
result["use_weight_as_unit"] = bool(rule.use_weight_as_unit)
cc @Tecnativa TT47630
ping @carlosdauden @CarlosRoca13
Depends on: