mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[9.0][FIX] Solves issue when doing picking with several moves.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user