Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
- Barcodes are images returned by a controller
- Quite easy thanks to the Qweb syntax
<img t-att-src="'/report/barcode/QR/%s' % 'My text in qr code'"/>
- More parameters can be passed as a query string
<img t-att-src="'/report/barcode/?type=%s&value=%s&width=%s&height=%s'%('QR', 'text', 200, 200)"/>
'Codabar', 'Code11', 'Code128', 'EAN13', 'EAN8', 'Extended39', 'Extended93', 'FIM', 'I2of5', 'MSI', 'POSTNET', 'QR', 'Standard39', 'Standard93', 'UPCA', 'USPS_4State'
From OpenDays 2014 presentation by Simon Lejeune.
See a live demonstration on: demo.odoo.com/report/barcode/Code128/AZWERTY
The way you mentioned is fine for a single barcode image to be inserted in the report but what to do if we want to add a dynamic barcode and image for every new order ?
I need to do that for the purpose of scanning a customer order in a tailor shop when he comes to collect his order. When a customer comes, he take a reciept of his order and then when he come back to collect the completed order after a mentioned time, then we should be able to search the order through barcode scanner. For that every order must have a unique barcode.
About This Community
This platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 2/5/15, 6:54 AM|
|Seen: 8716 times|
|Last updated: 8/17/17, 3:11 AM|