From c9666d120c07a4342a29d88fb33b37d59df5572d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=80=E9=98=96=E8=BD=AF=E4=BB=B6=20Jeff=20WANG?= Date: Fri, 29 Jun 2018 11:17:20 +0800 Subject: [PATCH] =?UTF-8?q?[IMP]=E5=B1=9E=E6=80=A7=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E9=87=8C=E4=B8=8D=E6=98=BE=E7=A4=BA=E5=B1=9E=E6=80=A7=E7=B1=BB?= =?UTF-8?q?=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- goods/models/goods.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goods/models/goods.py b/goods/models/goods.py index abd371c00..877d40958 100644 --- a/goods/models/goods.py +++ b/goods/models/goods.py @@ -117,7 +117,7 @@ class Attribute(models.Model): @api.depends('value_ids') def _compute_name(self): self.name = ' '.join( - [value.category_id.name + ':' + value.value_id.name for value in self.value_ids]) + [value.value_id.name for value in self.value_ids]) @api.model def name_search(self, name='', args=None, operator='ilike', limit=100):