fix: batch_no not mapped from PR to Stock Entry (#27804)

(cherry picked from commit 9613af6c4e)

Co-authored-by: Noah Jacob <noahjacobkurian@gmail.com>
This commit is contained in:
mergify[bot]
2021-10-05 14:39:36 +05:30
committed by GitHub
parent 2cfafede44
commit 7e018f94ce

View File

@@ -803,7 +803,8 @@ def make_stock_entry(source_name,target_doc=None):
"doctype": "Stock Entry Detail",
"field_map": {
"warehouse": "s_warehouse",
"parent": "reference_purchase_receipt"
"parent": "reference_purchase_receipt",
"batch_no": "batch_no"
},
},
}, target_doc, set_missing_values)