mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[FIX] stock_quant_merge: Fixes #109
This commit is contained in:
committed by
Cyril Gaudin
parent
d41cd6037f
commit
4a32d721ea
@@ -28,7 +28,7 @@ class StockQuant(models.Model):
|
||||
pending_quants = self.browse(self.ids)
|
||||
for quant2merge in self.filtered(lambda x: not x.reservation_id):
|
||||
if quant2merge in pending_quants:
|
||||
quants = self.search(self._mergeable_domain())
|
||||
quants = self.search(quant2merge._mergeable_domain())
|
||||
cont = 1
|
||||
cost = quant2merge.cost
|
||||
for quant in quants:
|
||||
|
||||
Reference in New Issue
Block a user