odoo/addons/report
Denis Ledoux 13f1426bf5 [FIX] report: UPC-A barcodes drawing
It looks like reportlab doesn't handle well
UPC-A barcodes.

As UPC-A barcodes became EAN13 barcodes when
adding a `0` to the beginning of the barcode,
and the render is the same, we ask reportlab
a EAN13 barcode type when a UPC-A barcode is asked,
making sure to add the `0` automatically first.

From Wikipedia:
```
The EAN was developed as a superset of UPC,
adding an extra digit to the beginning of every UPC number.
[...]
the original rules for UPC are treated as a '0'
if read as EAN-13.
A UPC barcode XXXXXXXXXXXX therefore is the EAN-13 barcode 0XXXXXXXXXXXX.
It is possible to prefix a UPC barcode with a 0;
they become EAN-13 rather than UPC-A.
This does not change the check digit.
All point-of-sale systems can now understand both equally.
```
opw-670560
2016-03-03 11:08:36 +01:00
..
controllers [FIX] report: UPC-A barcodes drawing 2016-03-03 11:08:36 +01:00
data [FIX] address div more to the left on external reports 2014-05-21 11:57:45 +02:00
i18n [I18N] Update translation terms from Transifex 2016-02-28 03:00:41 +01:00
models [FIX] addons: fix usage of decorators `api.v7`/`api.v8` 2016-02-09 10:01:43 +01:00
security [FIX] renamed ir.actions.report.paperformat model to report.paperformat, renamed html_skeleton to html_container in report layouts and renamed paperformat.py file to report_paperformat.py 2014-02-18 16:53:47 +01:00
static/src [IMP] report: use unminifed version reset.css 2015-04-30 15:31:48 +02:00
tests [FIX] report explicitly import tests 2014-04-22 14:21:55 +02:00
views [FIX] report: prevent overlapping of tbody rows with header part 2015-06-29 15:02:15 +02:00
__init__.py [IMP] report form view move inherited view, restore and refactor test case (kept commented atm) from non merged branch qweb-report 2014-03-07 01:06:20 +01:00
__openerp__.py [IMP] bundlify addons (except website) 2014-04-24 19:21:29 +02:00