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

This commit is contained in:
Noah Jacob 2021-10-05 14:40:40 +05:30 committed by GitHub
parent aa0698078f
commit 3132dcd94a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -842,7 +842,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)