Revert "[FIX] stock : traceback pivot view for stock moves"
This reverts commit834b38a84d. It also reverts003328ec82that improved the sorted.
This commit is contained in:
committed by
Thibault Delavallée
parent
d84657813d
commit
4613455d45
@@ -76,7 +76,7 @@ class ProductAttributevalue(models.Model):
|
||||
|
||||
@api.multi
|
||||
def _variant_name(self, variable_attributes):
|
||||
return ", ".join([v.name for v in self.sorted(key=lambda r: r.attribute_id.name) if v.attribute_id in variable_attributes])
|
||||
return ", ".join([v.name for v in self if v.attribute_id in variable_attributes])
|
||||
|
||||
|
||||
class ProductAttributePrice(models.Model):
|
||||
|
||||
Reference in New Issue
Block a user