From 1f696a71c4e5ee45564e2329e55df31a2c3a1c26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20BEAU?= Date: Fri, 31 May 2024 10:00:33 +0200 Subject: [PATCH] product_usability: seller_id can not be store as muti-company will be broken --- product_usability/models/product_template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product_usability/models/product_template.py b/product_usability/models/product_template.py index ca8238e5..3bb13259 100644 --- a/product_usability/models/product_template.py +++ b/product_usability/models/product_template.py @@ -14,7 +14,7 @@ class ProductTemplate(models.Model): # in v10, that field was defined in procurement_suggest, but we will # probably not port procurement_suggest because it is native in v14 seller_id = fields.Many2one( - 'res.partner', related='seller_ids.name', store=True, + 'res.partner', related='seller_ids.name', string='Main Supplier') # in v14, I noticed that the tracking of the fields of product.template