Hi,
I'm trying to generate a barcode with the information of the products and the customer in the order and then show it with qweb when you print the order.Anyone can help?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
I'm trying to generate a barcode with the information of the products and the customer in the order and then show it with qweb when you print the order.Anyone can help?
Dear Skurt
Try this on Qweb
<img t-if="o.name" t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s' % ('Code128', product.barcode, 350, 40)"/> |
o.name describe the sale order number. |
After that add another information if you need.. |
I hope I helped you... |
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Dec 24
|
15 | ||
|
2
Nov 24
|
477 | ||
|
1
Oct 24
|
838 | ||
|
2
Aug 24
|
332 | ||
|
3
Jul 24
|
12229 |
Do you know what a barcode is and how much and what kind of information can be coded in a barcode? What exactly do you want to achieve? The only thing I could imagine is to create a barcode from the sales order number so that the sales order could be retrieved from the database by scanning the barcode