-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #491 from frappe/develop
- Loading branch information
Showing
21 changed files
with
466 additions
and
118 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
{ | ||
"actions": [], | ||
"allow_rename": 1, | ||
"creation": "2024-12-27 17:42:33.089685", | ||
"doctype": "DocType", | ||
"engine": "InnoDB", | ||
"field_order": [ | ||
"name1", | ||
"label", | ||
"type", | ||
"route", | ||
"open_in_new_window", | ||
"hidden", | ||
"is_standard", | ||
"column_break_mvbq", | ||
"icon" | ||
], | ||
"fields": [ | ||
{ | ||
"fieldname": "label", | ||
"fieldtype": "Data", | ||
"in_list_view": 1, | ||
"label": "Label", | ||
"mandatory_depends_on": "eval:doc.type == 'Route'" | ||
}, | ||
{ | ||
"fieldname": "type", | ||
"fieldtype": "Select", | ||
"in_list_view": 1, | ||
"label": "Type", | ||
"options": "Route\nSeparator", | ||
"read_only_depends_on": "eval:doc.is_standard" | ||
}, | ||
{ | ||
"depends_on": "eval:doc.type == 'Route'", | ||
"fieldname": "route", | ||
"fieldtype": "Data", | ||
"in_list_view": 1, | ||
"label": "Route", | ||
"mandatory_depends_on": "eval:doc.type == 'Route'" | ||
}, | ||
{ | ||
"default": "0", | ||
"fieldname": "hidden", | ||
"fieldtype": "Check", | ||
"in_list_view": 1, | ||
"label": "Hidden" | ||
}, | ||
{ | ||
"default": "0", | ||
"fieldname": "is_standard", | ||
"fieldtype": "Check", | ||
"label": "Is Standard", | ||
"read_only": 1 | ||
}, | ||
{ | ||
"fieldname": "column_break_mvbq", | ||
"fieldtype": "Column Break" | ||
}, | ||
{ | ||
"description": "Add svg code or use feather icons e.g 'settings'", | ||
"fieldname": "icon", | ||
"fieldtype": "Code", | ||
"label": "Icon" | ||
}, | ||
{ | ||
"default": "1", | ||
"depends_on": "eval:doc.type == 'Route'", | ||
"fieldname": "open_in_new_window", | ||
"fieldtype": "Check", | ||
"label": "Open in new window" | ||
}, | ||
{ | ||
"depends_on": "eval:doc.is_standard", | ||
"fieldname": "name1", | ||
"fieldtype": "Data", | ||
"label": "Name", | ||
"read_only": 1, | ||
"unique": 1 | ||
} | ||
], | ||
"index_web_pages_for_search": 1, | ||
"istable": 1, | ||
"links": [], | ||
"modified": "2024-12-27 19:35:53.012508", | ||
"modified_by": "Administrator", | ||
"module": "FCRM", | ||
"name": "CRM Dropdown Item", | ||
"owner": "Administrator", | ||
"permissions": [], | ||
"sort_field": "creation", | ||
"sort_order": "DESC", | ||
"states": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Copyright (c) 2024, Frappe Technologies Pvt. Ltd. and contributors | ||
# For license information, please see license.txt | ||
|
||
# import frappe | ||
from frappe.model.document import Document | ||
|
||
|
||
class CRMDropdownItem(Document): | ||
pass |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.