From 75b63c5b4c8587d9832d5a5baf52b602b84236f5 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 2 May 2019 16:00:49 +0530 Subject: [PATCH] Update set_missing_title_for_quotation.py --- erpnext/patches/v11_1/set_missing_title_for_quotation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/patches/v11_1/set_missing_title_for_quotation.py b/erpnext/patches/v11_1/set_missing_title_for_quotation.py index 659edabc365..e86b8320c31 100644 --- a/erpnext/patches/v11_1/set_missing_title_for_quotation.py +++ b/erpnext/patches/v11_1/set_missing_title_for_quotation.py @@ -1,7 +1,7 @@ import frappe def execute(): - '''update customer_name from Customer document if quotation_to is set to Customer ''' + # update customer_name from Customer document if quotation_to is set to Customer frappe.db.sql(''' update tabQuotation, tabCustomer set @@ -13,7 +13,7 @@ def execute(): and tabQuotation.quotation_to = 'Customer' ''') - '''update customer_name from Lead document if quotation_to is set to Lead ''' + # update customer_name from Lead document if quotation_to is set to Lead frappe.db.sql(''' update tabQuotation, tabLead