Webkit Report Barcode

report_webkit_barcode
REPOSITORY
REPOSITORYOCA/webkit-tools
GIT
GIThttps://github.com/OCA/webkit-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/webkit-tools/tree/8.0/report_webkit_barcode
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYReports/Webkit
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Savoir-faire Linux
MAINTAINERS
MAINTAINERSSavoir-faire Linux
COMMITTERS
COMMITTERSGitHub, Cristian Salamea, OCA-git-bot
WEBSITE
WEBSITEhttp://www.savoirfairelinux.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-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

Code Analysis

Views touched (0)

No views found for this module.

Models touched (0)

No models found for this module.

REPOSITORY
REPOSITORYOCA/webkit-tools
GIT
GIThttps://github.com/OCA/webkit-tools.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/webkit-tools/tree/7.0/report_webkit_barcode
VERSION
VERSION 0.1
CATEGORY
CATEGORYReports/Webkit
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Savoir-faire Linux
MAINTAINERS
MAINTAINERSSavoir-faire Linux
COMMITTERS
COMMITTERSAlexandre Fayolle, Vincent Vinet
WEBSITE
WEBSITEhttp://www.savoirfairelinux.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-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)

Code Analysis

Views touched (0)

No views found for this module.

Models touched (0)

No models found for this module.