From 6d78f7b862cb018571835f2ffbbc9e124ec82a10 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 21 Sep 2017 15:51:42 +0530 Subject: [PATCH] Fixed indentation --- .../crm/doctype/opportunity/opportunity.py | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/erpnext/crm/doctype/opportunity/opportunity.py b/erpnext/crm/doctype/opportunity/opportunity.py index 31f74a69419..4251cae9545 100644 --- a/erpnext/crm/doctype/opportunity/opportunity.py +++ b/erpnext/crm/doctype/opportunity/opportunity.py @@ -245,26 +245,26 @@ def make_quotation(source_name, target_doc=None): return doclist - @frappe.whitelist() - def make_request_for_quotation(source_name, target_doc=None): - doclist = get_mapped_doc("Opportunity", source_name, { - "Opportunity": { - "doctype": "Request for Quotation", - "validation": { - "enquiry_type": ["=", "Sales"] - } - }, - "Opportunity Item": { - "doctype": "Request for Quotation Item", - "field_map": [ - ["name", "opportunity_item"], - ["parent", "opportunity"], - ["uom", "uom"] - ] - } - }, target_doc) - - return doclist +@frappe.whitelist() +def make_request_for_quotation(source_name, target_doc=None): + doclist = get_mapped_doc("Opportunity", source_name, { + "Opportunity": { + "doctype": "Request for Quotation", + "validation": { + "enquiry_type": ["=", "Sales"] + } + }, + "Opportunity Item": { + "doctype": "Request for Quotation Item", + "field_map": [ + ["name", "opportunity_item"], + ["parent", "opportunity"], + ["uom", "uom"] + ] + } + }, target_doc) + + return doclist @frappe.whitelist() def make_supplier_quotation(source_name, target_doc=None):