跳至內容
選單
此問題已被標幟
2 回覆
932 瀏覽次數

I have a barcode made of 31 characters, I need to read only the last 11 that indicate the product I want to scan, how can I do that? I have tried setting up new rules but there is not much documentation on barcode patterns

Thanks to all

頭像
捨棄
作者 最佳答案

is it possible to make the GS1 Barcode (product) read a code like this 3-DGAI0800-?

頭像
捨棄
最佳答案

Hi,

You can do this using Python. below is an example of this.


barcode = "thisisalongstringthatyouwanttoshorten"

product_code = barcode[-11:]


Hope it helps

頭像
捨棄
作者

hello,
thanks for the reply, is there any way to edit the code on an online version of odoo?
otherwise as a solution i am trying to use GS1 nomenclature, question, are GS1 pattern rules editable at will?

相關帖文 回覆 瀏覽次數 活動
0
9月 24
1028
0
6月 24
1944
1
12月 23
1441
3
6月 23
3186
0
7月 21
18