mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
Multiple reservations can now be released at once. This fixes issue #50.
This commit is contained in:
committed by
Carlos Roca
parent
f010264146
commit
4af4228c0c
@@ -132,8 +132,9 @@ class StockReservation(models.Model):
|
||||
"""
|
||||
Release moves from reservation
|
||||
"""
|
||||
move_recs = self.move_id
|
||||
move_recs.action_cancel()
|
||||
for rec in self:
|
||||
move_recs = rec.move_id
|
||||
move_recs.action_cancel()
|
||||
return True
|
||||
|
||||
@api.model
|
||||
|
||||
Reference in New Issue
Block a user