Skip to content

Commit

Permalink
[FIX] stock: incorrect decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
nim-odoo committed Nov 3, 2017
1 parent 084dbf9 commit e66ef45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/stock/models/stock_inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def onchange_quantity_context(self):
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)
Expand Down

0 comments on commit e66ef45

Please sign in to comment.