fix: consider batch_no when getting incoming rate

This commit is contained in:
Ankush Menat 2022-02-19 18:36:16 +05:30 committed by Ankush Menat
parent 683ef8a603
commit 5718777a2b

View File

@ -279,7 +279,8 @@ class BuyingController(StockController, Subcontracting):
"posting_date": self.posting_date,
"posting_time": self.posting_time,
"qty": -1 * d.consumed_qty,
"serial_no": d.serial_no
"serial_no": d.serial_no,
"batch_no": d.batch_no,
})
if rate > 0: