Browse Source

[ADD] b_pos : default customer barcode config

Override default data so as to set encoding to EAN-13.
pull/108/head
Elouan Le Bars 5 years ago
committed by Elouan Le Bars
parent
commit
44a023c4c3
  1. 2
      beesdoo_pos/__openerp__.py
  2. 7
      beesdoo_pos/data/default_barcode_pattern.xml

2
beesdoo_pos/__openerp__.py

@ -27,9 +27,9 @@
'security/ir.model.access.csv', 'security/ir.model.access.csv',
'views/beesdoo_pos.xml', 'views/beesdoo_pos.xml',
'data/email.xml', 'data/email.xml',
'data/default_barcode_pattern.xml',
'data/cron.xml', 'data/cron.xml',
], ],
'qweb': ['static/src/xml/templates.xml'], 'qweb': ['static/src/xml/templates.xml'],
# only loaded in demonstration mode # only loaded in demonstration mode
} }

7
beesdoo_pos/data/default_barcode_pattern.xml

@ -0,0 +1,7 @@
<odoo>
<data>
<record id="point_of_sale.barcode_rule_client" model="barcode.rule">
<field name="encoding">ean13</field>
</record>
</data>
</odoo>
Loading…
Cancel
Save