addons-cm/barcode_generator_partner/demo/barcode_rule.xml

25 lines
938 B
XML

<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright (C) 2016-Today: GRAP (http://www.grap.coop)
Copyright (C) 2016-Today La Louve (http://www.lalouve.net)
@author Sylvain LE GAL (https://twitter.com/legalsylvain)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<odoo>
<record id="partner_generated_barcode" model="barcode.rule">
<field name="name">Partner Rule (Generated Barcode)</field>
<field
name="barcode_nomenclature_id"
ref="barcodes.default_barcode_nomenclature"
/>
<field name="type">client</field>
<field name="sequence">998</field>
<field name="encoding">ean13</field>
<field name="pattern">042.........</field>
<field name="generate_type" eval="'sequence'" />
<field name="generate_model" eval="'res.partner'" />
<field name="sequence_id" ref="partner_ir_sequence" />
</record>
</odoo>