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

When printing product module product label for the purpose of generatted barcode on each product,

there is so much waste in paper,

how can i print small size barcode label

아바타
취소
베스트 답변

In qweb u can use 

<img t-att-src="'/report/barcode/? type=%s&value=%s&width=%s&height=%s'%('EAN13', 'text', 200, 200)"/>
u can change the size in last two args..

refer this link for full details

아바타
취소
베스트 답변

The frame_height and frame_width are used to create a frame for the product label. The file is product_xsl. The page size can be set in the template tag like this:

<document> <template pageSize="(175.78,79.38)" leftMargin="0.0cm" rightMargin="0.0cm" topMargin="0.0cm" bottomMargin="0.0cm" title="Address list" author="Generated by Odoo">

The pageSize is given in DTP-point, in this case:

175.78 DTP-point = 62mm and 79.38 DTP-point = 28mm

 

아바타
취소
관련 게시물 답글 화면 활동
0
11월 24
1102
0
6월 25
1179
0
2월 25
1278
1
1월 25
1585
0
5월 24
1784