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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user