Skip to Content
Menu
This question has been flagged
1 Reply
1898 Views

Hello all,

I'm trying to configure 2 types of EAN-13 barcodes for my weight scales. I sell products by weight and by quantity. The pattern that is use is liked this:

3 digits for prefix number to indicated if the product if weighted o by quantity.

4 digits for the Product code

5 digits for weight (NN,DDD) or quantity (NNNNN)

 

I create 2 items in the barcode nomenclature as follow:

Product by weight-Z pattern 225...{NNDDD}   type weighted product

Product by quantity pattern 220....{NNNNN}  type quantity

 

If I input the barcode 2251203003468 I get the result that is expected, where 225 is the prefix 1203 the code product and 00346 are the weight 3.46. This works fine, and the product is founded in the PDV.

 

If I input the barcode 2202103000101, the PDV did not find the products, give me an error that the product does not exist.

On the other hand, if I change the type from ”quantity” to “unit product”, the PDV did find the product but it add 1 unit. No matter what the value in the {NNNNN} it always add 1un.

 

Does anyone have this same problem?

What I’m doing wrong?

I don’t want to input the quantity by hand, I need to do it by the barcode.

Any help?

 

I use Odoo 16, enterprise version on cloud.

Thanks.


Avatar
Discard
Author Best Answer

Well, I found a solutions, but I think that there is bug in Odoo. Also the type "quantity" is not documented in the official webpage. The solutions was use type weighted product for parser the quantity...

create 2 items in the barcode nomenclature as follow:

Product by weight-Z pattern 225...{NNDDD}   type weighted product

Product by quantity pattern 220....{NNNNN}   type weighted product


Avatar
Discard
Related Posts Replies Views Activity
0
Feb 25
523
0
Dec 24
45
0
Dec 24
436
1
Oct 24
1478
2
Aug 24
985