Skip to main content

Webkit Report Barcode

Project description

.. image::
:alt: License: AGPL-3

Webkit Report Barcode

This module Add barcodes in webkit reports


To embed a barcode image in a webkit report, use ``${helper.barcode(value)}``.
Depending on template filtering, you might need to force not to use any filter
by doing ``${helper.barcode(value) | safe}``

The function is defined as:
barcode(value, code='Code128', drawOpts=None, htmlAttrs=None)

Value for barcode as expected by barcode type. Code128 takes a number or
numeric string
barcode type. ReportLab 2.5 has the following codes: Codabar, Code11,
Code128, EAN13, EAN8, Extended39, Extended93, FIM, I2of5, MSI, POSTNET, QR,
Standard39, Standard93, USPS_4State
dictionary of options for reportlab graphic. Depends on barcode type. Use
*format* to specify image format (default png), *width* to specify image
width in pixels (int), *height* to specify image height in pixels (int)
dictionary of html attributes

This module depends on reportlab and lxml, which are both part of the odoo

#. Go to ...

.. image::
:alt: Try me on Runbot

.. repo_id is available in
.. branch is "8.0" for example

Known issues / Roadmap

* ...

Bug Tracker

Bugs are tracked on `GitHub Issues
<{project_repo}/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed `feedback



* Odoo Community Association: `Icon <>`_.


* Vincent Vinet <>
* Cristian Salamea <>


.. image::
:alt: Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

To contribute to this module, please visit

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for odoo8-addon-report-webkit-barcode, version
Filename, size File type Python version Upload date Hashes
Filename, size odoo8_addon_report_webkit_barcode- (20.5 kB) File type Wheel Python version py2 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page