Open-Alt custom theme for Frappe/ERPNext

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