fix: consider batch_no when getting incoming rate
This commit is contained in:
committed by
Ankush Menat
parent
683ef8a603
commit
5718777a2b
@@ -279,7 +279,8 @@ class BuyingController(StockController, Subcontracting):
|
|||||||
"posting_date": self.posting_date,
|
"posting_date": self.posting_date,
|
||||||
"posting_time": self.posting_time,
|
"posting_time": self.posting_time,
|
||||||
"qty": -1 * d.consumed_qty,
|
"qty": -1 * d.consumed_qty,
|
||||||
"serial_no": d.serial_no
|
"serial_no": d.serial_no,
|
||||||
|
"batch_no": d.batch_no,
|
||||||
})
|
})
|
||||||
|
|
||||||
if rate > 0:
|
if rate > 0:
|
||||||
|
|||||||
Reference in New Issue
Block a user