Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

How to print product label with barcode as small label

By
Jamshid Chungath
on 1/8/15, 4:50 AM 1,639 views

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

0
Anand
On 1/9/15, 12:15 AM

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

0
Magilan Shiv
On 1/8/15, 9:48 PM

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

 

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 1/8/15, 4:50 AM
Seen: 1639 times
Last updated: 3/16/15, 8:10 AM