|
@@ -153,7 +153,7 @@ class product_product(models.Model):
|
|
def dump(self):
|
|
def dump(self):
|
|
return {
|
|
return {
|
|
'active': self.active,
|
|
'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,
|
|
'description': self.description,
|
|
'display_name': self.display_name,
|
|
'display_name': self.display_name,
|
|
'ean13': self.ean13,
|
|
'ean13': self.ean13,
|