Update sales_order.py

This commit is contained in:
Nabin Hait 2016-05-26 16:54:25 +05:30
parent 1c383c3664
commit 5af737dd67

View File

@ -337,8 +337,6 @@ def make_material_request(source_name, target_doc=None):
def postprocess(source, doc):
doc.material_request_type = "Purchase"
so = frappe.get_doc("Sales Order", source_name)
doc = get_mapped_doc("Sales Order", source_name, {
"Sales Order": {
"doctype": "Material Request",
@ -352,7 +350,7 @@ def make_material_request(source_name, target_doc=None):
"parent": "sales_order",
"stock_uom": "uom"
}
}.
},
"Sales Order Item": {
"doctype": "Material Request Item",
"field_map": {