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

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
937
0
6月 25
1026
0
2月 25
1123
1
1月 25
1414
0
5月 24
1647