fix: added lead source in deal
This commit is contained in:
parent
54b0bc4e5b
commit
649eae9f3a
@ -26,6 +26,7 @@
|
|||||||
"section_break_eepu",
|
"section_break_eepu",
|
||||||
"lead",
|
"lead",
|
||||||
"column_break_bqvs",
|
"column_break_bqvs",
|
||||||
|
"source",
|
||||||
"sla_tab",
|
"sla_tab",
|
||||||
"sla",
|
"sla",
|
||||||
"sla_creation",
|
"sla_creation",
|
||||||
@ -216,11 +217,17 @@
|
|||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"label": "Territory",
|
"label": "Territory",
|
||||||
"read_only": 1
|
"read_only": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "source",
|
||||||
|
"fieldtype": "Link",
|
||||||
|
"label": "Source",
|
||||||
|
"options": "CRM Lead Source"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"index_web_pages_for_search": 1,
|
"index_web_pages_for_search": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2024-01-04 18:58:55.295874",
|
"modified": "2024-01-04 20:02:23.823826",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "FCRM",
|
"module": "FCRM",
|
||||||
"name": "CRM Deal",
|
"name": "CRM Deal",
|
||||||
|
|||||||
@ -143,6 +143,7 @@ class CRMLead(Document):
|
|||||||
"lead": self.name,
|
"lead": self.name,
|
||||||
"organization": self.organization,
|
"organization": self.organization,
|
||||||
"deal_owner": self.lead_owner,
|
"deal_owner": self.lead_owner,
|
||||||
|
"source": self.source,
|
||||||
"contacts": [{"contact": contact}],
|
"contacts": [{"contact": contact}],
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user