|
@@ -0,0 +1,197 @@
|
|
1
|
+from . import __version__ as app_version
|
|
2
|
+
|
|
3
|
+app_name = "business_theme_v14"
|
|
4
|
+app_title = "Business Theme V14"
|
|
5
|
+app_publisher = "Midocean Technologies Pvt Ltd"
|
|
6
|
+app_description = "Business Theme for ERPNext / Frappe"
|
|
7
|
+app_icon = "octicon octicon-file-directory"
|
|
8
|
+app_color = "grey"
|
|
9
|
+app_email = "sagar@midocean.tech"
|
|
10
|
+app_license = "MIT"
|
|
11
|
+
|
|
12
|
+# Includes in <head>
|
|
13
|
+# ------------------
|
|
14
|
+
|
|
15
|
+# include js, css files in header of desk.html
|
|
16
|
+# app_include_css = "/assets/business_theme_v14/css/business_theme_v14.css"
|
|
17
|
+# app_include_js = "/assets/business_theme_v14/js/business_theme_v14.js"
|
|
18
|
+
|
|
19
|
+# include js, css files in header of web template
|
|
20
|
+# web_include_css = "/assets/business_theme_v14/css/business_theme_v14.css"
|
|
21
|
+# web_include_js = "/assets/business_theme_v14/js/business_theme_v14.js"
|
|
22
|
+
|
|
23
|
+# include custom scss in every website theme (without file extension ".scss")
|
|
24
|
+# website_theme_scss = "business_theme_v14/public/scss/website"
|
|
25
|
+
|
|
26
|
+# include js, css files in header of web form
|
|
27
|
+# webform_include_js = {"doctype": "public/js/doctype.js"}
|
|
28
|
+# webform_include_css = {"doctype": "public/css/doctype.css"}
|
|
29
|
+
|
|
30
|
+# include js in page
|
|
31
|
+# page_js = {"page" : "public/js/file.js"}
|
|
32
|
+
|
|
33
|
+# include js in doctype views
|
|
34
|
+# doctype_js = {"doctype" : "public/js/doctype.js"}
|
|
35
|
+# doctype_list_js = {"doctype" : "public/js/doctype_list.js"}
|
|
36
|
+# doctype_tree_js = {"doctype" : "public/js/doctype_tree.js"}
|
|
37
|
+# doctype_calendar_js = {"doctype" : "public/js/doctype_calendar.js"}
|
|
38
|
+
|
|
39
|
+# Home Pages
|
|
40
|
+# ----------
|
|
41
|
+
|
|
42
|
+# application home page (will override Website Settings)
|
|
43
|
+# home_page = "login"
|
|
44
|
+
|
|
45
|
+# website user home page (by Role)
|
|
46
|
+# role_home_page = {
|
|
47
|
+# "Role": "home_page"
|
|
48
|
+# }
|
|
49
|
+
|
|
50
|
+# Generators
|
|
51
|
+# ----------
|
|
52
|
+
|
|
53
|
+# automatically create page for each record of this doctype
|
|
54
|
+# website_generators = ["Web Page"]
|
|
55
|
+
|
|
56
|
+# Jinja
|
|
57
|
+# ----------
|
|
58
|
+
|
|
59
|
+# add methods and filters to jinja environment
|
|
60
|
+# jinja = {
|
|
61
|
+# "methods": "business_theme_v14.utils.jinja_methods",
|
|
62
|
+# "filters": "business_theme_v14.utils.jinja_filters"
|
|
63
|
+# }
|
|
64
|
+
|
|
65
|
+# Installation
|
|
66
|
+# ------------
|
|
67
|
+
|
|
68
|
+# before_install = "business_theme_v14.install.before_install"
|
|
69
|
+# after_install = "business_theme_v14.install.after_install"
|
|
70
|
+
|
|
71
|
+# Uninstallation
|
|
72
|
+# ------------
|
|
73
|
+
|
|
74
|
+# before_uninstall = "business_theme_v14.uninstall.before_uninstall"
|
|
75
|
+# after_uninstall = "business_theme_v14.uninstall.after_uninstall"
|
|
76
|
+
|
|
77
|
+# Desk Notifications
|
|
78
|
+# ------------------
|
|
79
|
+# See frappe.core.notifications.get_notification_config
|
|
80
|
+
|
|
81
|
+# notification_config = "business_theme_v14.notifications.get_notification_config"
|
|
82
|
+
|
|
83
|
+# Permissions
|
|
84
|
+# -----------
|
|
85
|
+# Permissions evaluated in scripted ways
|
|
86
|
+
|
|
87
|
+# permission_query_conditions = {
|
|
88
|
+# "Event": "frappe.desk.doctype.event.event.get_permission_query_conditions",
|
|
89
|
+# }
|
|
90
|
+#
|
|
91
|
+# has_permission = {
|
|
92
|
+# "Event": "frappe.desk.doctype.event.event.has_permission",
|
|
93
|
+# }
|
|
94
|
+
|
|
95
|
+# DocType Class
|
|
96
|
+# ---------------
|
|
97
|
+# Override standard doctype classes
|
|
98
|
+
|
|
99
|
+# override_doctype_class = {
|
|
100
|
+# "ToDo": "custom_app.overrides.CustomToDo"
|
|
101
|
+# }
|
|
102
|
+
|
|
103
|
+# Document Events
|
|
104
|
+# ---------------
|
|
105
|
+# Hook on document methods and events
|
|
106
|
+
|
|
107
|
+# doc_events = {
|
|
108
|
+# "*": {
|
|
109
|
+# "on_update": "method",
|
|
110
|
+# "on_cancel": "method",
|
|
111
|
+# "on_trash": "method"
|
|
112
|
+# }
|
|
113
|
+# }
|
|
114
|
+
|
|
115
|
+# Scheduled Tasks
|
|
116
|
+# ---------------
|
|
117
|
+
|
|
118
|
+# scheduler_events = {
|
|
119
|
+# "all": [
|
|
120
|
+# "business_theme_v14.tasks.all"
|
|
121
|
+# ],
|
|
122
|
+# "daily": [
|
|
123
|
+# "business_theme_v14.tasks.daily"
|
|
124
|
+# ],
|
|
125
|
+# "hourly": [
|
|
126
|
+# "business_theme_v14.tasks.hourly"
|
|
127
|
+# ],
|
|
128
|
+# "weekly": [
|
|
129
|
+# "business_theme_v14.tasks.weekly"
|
|
130
|
+# ],
|
|
131
|
+# "monthly": [
|
|
132
|
+# "business_theme_v14.tasks.monthly"
|
|
133
|
+# ],
|
|
134
|
+# }
|
|
135
|
+
|
|
136
|
+# Testing
|
|
137
|
+# -------
|
|
138
|
+
|
|
139
|
+# before_tests = "business_theme_v14.install.before_tests"
|
|
140
|
+
|
|
141
|
+# Overriding Methods
|
|
142
|
+# ------------------------------
|
|
143
|
+#
|
|
144
|
+# override_whitelisted_methods = {
|
|
145
|
+# "frappe.desk.doctype.event.event.get_events": "business_theme_v14.event.get_events"
|
|
146
|
+# }
|
|
147
|
+#
|
|
148
|
+# each overriding function accepts a `data` argument;
|
|
149
|
+# generated from the base implementation of the doctype dashboard,
|
|
150
|
+# along with any modifications made in other Frappe apps
|
|
151
|
+# override_doctype_dashboards = {
|
|
152
|
+# "Task": "business_theme_v14.task.get_dashboard_data"
|
|
153
|
+# }
|
|
154
|
+
|
|
155
|
+# exempt linked doctypes from being automatically cancelled
|
|
156
|
+#
|
|
157
|
+# auto_cancel_exempted_doctypes = ["Auto Repeat"]
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+# User Data Protection
|
|
161
|
+# --------------------
|
|
162
|
+
|
|
163
|
+# user_data_fields = [
|
|
164
|
+# {
|
|
165
|
+# "doctype": "{doctype_1}",
|
|
166
|
+# "filter_by": "{filter_by}",
|
|
167
|
+# "redact_fields": ["{field_1}", "{field_2}"],
|
|
168
|
+# "partial": 1,
|
|
169
|
+# },
|
|
170
|
+# {
|
|
171
|
+# "doctype": "{doctype_2}",
|
|
172
|
+# "filter_by": "{filter_by}",
|
|
173
|
+# "partial": 1,
|
|
174
|
+# },
|
|
175
|
+# {
|
|
176
|
+# "doctype": "{doctype_3}",
|
|
177
|
+# "strict": False,
|
|
178
|
+# },
|
|
179
|
+# {
|
|
180
|
+# "doctype": "{doctype_4}"
|
|
181
|
+# }
|
|
182
|
+# ]
|
|
183
|
+
|
|
184
|
+# Authentication and authorization
|
|
185
|
+# --------------------------------
|
|
186
|
+
|
|
187
|
+# auth_hooks = [
|
|
188
|
+# "business_theme_v14.auth.validate"
|
|
189
|
+# ]
|
|
190
|
+
|
|
191
|
+# Translation
|
|
192
|
+# --------------------------------
|
|
193
|
+
|
|
194
|
+# Make link fields search translated document names for these DocTypes
|
|
195
|
+# Recommended only for DocTypes which have limited documents with untranslated names
|
|
196
|
+# For example: Role, Gender, etc.
|
|
197
|
+# translated_search_doctypes = []
|