fix: Update SO via Work Order made from MR (attached to SO)

- Add SO Item reference in WO from MR (that was made from SO)
This commit is contained in:
marination 2022-02-15 12:40:39 +05:30
parent 1e9766433a
commit 18731622c4

View File

@ -533,6 +533,7 @@ def raise_work_orders(material_request):
"stock_uom": d.stock_uom,
"expected_delivery_date": d.schedule_date,
"sales_order": d.sales_order,
"sales_order_item": d.get("sales_order_item"),
"bom_no": get_item_details(d.item_code).bom_no,
"material_request": mr.name,
"material_request_item": d.name,