fix: incorrect incoming rate for serial and batch items in standalone debit note (#38121)

This commit is contained in:
s-aga-r
2023-11-18 18:48:25 +05:30
committed by GitHub
parent 39841f9edd
commit 9a34518e54

View File

@@ -87,7 +87,8 @@ class BuyingController(SubcontractingController):
"posting_date": self.get("posting_date"),
"posting_time": self.get("posting_time"),
"qty": row.qty,
"serial_and_batch_bundle": row.get("serial_and_batch_bundle"),
"serial_no": row.serial_no,
"batch_no": row.batch_no,
"company": self.company,
"voucher_type": self.doctype,
"voucher_no": self.name,