diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2019-05-08 09:02:45 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2019-05-08 09:02:45 +0000 |
| commit | 6ff5498fc079f713519acaa8bde9d916491f379d (patch) | |
| tree | ee25c12084c0eea4e6fb776ac6317567a65856e1 /doc/reference | |
| parent | f89d2f35992aead639a7f933141de1a5e2ad3879 (diff) | |
[FIX] base: barcode fallback
- Set a product barcode to a 8 letters value, e.g. 'AAAAAAAA'
- Print 'Product Barcode (PDF)' (or any other report containing the
barcode)
The barcode doesn't print.
All templates assume that:
- a 13 characters barcode is EAN13
- a 8 characters barcode is EAN8
But this assumption is too restrictive: one could want to generate
barcodes with such length without following the EAN13 or EAN8 structure.
We fall back on Code128 when the barcode generation fails.
Backport of 06cfdbaab8d7620c03aab75433a9c83ce068166d
opw-1981988
closes odoo/odoo#33240
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'doc/reference')
0 files changed, 0 insertions, 0 deletions
