[FIX] stock: incorrect decorator

This commit is contained in:
Nicolas Martinelli
2017-11-03 09:54:30 +01:00
parent 084dbf9b8f
commit e66ef451c9
+1 -1
View File
@@ -364,7 +364,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)