浏览代码

to update new commit

robert2206 8 年之前
父节点
当前提交
a99a0156b8
共有 2 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      models/models.py
  2. 二进制
      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,

二进制
models/models.pyc