Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Barcodes in Odoo

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 149
    Comment on it

    Barcodes are images returned by a controller and can easily be embedded in reports thanks to the QWeb syntax:

    <img t-att-src="'/report/barcode/QR/%s' % 'My text in qr code'">
    

    If you want more parameters can be passed as a query string.

    <img t-att-src="'/report/barcode/?
        type=%s&amp;value=%s&amp;width=%s&amp;height=%s'%('QR', 'text', 200, 200)">
    

    Note-Barcodes are images returned by a controller .

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: