コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2140 ビュー

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.


アバター
破棄
著作者 最善の回答

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


アバター
破棄
関連投稿 返信 ビュー 活動
0
2月 25
961
0
12月 24
46
0
12月 24
826
1
10月 24
2130
2
8月 24
1395