Browse Source

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

develop
Noah Jacob 3 years ago
committed by GitHub
parent
commit
3132dcd94a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      erpnext/stock/doctype/purchase_receipt/purchase_receipt.py

3
erpnext/stock/doctype/purchase_receipt/purchase_receipt.py

@ -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)

Loading…
Cancel
Save