Trailing whitespace in Line 207 and 276

This commit is contained in:
AravindPranera 2017-09-15 10:34:21 +05:30 committed by GitHub
parent 764bb30d2d
commit c73383c34c

View File

@ -187,7 +187,7 @@ def get_item_details(item_code):
@frappe.whitelist() @frappe.whitelist()
def make_request_for_quotation(source_name, target_doc=None): 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": { "Opportunity": {
"doctype": "Request for Quotation", "doctype": "Request for Quotation",
"validation": { "validation": {
@ -204,7 +204,7 @@ def make_request_for_quotation(source_name, target_doc=None):
} }
}, target_doc) }, target_doc)
return doclist return doclist
@frappe.whitelist() @frappe.whitelist()
def make_quotation(source_name, target_doc=None): def make_quotation(source_name, target_doc=None):
@ -258,7 +258,6 @@ def make_quotation(source_name, target_doc=None):
@frappe.whitelist() @frappe.whitelist()
def make_supplier_quotation(source_name, target_doc=None): def make_supplier_quotation(source_name, target_doc=None):
frappe.msgprint("python");
doclist = get_mapped_doc("Opportunity", source_name, { doclist = get_mapped_doc("Opportunity", source_name, {
"Opportunity": { "Opportunity": {
"doctype": "Supplier Quotation", "doctype": "Supplier Quotation",
@ -276,8 +275,6 @@ def make_supplier_quotation(source_name, target_doc=None):
return doclist return doclist
@frappe.whitelist() @frappe.whitelist()
def set_multiple_status(names, status): def set_multiple_status(names, status):
names = json.loads(names) names = json.loads(names)