product_print_zpl_barcode: Add support for barcode generation
Add support for EAN-8 (in additional to EAN-13)
This commit is contained in:
26
product_print_zpl_barcode/data/barcode_sequence.xml
Normal file
26
product_print_zpl_barcode/data/barcode_sequence.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
|
||||
<!--
|
||||
GS1 prefixes : https://www.gs1.org/standards/id-keys/company-prefix
|
||||
200 - 299 : Used to issue GS1 Restricted Circulation Numbers
|
||||
within a geographic region (MO defined)
|
||||
21, 22 and 23 are already used by Odoo for Weight, Price & Discount barcodes
|
||||
So I use 298 by default
|
||||
Another option would to be use a small country at the other side of the world,
|
||||
for example 623 : Brunei
|
||||
-->
|
||||
<record id="private_product_barcode_seq" model="ir.sequence">
|
||||
<field name="name">Private Product Barcode</field>
|
||||
<field name="code">private.product.barcode</field>
|
||||
<field name="prefix">298</field>
|
||||
<field name="padding">9</field>
|
||||
<field name="number_next">1</field>
|
||||
<field name="company_id" eval="False"/>
|
||||
</record>
|
||||
|
||||
|
||||
</data>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user