diff --git a/stock_cycle_count/models/stock_move.py b/stock_cycle_count/models/stock_move.py index 192973ff2..302810ba1 100644 --- a/stock_cycle_count/models/stock_move.py +++ b/stock_cycle_count/models/stock_move.py @@ -9,8 +9,9 @@ from openerp import api, models class StockMove(models.Model): _inherit = 'stock.move' - @api.one + @api.multi def action_done(self): super(StockMove, self).action_done() - self.location_id.check_zero_confirmation() + for move in self: + move.location_id.check_zero_confirmation() return True