fix: Lead and customer dashboard fixes

This commit is contained in:
deepeshgarg007
2019-05-14 14:57:22 +05:30
parent 569815b5ad
commit cfd18d4e03
2 changed files with 10 additions and 4 deletions

View File

@@ -5,8 +5,11 @@ def get_data():
return {
'fieldname': 'lead',
'non_standard_fieldnames': {
'Quotation': 'customer_name',
'Opportunity': 'customer_name'
'Quotation': 'party_name',
'Opportunity': 'party_name'
},
'dynamic_links': {
'party_name': ['Lead', 'quotation_to']
},
'transactions': [
{

View File

@@ -7,8 +7,11 @@ def get_data():
'heatmap_message': _('This is based on transactions against this Customer. See timeline below for details'),
'fieldname': 'customer',
'non_standard_fieldnames': {
'Quotation': 'customer_name',
'Opportunity': 'customer_name'
'Quotation': 'party_name',
'Opportunity': 'party_name'
},
'dynamic_links': {
'party_name': ['Customer', 'quotation_to']
},
'transactions': [
{