Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
928 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

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


barcode = "thisisalongstringthatyouwanttoshorten"

product_code = barcode[-11:]


Hope it helps

Ảnh đại diện
Huỷ bỏ
Tác giả

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?

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 9 24
1026
0
thg 6 24
1943
1
thg 12 23
1439
3
thg 6 23
3184
0
thg 7 21
18