콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
1063 화면

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
1232
0
6월 24
2159
1
12월 23
1667
3
6월 23
3377
0
7월 21
18