mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 00:44:45 +00:00
Update set_missing_title_for_quotation.py
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import frappe
|
import frappe
|
||||||
|
|
||||||
def execute():
|
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('''
|
frappe.db.sql('''
|
||||||
update tabQuotation, tabCustomer
|
update tabQuotation, tabCustomer
|
||||||
set
|
set
|
||||||
@@ -13,7 +13,7 @@ def execute():
|
|||||||
and tabQuotation.quotation_to = 'Customer'
|
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('''
|
frappe.db.sql('''
|
||||||
update tabQuotation, tabLead
|
update tabQuotation, tabLead
|
||||||
|
|||||||
Reference in New Issue
Block a user