Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: EAN 13 pattern with barcodes_generator_product

by
Sicurpharma Srl, Francesco Foresti
- 25/10/2023 18:58:38
Thanks David, this works!

I'll add that to module documentation. 

Cheers!

Il giorno mer 25 ott 2023 alle ore 18:52 David Vidal <notifications@odoo-community.org> ha scritto:
You don't really need the variable stuff (which is a bit misleading IMO). You should be fine with a pattern like "8069235....." your merchant code + 5 secuential digits (the control digit is generated automatically by the EAN13 rule)

El mié, 25 oct 2023 a las 18:36, Francesco Foresti (<notifications@odoo-community.org>) escribió:
Hi,

I'm trying to use https://github.com/OCA/stock-logistics-barcode/tree/14.0/barcodes_generator_product to generate barcodes using GS1 barcodes purchased by customer. 

I see in the readme the example:

For example, a typical pattern for products is "20.....{NNNDD}" that means that: * the EAN13 code will begin by '20' * followed by 5 digits (named Barcode Base in this module) * and after 5 others digits to define the variable price * a 13 digit control

The pattern I'd like to implement is 8069235 + 5 digits provided by barcode base + 1 check digit. 

How does this translate in the format from the example ("20.....{NNNDD}")? Does any one have any reference guide for this?

Thanks!

--

Francesco Foresti
Sicurpharma Srl

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe



--

Francesco Foresti
Sicurpharma Srl
+39 333 8123 790

Reference