| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/webkit-tools |
| GIT | |
| GIT | https://github.com/OCA/webkit-tools.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/webkit-tools/tree/8.0/report_webkit_barcode |
| VERSION | |
| VERSION | 1.0.0 |
| CATEGORY | |
| CATEGORY | Reports/Webkit |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Savoir-faire Linux |
| MAINTAINERS | |
| MAINTAINERS | Savoir-faire Linux |
| COMMITTERS | |
| COMMITTERS | GitHub, Cristian Salamea, OCA-git-bot |
| WEBSITE | |
| WEBSITE | http://www.savoirfairelinux.com |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:11:28 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - report_webkit - base - report - web |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION | |
No views found for this module.
No models found for this module.
| REPOSITORY | |
|---|---|
| REPOSITORY | OCA/webkit-tools |
| GIT | |
| GIT | https://github.com/OCA/webkit-tools.git |
| GIT FOLDER | |
| GIT FOLDER | https://github.com/OCA/webkit-tools/tree/7.0/report_webkit_barcode |
| VERSION | |
| VERSION | 0.1 |
| CATEGORY | |
| CATEGORY | Reports/Webkit |
| LICENSE | |
| LICENSE | AGPL-3 |
| APPLICATION | |
| APPLICATION | No |
| AUTO-INSTALLABLE | |
| AUTO-INSTALLABLE | No |
| AUTHORS | |
| AUTHORS | Odoo Community Association (OCA), Savoir-faire Linux |
| MAINTAINERS | |
| MAINTAINERS | Savoir-faire Linux |
| COMMITTERS | |
| COMMITTERS | Alexandre Fayolle, Vincent Vinet |
| WEBSITE | |
| WEBSITE | http://www.savoirfairelinux.com |
| LAST TRACKING UPDATE | |
| LAST TRACKING UPDATE | 2026-07-06 00:07:17 |
| ODOO DEPENDENCIES | |
| ODOO DEPENDENCIES |
odoo/odoo: - report_webkit - base |
| PYTHON DEPENDENCIES | |
| PYTHON DEPENDENCIES | Not have |
| SYSTEM DEPENDENCIES | |
| SYSTEM DEPENDENCIES | Not have |
| DESCRIPTION | |
| DESCRIPTION |
Add barcodes in webkit reports
==============================
Usage
-----
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) | u}``
The function is defined as:
barcode(value, code='Code128', drawOpts=None, htmlAttrs=None)
Parameters
---------
value
Value for barcode as expected by barcode type. Code128 takes a number or
numeric string
code
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
drawOpts
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)
htmlAttrs
dictionary of html attributes
Requirements
------------
This module depends on reportlab and lxml, which are both part of the odoo
installation.
Contributors
------------
* Vincent Vinet (vincent.vinet@savoirfairelinux.com)
|
No views found for this module.
No models found for this module.