fix: added sort fields for deal
This commit is contained in:
parent
e9694140d1
commit
5b10e80669
@ -6,4 +6,14 @@ from frappe.model.document import Document
|
||||
|
||||
|
||||
class CRMDeal(Document):
|
||||
pass
|
||||
@staticmethod
|
||||
def sort_options():
|
||||
return [
|
||||
{ "label": 'Created', "value": 'creation' },
|
||||
{ "label": 'Modified', "value": 'modified' },
|
||||
{ "label": 'Status', "value": 'status' },
|
||||
{ "label": 'Deal owner', "value": 'deal_owner' },
|
||||
{ "label": 'Organization', "value": 'organization' },
|
||||
{ "label": 'Email', "value": 'email' },
|
||||
{ "label": 'Mobile no', "value": 'mobile_no' },
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user