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,12 @@
# Copyright (C) 2014-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).
from odoo import fields, models
class BarcodeRule(models.Model):
_inherit = "barcode.rule"
generate_model = fields.Selection(selection_add=[("res.partner", "Partners")])