fix: not able to submit subcontracting receipt (backport #41041) (#41045)

fix: not able to submit subcontracting receipt (#41041)

(cherry picked from commit 5b1493b56c)

Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>
This commit is contained in:
mergify[bot]
2024-04-17 06:37:38 +05:30
committed by GitHub
parent 40d059c7c1
commit b27ad76557

View File

@@ -722,6 +722,7 @@ def make_purchase_receipt(source_name, target_doc=None, save=False, submit=False
"purchase_order": item.purchase_order,
"purchase_order_item": item.purchase_order_item,
"subcontracting_receipt_item": item.name,
"project": po_item.project,
}
target_doc.append("items", item_row)