Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

268 righe
6.2 KiB

  1. from __future__ import unicode_literals
  2. from frappe import _
  3. from frappe.desk.moduleview import add_setup_section
  4. def get_data():
  5. data = [
  6. {
  7. "label": _("Users"),
  8. "icon": "icon-group",
  9. "items": [
  10. {
  11. "type": "doctype",
  12. "name": "User",
  13. "description": _("System and Website Users")
  14. },
  15. {
  16. "type": "doctype",
  17. "name": "Role",
  18. "description": _("User Roles")
  19. }
  20. ]
  21. },
  22. {
  23. "label": _("Permissions"),
  24. "icon": "icon-lock",
  25. "items": [
  26. {
  27. "type": "page",
  28. "name": "permission-manager",
  29. "label": _("Role Permissions Manager"),
  30. "icon": "icon-lock",
  31. "description": _("Set Permissions on Document Types and Roles")
  32. },
  33. {
  34. "type": "page",
  35. "name": "user-permissions",
  36. "label": _("User Permissions Manager"),
  37. "icon": "icon-shield",
  38. "description": _("Set Permissions per User")
  39. },
  40. {
  41. "type": "page",
  42. "name": "modules_setup",
  43. "label": _("Show / Hide Modules"),
  44. "icon": "icon-upload",
  45. "description": _("Show or hide modules globally.")
  46. },
  47. {
  48. "type": "report",
  49. "is_query_report": True,
  50. "doctype": "User",
  51. "icon": "icon-eye-open",
  52. "name": "Permitted Documents For User",
  53. "description": _("Check which Documents are readable by a User")
  54. },
  55. {
  56. "type": "report",
  57. "doctype": "DocShare",
  58. "icon": "icon-share",
  59. "name": "Document Share Report",
  60. "description": _("Report of all document shares")
  61. }
  62. ]
  63. },
  64. {
  65. "label": _("Settings"),
  66. "icon": "icon-wrench",
  67. "items": [
  68. {
  69. "type": "doctype",
  70. "name": "System Settings",
  71. "label": _("System Settings"),
  72. "description": _("Language, Date and Time settings"),
  73. "hide_count": True
  74. },
  75. {
  76. "type": "doctype",
  77. "name": "Error Log",
  78. "description": _("Log of error on automated events (scheduler).")
  79. },
  80. {
  81. "type": "doctype",
  82. "name": "Error Snapshot",
  83. "description": _("Log of error during requests.")
  84. },
  85. ]
  86. },
  87. {
  88. "label": _("Data"),
  89. "icon": "icon-th",
  90. "items": [
  91. {
  92. "type": "page",
  93. "name": "data-import-tool",
  94. "label": _("Import / Export Data"),
  95. "icon": "icon-upload",
  96. "description": _("Import / Export Data from .csv files.")
  97. },
  98. {
  99. "type": "doctype",
  100. "name": "Naming Series",
  101. "description": _("Set numbering series for transactions."),
  102. "hide_count": True
  103. },
  104. {
  105. "type": "doctype",
  106. "name": "Rename Tool",
  107. "label": _("Bulk Rename"),
  108. "description": _("Rename many items by uploading a .csv file."),
  109. "hide_count": True
  110. },
  111. {
  112. "type": "doctype",
  113. "name": "Bulk Update",
  114. "label": _("Bulk Update"),
  115. "description": _("Update many values at one time."),
  116. "hide_count": True
  117. },
  118. {
  119. "type": "page",
  120. "name": "backups",
  121. "label": _("Download Backups"),
  122. "description": _("List of backups available for download"),
  123. "icon": "icon-download"
  124. },
  125. ]
  126. },
  127. {
  128. "label": _("Email"),
  129. "icon": "icon-envelope",
  130. "items": [
  131. {
  132. "type": "doctype",
  133. "name": "Email Account",
  134. "description": _("Add / Manage Email Accounts.")
  135. },
  136. {
  137. "type": "doctype",
  138. "name": "Email Alert",
  139. "description": _("Setup Email Alert based on various criteria.")
  140. },
  141. {
  142. "type": "doctype",
  143. "name": "Standard Reply",
  144. "description": _("Standard replies to common queries.")
  145. },
  146. {
  147. "type": "doctype",
  148. "name": "Newsletter",
  149. "description": _("Newsletters to contacts, leads."),
  150. },
  151. {
  152. "type": "doctype",
  153. "name": "Email Group",
  154. "description": _("Email Group List"),
  155. },
  156. {
  157. "type": "doctype",
  158. "name": "Auto Email Report",
  159. "description": _("Setup Reports to be emailed at regular intervals"),
  160. },
  161. ]
  162. },
  163. {
  164. "label": _("Printing"),
  165. "icon": "icon-print",
  166. "items": [
  167. {
  168. "type": "page",
  169. "label": "Print Format Builder",
  170. "name": "print-format-builder",
  171. "description": _("Drag and Drop tool to build and customize Print Formats.")
  172. },
  173. {
  174. "type": "doctype",
  175. "name": "Print Settings",
  176. "description": _("Set default format, page size, print style etc.")
  177. },
  178. {
  179. "type": "doctype",
  180. "name": "Print Format",
  181. "description": _("Customized HTML Templates for printing transactions.")
  182. },
  183. ]
  184. },
  185. {
  186. "label": _("Workflow"),
  187. "icon": "icon-random",
  188. "items": [
  189. {
  190. "type": "doctype",
  191. "name": "Workflow",
  192. "description": _("Define workflows for forms.")
  193. },
  194. {
  195. "type": "doctype",
  196. "name": "Workflow State",
  197. "description": _("States for workflow (e.g. Draft, Approved, Cancelled).")
  198. },
  199. {
  200. "type": "doctype",
  201. "name": "Workflow Action",
  202. "description": _("Actions for workflow (e.g. Approve, Cancel).")
  203. },
  204. ]
  205. },
  206. {
  207. "label": _("Integrations"),
  208. "icon": "icon-star",
  209. "items": [
  210. {
  211. "type": "page",
  212. "name": "applications",
  213. "label": _("Application Installer"),
  214. "description": _("Install Applications."),
  215. "icon": "icon-download"
  216. },
  217. {
  218. "type": "doctype",
  219. "name": "Social Login Keys",
  220. "description": _("Enter keys to enable login via Facebook, Google, GitHub."),
  221. },
  222. {
  223. "type": "doctype",
  224. "name": "Dropbox Backup",
  225. "description": _("Manage cloud backups on Dropbox"),
  226. "hide_count": True
  227. }
  228. ]
  229. },
  230. {
  231. "label": _("Customize"),
  232. "icon": "icon-glass",
  233. "items": [
  234. {
  235. "type": "doctype",
  236. "name": "Customize Form",
  237. "description": _("Change field properties (hide, readonly, permission etc.)"),
  238. "hide_count": True
  239. },
  240. {
  241. "type": "doctype",
  242. "name": "Custom Field",
  243. "description": _("Add fields to forms.")
  244. },
  245. {
  246. "type": "doctype",
  247. "label": _("Custom Translations"),
  248. "name": "Translation",
  249. "description": _("Add your own translations")
  250. },
  251. {
  252. "type": "doctype",
  253. "name": "Custom Script",
  254. "description": _("Add custom javascript to forms.")
  255. },
  256. {
  257. "type": "doctype",
  258. "name": "DocType",
  259. "description": _("Add custom forms.")
  260. }
  261. ]
  262. },
  263. ]
  264. add_setup_section(data, "frappe", "website", _("Website"), "icon-globe")
  265. return data