add barcode_generator_partner from OCA/stock-logistics-barcode/pull/536

This commit is contained in:
Luis 2025-03-03 10:16:19 +01:00
parent 8d39b937a8
commit 7c8d1e4342
27 changed files with 1581 additions and 16 deletions

View file

@ -0,0 +1,25 @@
<?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>