mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
moved directory structure
This commit is contained in:
4
patches/june_2012/fetch_organization_from_lead.py
Normal file
4
patches/june_2012/fetch_organization_from_lead.py
Normal file
@@ -0,0 +1,4 @@
|
||||
from __future__ import unicode_literals
|
||||
def execute():
|
||||
import webnotes
|
||||
webnotes.conn.sql("update `tabQuotation` t1, `tabLead` t2 set t1.organization = t2.company_name where ifnull(t1.lead, '') != '' and t1.quotation_to = 'Lead' and ifnull(t1.organization, '') = '' and t1.lead = t2.name")
|
||||
Reference in New Issue
Block a user