From 4c4e18091b09d0191f141ac34fb7460ed118c01a Mon Sep 17 00:00:00 2001 From: svs-odoo Date: Wed, 11 Jan 2023 08:21:12 +0000 Subject: [PATCH] [IMP] barcodes: remove rule name size limit task-3076044 Part-of: odoo/odoo#109511 --- addons/barcodes/models/barcode_rule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/barcodes/models/barcode_rule.py b/addons/barcodes/models/barcode_rule.py index 4fe4fc0cd69..6394769f462 100644 --- a/addons/barcodes/models/barcode_rule.py +++ b/addons/barcodes/models/barcode_rule.py @@ -9,7 +9,7 @@ class BarcodeRule(models.Model): _description = 'Barcode Rule' _order = 'sequence asc, id' - name = fields.Char(string='Rule Name', size=32, required=True, help='An internal identification for this barcode nomenclature rule') + name = fields.Char(string='Rule Name', required=True, help='An internal identification for this barcode nomenclature rule') barcode_nomenclature_id = fields.Many2one('barcode.nomenclature', string='Barcode Nomenclature') sequence = fields.Integer(string='Sequence', help='Used to order rules such that rules with a smaller sequence match first') encoding = fields.Selection(