From a452cef18fc466edf7cb6e25469e0e0166513e38 Mon Sep 17 00:00:00 2001 From: "Tiffany Chang (tic)" Date: Thu, 23 Sep 2021 16:22:47 +0000 Subject: [PATCH] [IMP] barcodes_gs1_nomenclature: add more volume rules Some already exist, but let's add m^3 and ft^3 as well for demo data purposes since office furniture supply stores are more likely to work with these volumes than the existing ones. Task: 2623434 ENT PR: odoo/enterprise#21179 X-original-commit: baecc0d502b111a5652e0a2d6ce29bd0fb204843 Part-of: odoo/odoo#77597 --- .../data/barcodes_gs1_rules.xml | 28 +++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/addons/barcodes_gs1_nomenclature/data/barcodes_gs1_rules.xml b/addons/barcodes_gs1_nomenclature/data/barcodes_gs1_rules.xml index cba88425348..89ff8826788 100644 --- a/addons/barcodes_gs1_nomenclature/data/barcodes_gs1_rules.xml +++ b/addons/barcodes_gs1_nomenclature/data/barcodes_gs1_rules.xml @@ -180,10 +180,22 @@ True + + Net volume, cubic metres (variable measure trade item) + + 115 + gs1-128 + (316[0-5])(\d{6}) + + quantity + measure + True + + Length or first dimension, inches (variable measure trade item) - 115 + 116 gs1-128 (321[0-5])(\d{6}) @@ -195,7 +207,7 @@ Net weight (or volume), ounces (variable measure trade item) - 116 + 117 gs1-128 (357[0-5])(\d{6}) @@ -204,6 +216,18 @@ True + + Net volume, cubic feet (variable measure trade item) + + 118 + gs1-128 + (365[0-5])(\d{6}) + + quantity + measure + True + + Package type