Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

160 linhas
4.4 KiB

  1. # -*- coding: utf-8 -*-
  2. from __future__ import unicode_literals
  3. from . import __version__ as app_version
  4. app_name = "restaurant_management"
  5. app_title = "Restaurant"
  6. app_publisher = "Quantum Bit Core"
  7. app_description = "Restaurant"
  8. app_icon = "octicon octicon-file-directory"
  9. app_color = "grey"
  10. app_email = "qubitcore.io@gmail.com"
  11. app_license = "MIT"
  12. source_link = "https://github.com/joepa37/restaurant_management"
  13. doc_events = {
  14. "POS Profile": {
  15. "on_create": "restaurant_management.restaurant_management.page.restaurant_manage.restaurant_manage.set_settings_data",
  16. "on_update": "restaurant_management.restaurant_management.page.restaurant_manage.restaurant_manage.set_settings_data"
  17. },
  18. "POS Profile User": {
  19. "on_create": "restaurant_management.restaurant_management.page.restaurant_manage.restaurant_manage.set_settings_data",
  20. "on_update": "restaurant_management.restaurant_management.page.restaurant_manage.restaurant_manage.set_settings_data"
  21. },
  22. }
  23. after_migrate = "restaurant_management.setup.install.after_install"
  24. after_install = "restaurant_management.setup.install.after_install"
  25. # Includes in <head>
  26. # ------------------
  27. # include js, css files in header of desk.html
  28. # app_include_css = "/assets/{app_name}/css/{app_name}.css"
  29. app_include_js = [
  30. '/assets/restaurant_management/js/clusterize.min.js',
  31. '/assets/restaurant_management/js/interact.min.js',
  32. '/assets/restaurant_management/js/drag.js',
  33. '/assets/restaurant_management/js/RM.helper.js',
  34. '/assets/restaurant_management/js/object-manage.js'
  35. ]
  36. # include js, css files in header of web template
  37. # web_include_css = "/assets/{app_name}/css/{app_name}.css"
  38. # web_include_js = "/assets/{app_name}/js/{app_name}.js"
  39. # include js, css files in header of web form
  40. # webform_include_js = {"doctype": "public/js/doctype.js"}
  41. # webform_include_css = {"doctype": "public/css/doctype.css"}
  42. # include js in page
  43. # page_js = {"page" : "public/js/file.js"}
  44. # include js in doctype views
  45. # doctype_js = {{"doctype" : "public/js/doctype.js"}}
  46. # doctype_list_js = {{"doctype" : "public/js/doctype_list.js"}}
  47. # doctype_tree_js = {{"doctype" : "public/js/doctype_tree.js"}}
  48. # doctype_calendar_js = {{"doctype" : "public/js/doctype_calendar.js"}}
  49. # Home Pages
  50. # ----------
  51. # application home page (will override Website Settings)
  52. # home_page = "login"
  53. # website user home page (by Role)
  54. # role_home_page = {{
  55. # "Role": "home_page"
  56. # }}
  57. # Website user home page (by function)
  58. # get_website_user_home_page = "{app_name}.utils.get_home_page"
  59. # Generators
  60. # ----------
  61. # automatically create page for each record of this doctype
  62. # website_generators = ["Web Page"]
  63. # Installation
  64. # ------------
  65. # before_install = "{app_name}.install.before_install"
  66. # after_install = "{app_name}.install.after_install"
  67. # Desk Notifications
  68. # ------------------
  69. # See influxframework.core.notifications.get_notification_config
  70. # notification_config = "{app_name}.notifications.get_notification_config"
  71. # Permissions
  72. # -----------
  73. # Permissions evaluated in scripted ways
  74. # permission_query_conditions = {{
  75. # "Event": "influxframework.desk.doctype.event.event.get_permission_query_conditions",
  76. # }}
  77. #
  78. # has_permission = {{
  79. # "Event": "influxframework.desk.doctype.event.event.has_permission",
  80. # }}
  81. # Document Events
  82. # ---------------
  83. # Hook on document methods and events
  84. # doc_events = {{
  85. # "*": {{
  86. # "on_update": "method",
  87. # "on_cancel": "method",
  88. # "on_trash": "method"
  89. # }}
  90. # }}
  91. # Scheduled Tasks
  92. # ---------------
  93. # scheduler_events = {{
  94. # "all": [
  95. # "{app_name}.tasks.all"
  96. # ],
  97. # "daily": [
  98. # "{app_name}.tasks.daily"
  99. # ],
  100. # "hourly": [
  101. # "{app_name}.tasks.hourly"
  102. # ],
  103. # "weekly": [
  104. # "{app_name}.tasks.weekly"
  105. # ]
  106. # "monthly": [
  107. # "{app_name}.tasks.monthly"
  108. # ]
  109. # }}
  110. # Testing
  111. # -------
  112. # before_tests = "{app_name}.install.before_tests"
  113. # Overriding Methods
  114. # ------------------------------
  115. #
  116. # override_whitelisted_methods = {{
  117. # "influxframework.desk.doctype.event.event.get_events": "{app_name}.event.get_events"
  118. # }}
  119. #
  120. # each overriding function accepts a `data` argument;
  121. # generated from the base implementation of the doctype dashboard,
  122. # along with any modifications made in other InfluxFramework apps
  123. # override_doctype_dashboards = {{
  124. # "Task": "{app_name}.task.get_dashboard_data"
  125. # }}
  126. # exempt linked doctypes from being automatically cancelled
  127. #
  128. # auto_cancel_exempted_doctypes = ["Auto Repeat"]