Skip to content
Snippets Groups Projects
Commit 54ef19f4 authored by Arnold Moyaux's avatar Arnold Moyaux
Browse files

[FIX] base, stock, delivery: replace support datamatrix barcode printing


This reverts commit 3ebe1185.

The code ECC200DataMatrix already exist in reportlab (that is already a dependance).
Some differences:
- ECC200DataMatrix only supports a Type 12 (44x44) C40 encoded data matrix.
  (214 alphanumeric characters and 14 to 27% of error correcting rate)
- pylibdmtx support more type and add a default to 24x24. So it means a
  (52 characters and 20 to 35% error correcting rate). It's also smaller
  to display.

We consider the gain too small compare to maintain an extra lib.

It also fix blured datamatrix in stock report if they contains too much
data.

*If you want to test 001234560000000018 is a valid sscc for package

closes odoo/odoo#106457

X-original-commit: 00a85de0d43a98a91f9199ccb388140fb79be647
Related: odoo/enterprise#34354
Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
Signed-off-by: default avatarArnold Moyaux (arm) <arm@odoo.com>
parent 787ef58d
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment