Browse Source

[ADD] b_pos : default customer barcode config

Override default data so as to set encoding to EAN-13.
pull/128/head
Elouan Le Bars 5 years ago
committed by Rémy Taymans
parent
commit
2e545ba44c
  1. 2
      beesdoo_pos/__manifest__.py
  2. 7
      beesdoo_pos/data/default_barcode_pattern.xml

2
beesdoo_pos/__manifest__.py

@ -26,9 +26,9 @@
'security/ir.model.access.csv',
'views/beesdoo_pos.xml',
'data/email.xml',
'data/default_barcode_pattern.xml',
'data/cron.xml',
],
'qweb': ['static/src/xml/templates.xml'],
# 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