From c73383c34c4843746abf02505af73481c3ae1bc3 Mon Sep 17 00:00:00 2001 From: AravindPranera Date: Fri, 15 Sep 2017 10:34:21 +0530 Subject: [PATCH] Trailing whitespace in Line 207 and 276 --- erpnext/crm/doctype/opportunity/opportunity.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/erpnext/crm/doctype/opportunity/opportunity.py b/erpnext/crm/doctype/opportunity/opportunity.py index da0ade7043..7b052a6759 100644 --- a/erpnext/crm/doctype/opportunity/opportunity.py +++ b/erpnext/crm/doctype/opportunity/opportunity.py @@ -187,7 +187,7 @@ def get_item_details(item_code): @frappe.whitelist() def make_request_for_quotation(source_name, target_doc=None): - doclist = get_mapped_doc("Opportunity", source_name, { + doclist = get_mapped_doc("Opportunity", source_name, { "Opportunity": { "doctype": "Request for Quotation", "validation": { @@ -204,7 +204,7 @@ def make_request_for_quotation(source_name, target_doc=None): } }, target_doc) - return doclist + return doclist @frappe.whitelist() def make_quotation(source_name, target_doc=None): @@ -258,7 +258,6 @@ def make_quotation(source_name, target_doc=None): @frappe.whitelist() def make_supplier_quotation(source_name, target_doc=None): - frappe.msgprint("python"); doclist = get_mapped_doc("Opportunity", source_name, { "Opportunity": { "doctype": "Supplier Quotation", @@ -276,8 +275,6 @@ def make_supplier_quotation(source_name, target_doc=None): return doclist - - @frappe.whitelist() def set_multiple_status(names, status): names = json.loads(names)