fix: not able to save subcontracting purchase receipt (old flow) (#39590)

This commit is contained in:
rohitwaghchaure
2024-01-27 12:00:06 +05:30
committed by GitHub
parent 4173203382
commit 67d828dab3
2 changed files with 50 additions and 1 deletions

View File

@@ -881,7 +881,9 @@ class SubcontractingController(StockController):
"posting_time": self.posting_time,
"qty": -1 * item.consumed_qty,
"voucher_detail_no": item.name,
"serial_and_batch_bundle": item.serial_and_batch_bundle,
"serial_and_batch_bundle": item.get("serial_and_batch_bundle"),
"serial_no": item.get("serial_no"),
"batch_no": item.get("batch_no"),
}
)