Browse Source

to update new commit

robert2206 8 năm trước cách đây
mục cha
commit
a99a0156b8
2 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      models/models.py
  2. BIN
      models/models.pyc

+ 1 - 1
models/models.py

@@ -153,7 +153,7 @@ class product_product(models.Model):
     def dump(self):
         return {
             'active': self.active,
-            'alternative_product_ids': [alternative.id for alternative in self.alternative_product_ids] if alternative_product_ids else []
+            'alternative_product_ids': [alternative.id for alternative in self.alternative_product_ids] if alternative_product_ids else [],
             'description': self.description,
             'display_name': self.display_name,
             'ean13': self.ean13,

BIN
models/models.pyc