From 647eaad8d101928af7dc03abd732c97ec71b8019 Mon Sep 17 00:00:00 2001 From: Carlos Roca Date: Thu, 30 Apr 2026 14:05:31 +0200 Subject: [PATCH] [IMP] product_sequence: default_code shouldn't be mandatory Since there is already a module that makes the field mandatory, such as product_code_mandatory, adding this requirement at the database level, in my opinion, goes beyond the scope of this module. --- product_sequence/models/product_product.py | 1 - 1 file changed, 1 deletion(-) diff --git a/product_sequence/models/product_product.py b/product_sequence/models/product_product.py index 4e700d08d3f..0597a344bbf 100644 --- a/product_sequence/models/product_product.py +++ b/product_sequence/models/product_product.py @@ -11,7 +11,6 @@ class ProductProduct(models.Model): _inherit = "product.product" default_code = fields.Char( - required=True, default="/", tracking=True, help="Set to '/' and save if you want a new internal reference "