[FIX] stock: incorrect decorator

This commit is contained in:
Nicolas Martinelli
2017-11-03 08:57:27 +01:00
parent be7927d629
commit 0e7f3be6b6
+1 -1
View File
@@ -373,7 +373,7 @@ class InventoryLine(models.Model):
self._compute_theoretical_qty()
self.product_qty = self.theoretical_qty
@api.model
@api.multi
def write(self, values):
values.pop('product_name', False)
res = super(InventoryLine, self).write(values)