[IMP] product: product_variant_count shouldn't be editable.
closes odoo/odoo#43305 Related: odoo/enterprise#7718 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
@@ -739,7 +739,7 @@ class SupplierInfo(models.Model):
|
||||
product_tmpl_id = fields.Many2one(
|
||||
'product.template', 'Product Template', check_company=True,
|
||||
index=True, ondelete='cascade')
|
||||
product_variant_count = fields.Integer('Variant Count', related='product_tmpl_id.product_variant_count', readonly=False)
|
||||
product_variant_count = fields.Integer('Variant Count', related='product_tmpl_id.product_variant_count')
|
||||
delay = fields.Integer(
|
||||
'Delivery Lead Time', default=1, required=True,
|
||||
help="Lead time in days between the confirmation of the purchase order and the receipt of the products in your warehouse. Used by the scheduler for automatic computation of the purchase order planning.")
|
||||
|
||||
Reference in New Issue
Block a user