fetch organization from lead to quote
This commit is contained in:
parent
563eb9c43b
commit
7357fc1817
@ -0,0 +1,3 @@
|
|||||||
|
def execute():
|
||||||
|
import webnotes
|
||||||
|
webnotes.conn.sql("update `tabQuotation` t1, `tabLead` t2 set t1.organization = t2.company where ifnull(t1.lead, '') = '' and t1.quotation_to = 'Lead' and ifnull(t1.organization, '') = '' and t1.lead = t2.name")
|
@ -422,4 +422,9 @@ patch_list = [
|
|||||||
'patch_file': 'copy_uom_for_pur_inv_item',
|
'patch_file': 'copy_uom_for_pur_inv_item',
|
||||||
'description': 'Copy uom for pur inv item from PO and PR item table'
|
'description': 'Copy uom for pur inv item from PO and PR item table'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'patch_module': 'patches.june_2012',
|
||||||
|
'patch_file': 'fetch_organization_from_lead',
|
||||||
|
'description': 'Fetch organization from lead in quote'
|
||||||
|
},
|
||||||
]
|
]
|
Loading…
Reference in New Issue
Block a user