__manifest__.py 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. # -*- coding: utf-8 -*-
  2. {
  3. 'name': 'Live Chat',
  4. 'version': '1.0',
  5. 'sequence': 210,
  6. 'summary': 'Chat with your website visitors',
  7. 'category': 'Website/Live Chat',
  8. 'website': 'https://www.odoo.com/app/live-chat',
  9. 'description':
  10. """
  11. Live Chat Support
  12. ==========================
  13. Allow to drop instant messaging widgets on any web page that will communicate
  14. with the current server and dispatch visitors request amongst several live
  15. chat operators.
  16. Help your customers with this chat, and analyse their feedback.
  17. """,
  18. 'data': [
  19. "security/im_livechat_channel_security.xml",
  20. "security/ir.model.access.csv",
  21. "data/mail_shortcode_data.xml",
  22. "data/mail_templates.xml",
  23. "data/im_livechat_channel_data.xml",
  24. "data/im_livechat_chatbot_data.xml",
  25. 'data/digest_data.xml',
  26. 'views/chatbot_script_answer_views.xml',
  27. 'views/chatbot_script_step_views.xml',
  28. 'views/chatbot_script_views.xml',
  29. "views/rating_rating_views.xml",
  30. "views/mail_channel_views.xml",
  31. "views/im_livechat_channel_views.xml",
  32. "views/im_livechat_channel_templates.xml",
  33. "views/im_livechat_chatbot_templates.xml",
  34. "views/res_users_views.xml",
  35. "views/digest_views.xml",
  36. "report/im_livechat_report_channel_views.xml",
  37. "report/im_livechat_report_operator_views.xml"
  38. ],
  39. 'demo': [
  40. "data/im_livechat_channel_demo.xml",
  41. 'data/mail_shortcode_demo.xml',
  42. ],
  43. 'depends': ["mail", "rating", "digest", "utm"],
  44. 'installable': True,
  45. 'application': True,
  46. 'assets': {
  47. 'mail.assets_discuss_public': [
  48. 'im_livechat/static/src/components/*/*',
  49. ],
  50. 'web.assets_frontend': [
  51. ('include', 'im_livechat.assets_public_livechat'),
  52. 'im_livechat/static/src/public/main.js',
  53. 'im_livechat/static/src/services/*.js',
  54. 'im_livechat/static/src/legacy/public_livechat_chatbot.js',
  55. 'im_livechat/static/src/legacy/public_livechat.scss',
  56. 'im_livechat/static/src/legacy/public_livechat_chatbot.scss',
  57. 'mail/static/src/utils/*.js',
  58. 'mail/static/src/js/utils.js',
  59. 'mail/static/src/component_hooks/*.js',
  60. 'mail/static/src/services/messaging_service.js',
  61. ],
  62. 'web.assets_backend': [
  63. 'im_livechat/static/src/js/colors_reset_button/*',
  64. 'im_livechat/static/src/js/im_livechat_chatbot_steps_one2many.js',
  65. 'im_livechat/static/src/js/im_livechat_chatbot_script_answers_m2m.js',
  66. 'im_livechat/static/src/components/*/*.js',
  67. 'im_livechat/static/src/scss/im_livechat_history.scss',
  68. 'im_livechat/static/src/scss/im_livechat_form.scss',
  69. 'im_livechat/static/src/components/*/*.xml',
  70. ],
  71. 'web.tests_assets': [
  72. 'im_livechat/static/tests/helpers/**/*.js',
  73. ],
  74. 'web.qunit_suite_tests': [
  75. 'im_livechat/static/tests/qunit_suite_tests/components/**/*.js',
  76. ],
  77. 'web.assets_tests': [
  78. 'im_livechat/static/tests/tours/**/*',
  79. ],
  80. 'mail.assets_messaging': [
  81. 'im_livechat/static/src/models/*.js',
  82. ],
  83. 'im_livechat.assets_public_livechat': [
  84. ('include', 'mail.assets_core_messaging'),
  85. 'im_livechat/static/src/legacy/models/*',
  86. 'im_livechat/static/src/legacy/widgets/*',
  87. 'im_livechat/static/src/legacy/widgets/*/*',
  88. 'im_livechat/static/src/public_models/*.js',
  89. ],
  90. # Bundle of External Librairies of the Livechat (Odoo + required modules)
  91. 'im_livechat.external_lib': [
  92. # Momentjs
  93. 'web/static/lib/moment/moment.js',
  94. 'web/static/lib/luxon/luxon.js',
  95. # Odoo minimal lib
  96. 'web/static/lib/underscore/underscore.js',
  97. 'web/static/lib/underscore.string/lib/underscore.string.js',
  98. # jQuery
  99. 'web/static/lib/jquery/jquery.js',
  100. 'web/static/lib/jquery.ui/jquery-ui.js',
  101. 'web/static/lib/jquery/jquery.browser.js',
  102. 'web/static/lib/jquery.ba-bbq/jquery.ba-bbq.js',
  103. # Qweb2 lib
  104. 'web/static/lib/qweb/qweb2.js',
  105. # Odoo JS Framework
  106. 'web/static/src/legacy/js/promise_extension.js',
  107. 'web/static/src/boot.js',
  108. 'web/static/lib/owl/owl.js',
  109. 'web/static/lib/owl/odoo_module.js',
  110. 'web/static/src/owl2_compatibility/*.js',
  111. 'web/static/src/legacy/legacy_component.js',
  112. 'web/static/src/core/browser/browser.js',
  113. 'web/static/src/core/browser/feature_detection.js',
  114. 'web/static/src/core/dialog/dialog.js',
  115. 'web/static/src/core/errors/error_dialogs.js',
  116. 'web/static/src/core/effects/**/*.js',
  117. 'web/static/src/core/hotkeys/hotkey_service.js',
  118. 'web/static/src/core/hotkeys/hotkey_hook.js',
  119. 'web/static/src/core/l10n/dates.js',
  120. 'web/static/src/core/l10n/localization.js',
  121. 'web/static/src/core/l10n/localization_service.js',
  122. 'web/static/src/core/l10n/translation.js',
  123. 'web/static/src/core/main_components_container.js',
  124. 'web/static/src/core/network/rpc_service.js',
  125. 'web/static/src/core/assets.js',
  126. 'web/static/src/core/notifications/notification.js',
  127. 'web/static/src/core/notifications/notification_container.js',
  128. 'web/static/src/core/notifications/notification_service.js',
  129. 'web/static/src/core/registry.js',
  130. 'web/static/src/core/transition.js',
  131. 'web/static/src/core/ui/block_ui.js',
  132. 'web/static/src/core/ui/ui_service.js',
  133. 'web/static/src/core/user_service.js',
  134. 'web/static/src/core/utils/components.js',
  135. 'web/static/src/core/utils/functions.js',
  136. 'web/static/src/core/utils/hooks.js',
  137. 'web/static/src/core/utils/numbers.js',
  138. 'web/static/src/core/utils/strings.js',
  139. 'web/static/src/core/utils/timing.js',
  140. 'web/static/src/core/utils/ui.js',
  141. 'web/static/src/env.js',
  142. 'web/static/src/legacy/utils.js',
  143. 'web/static/src/legacy/js/owl_compatibility.js',
  144. 'web/static/src/legacy/js/libs/download.js',
  145. 'web/static/src/legacy/js/libs/content-disposition.js',
  146. 'web/static/src/legacy/js/libs/pdfjs.js',
  147. 'web/static/src/legacy/js/services/config.js',
  148. 'web/static/src/legacy/js/core/abstract_service.js',
  149. 'web/static/src/legacy/js/core/class.js',
  150. 'web/static/src/legacy/js/core/collections.js',
  151. 'web/static/src/legacy/js/core/translation.js',
  152. 'web/static/src/legacy/js/core/ajax.js',
  153. 'im_livechat/static/src/js/ajax_external.js',
  154. 'web/static/src/legacy/js/core/time.js',
  155. 'web/static/src/legacy/js/core/mixins.js',
  156. 'web/static/src/legacy/js/core/service_mixins.js',
  157. 'web/static/src/legacy/js/core/rpc.js',
  158. 'web/static/src/legacy/js/core/widget.js',
  159. 'web/static/src/legacy/js/core/registry.js',
  160. 'web/static/src/session.js',
  161. 'web/static/src/legacy/js/core/session.js',
  162. 'web/static/src/legacy/js/core/concurrency.js',
  163. 'web/static/src/legacy/js/core/cookie_utils.js',
  164. 'web/static/src/legacy/js/core/utils.js',
  165. 'web/static/src/legacy/js/core/dom.js',
  166. 'web/static/src/legacy/js/core/qweb.js',
  167. 'web/static/src/legacy/js/core/bus.js',
  168. 'web/static/src/legacy/js/services/core.js',
  169. 'web/static/src/legacy/js/core/local_storage.js',
  170. 'web/static/src/legacy/js/core/ram_storage.js',
  171. 'web/static/src/legacy/js/core/abstract_storage_service.js',
  172. 'web/static/src/legacy/js/common_env.js',
  173. 'web/static/src/legacy/js/public/lazyloader.js',
  174. 'web/static/src/legacy/js/public/public_env.js',
  175. 'web/static/src/legacy/js/public/public_root.js',
  176. 'web/static/src/legacy/js/public/public_root_instance.js',
  177. 'web/static/src/legacy/js/public/public_widget.js',
  178. 'web/static/src/legacy/js/services/ajax_service.js',
  179. 'web/static/src/legacy/js/services/local_storage_service.js',
  180. # Bus, Mail, Livechat
  181. 'bus/static/src/im_status_service.js',
  182. 'bus/static/src/multi_tab_service.js',
  183. 'bus/static/src/services/bus_service.js',
  184. 'bus/static/src/services/legacy/make_bus_service_to_legacy_env.js',
  185. 'bus/static/src/workers/websocket_worker.js',
  186. 'bus/static/src/workers/websocket_worker_utils.js',
  187. 'mail/static/src/js/utils.js',
  188. 'im_livechat/static/src/legacy/public_livechat_chatbot.js',
  189. ('include', 'web._assets_helpers'),
  190. 'web/static/src/scss/pre_variables.scss',
  191. 'web/static/lib/bootstrap/scss/_variables.scss',
  192. 'im_livechat/static/src/scss/im_livechat_bootstrap.scss',
  193. 'im_livechat/static/src/legacy/public_livechat.scss',
  194. 'im_livechat/static/src/legacy/public_livechat_chatbot.scss',
  195. 'web/static/src/core/utils/transitions.scss',
  196. 'mail/static/src/utils/*.js',
  197. 'mail/static/src/js/emojis.js',
  198. 'mail/static/src/component_hooks/*.js',
  199. ('include', 'im_livechat.assets_public_livechat'),
  200. 'mail/static/src/services/messaging_service.js',
  201. # Framework JS
  202. 'bus/static/src/*.js',
  203. 'bus/static/src/services/presence_service.js',
  204. 'web/static/lib/luxon/luxon.js',
  205. 'web/static/src/core/**/*',
  206. # FIXME: debug menu currently depends on webclient, once it doesn't we don't need to remove the contents of the debug folder
  207. ('remove', 'web/static/src/core/debug/**/*'),
  208. 'web/static/src/env.js',
  209. 'web/static/src/legacy/js/core/dialog.js',
  210. 'web/static/src/legacy/js/core/owl_dialog.js',
  211. 'web/static/src/legacy/js/core/misc.js',
  212. 'web/static/src/legacy/js/fields/field_utils.js',
  213. 'im_livechat/static/src/public/*.js',
  214. 'im_livechat/static/src/services/*.js',
  215. ]
  216. },
  217. 'license': 'LGPL-3',
  218. }