__manifest__.py 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. # -*- coding: utf-8 -*-
  2. {
  3. 'name': 'Discuss',
  4. 'version': '1.10',
  5. 'category': 'Productivity/Discuss',
  6. 'sequence': 145,
  7. 'summary': 'Chat, mail gateway and private channels',
  8. 'description': """
  9. Chat, mail gateway and private channel.
  10. =======================================
  11. Communicate with your colleagues/customers/guest within Odoo.
  12. Discuss/Chat
  13. ------------
  14. User-friendly "Discuss" features that allows one 2 one or group communication
  15. (text chat/voice call/video call), invite guests and share documents with
  16. them, all real-time.
  17. Mail gateway
  18. ------------
  19. Sending information and documents made simplified. You can send emails
  20. from Odoo itself, and that too with great possibilities. For example,
  21. design a beautiful email template for the invoices, and use the same
  22. for all your customers, no need to do the same exercise every time.
  23. Chatter
  24. -------
  25. Do all the contextual conversation on a document. For example on an
  26. applicant, directly post an update to send email to the applicant,
  27. schedule the next interview call, attach the contract, add HR officer
  28. to the follower list to notify them for important events(with help of
  29. subtypes),...
  30. Retrieve incoming email on POP/IMAP servers.
  31. ============================================
  32. Enter the parameters of your POP/IMAP account(s), and any incoming emails on
  33. these accounts will be automatically downloaded into your Odoo system. All
  34. POP3/IMAP-compatible servers are supported, included those that require an
  35. encrypted SSL/TLS connection.
  36. This can be used to easily create email-based workflows for many email-enabled Odoo documents, such as:
  37. ----------------------------------------------------------------------------------------------------------
  38. * CRM Leads/Opportunities
  39. * CRM Claims
  40. * Project Issues
  41. * Project Tasks
  42. * Human Resource Recruitment (Applicants)
  43. Just install the relevant application, and you can assign any of these document
  44. types (Leads, Project Issues) to your incoming email accounts. New emails will
  45. automatically spawn new documents of the chosen type, so it's a snap to create a
  46. mailbox-to-Odoo integration. Even better: these documents directly act as mini
  47. conversations synchronized by email. You can reply from within Odoo, and the
  48. answers will automatically be collected when they come back, and attached to the
  49. same *conversation* document.
  50. For more specific needs, you may also assign custom-defined actions
  51. (technically: Server Actions) to be triggered for each incoming mail.
  52. """,
  53. 'website': 'https://www.odoo.com/app/discuss',
  54. 'depends': ['base', 'base_setup', 'bus', 'web_tour'],
  55. 'data': [
  56. 'data/mail_groups.xml',
  57. 'wizard/mail_blacklist_remove_views.xml',
  58. 'wizard/mail_compose_message_views.xml',
  59. 'wizard/mail_resend_message_views.xml',
  60. 'wizard/mail_template_preview_views.xml',
  61. 'wizard/mail_wizard_invite_views.xml',
  62. 'wizard/mail_template_reset_views.xml',
  63. 'views/fetchmail_views.xml',
  64. 'views/mail_message_subtype_views.xml',
  65. 'views/mail_tracking_views.xml',
  66. 'views/mail_notification_views.xml',
  67. 'views/mail_message_views.xml',
  68. 'views/mail_message_schedule_views.xml',
  69. 'views/mail_mail_views.xml',
  70. 'views/mail_followers_views.xml',
  71. 'views/mail_ice_server_views.xml',
  72. 'views/mail_channel_member_views.xml',
  73. 'views/mail_channel_rtc_session_views.xml',
  74. 'views/mail_link_preview_views.xml',
  75. 'views/mail_channel_views.xml',
  76. 'views/mail_shortcode_views.xml',
  77. 'views/mail_activity_views.xml',
  78. 'views/res_config_settings_views.xml',
  79. 'data/res_partner_data.xml',
  80. 'data/mail_message_subtype_data.xml',
  81. 'data/mail_templates_chatter.xml',
  82. 'data/mail_templates_email_layouts.xml',
  83. 'data/mail_templates_mailgateway.xml',
  84. 'data/mail_channel_data.xml',
  85. 'data/mail_activity_data.xml',
  86. 'data/ir_cron_data.xml',
  87. 'security/mail_security.xml',
  88. 'security/ir.model.access.csv',
  89. 'views/discuss_public_templates.xml',
  90. 'views/mail_alias_views.xml',
  91. 'views/mail_gateway_allowed_views.xml',
  92. 'views/mail_guest_views.xml',
  93. 'views/mail_message_reaction_views.xml',
  94. 'views/res_users_views.xml',
  95. 'views/res_users_settings_views.xml',
  96. 'views/mail_template_views.xml',
  97. 'views/ir_actions_server_views.xml',
  98. 'views/ir_model_views.xml',
  99. 'views/res_partner_views.xml',
  100. 'views/mail_blacklist_views.xml',
  101. 'views/mail_menus.xml',
  102. ],
  103. 'demo': [
  104. 'data/mail_channel_demo.xml',
  105. ],
  106. 'installable': True,
  107. 'application': True,
  108. 'assets': {
  109. 'mail.assets_core_messaging': [
  110. 'mail/static/src/model/*.js',
  111. 'mail/static/src/core_models/*.js',
  112. ],
  113. 'mail.assets_messaging': [
  114. ('include', 'mail.assets_core_messaging'),
  115. 'mail/static/src/models/*.js',
  116. 'mail/static/lib/selfie_segmentation/selfie_segmentation.js',
  117. ],
  118. 'mail.assets_model_data': [
  119. 'mail/static/src/models_data/*.js',
  120. ],
  121. # Custom bundle in case we want to remove things that are later added to web.assets_common
  122. 'mail.assets_common_discuss_public': [
  123. ('include', 'web.assets_common'),
  124. ],
  125. 'mail.assets_discuss_public': [
  126. # SCSS dependencies (the order is important)
  127. ('include', 'web._assets_helpers'),
  128. 'web/static/src/scss/bootstrap_overridden.scss',
  129. 'web/static/src/scss/pre_variables.scss',
  130. 'web/static/lib/bootstrap/scss/_variables.scss',
  131. 'web/static/src/scss/import_bootstrap.scss',
  132. 'web/static/src/scss/utilities_custom.scss',
  133. 'web/static/lib/bootstrap/scss/utilities/_api.scss',
  134. 'web/static/src/scss/bootstrap_review.scss',
  135. 'web/static/src/webclient/webclient.scss',
  136. 'web/static/src/core/utils/*.scss',
  137. # depends on BS variables, can't be loaded in assets_primary or assets_secondary
  138. 'mail/static/src/scss/variables/derived_variables.scss',
  139. 'mail/static/src/scss/composer.scss',
  140. # Dependency of notification_group, notification_request, thread_needaction_preview and thread_preview
  141. 'mail/static/src/components/notification_list/notification_list_item.scss',
  142. 'mail/static/src/component_hooks/*.js',
  143. 'mail/static/src/components/*/*',
  144. # Unused by guests and depends on ViewDialogs, better to remove it instead of pulling the whole view dependency tree
  145. ('remove', 'mail/static/src/components/composer_suggested_recipient/*'),
  146. ('remove', 'mail/static/src/components/activity_menu_container/*'),
  147. 'mail/static/src/js/emojis.js',
  148. 'mail/static/src/js/utils.js',
  149. ('include', 'mail.assets_messaging'),
  150. 'mail/static/src/public/*',
  151. 'mail/static/src/services/*.js',
  152. ('remove', 'mail/static/src/services/systray_service.js'),
  153. 'mail/static/src/utils/*.js',
  154. # Framework JS
  155. 'web/static/lib/luxon/luxon.js',
  156. 'web/static/src/core/**/*',
  157. # FIXME: debug menu currently depends on webclient, once it doesn't we don't need to remove the contents of the debug folder
  158. ('remove', 'web/static/src/core/debug/**/*'),
  159. 'web/static/src/env.js',
  160. 'web/static/src/legacy/js/core/misc.js',
  161. 'web/static/src/legacy/js/env.js',
  162. 'web/static/src/legacy/js/fields/field_utils.js',
  163. 'web/static/src/legacy/js/owl_compatibility.js',
  164. 'web/static/src/legacy/js/services/data_manager.js',
  165. 'web/static/src/legacy/js/services/session.js',
  166. 'web/static/src/legacy/js/widgets/date_picker.js',
  167. 'web/static/src/legacy/legacy_load_views.js',
  168. 'web/static/src/legacy/legacy_promise_error_handler.js',
  169. 'web/static/src/legacy/legacy_rpc_error_handler.js',
  170. 'web/static/src/legacy/utils.js',
  171. 'web/static/src/legacy/xml/base.xml',
  172. ],
  173. 'web._assets_primary_variables': [
  174. 'mail/static/src/scss/variables/primary_variables.scss',
  175. ],
  176. 'web.assets_backend': [
  177. # depends on BS variables, can't be loaded in assets_primary or assets_secondary
  178. 'mail/static/src/scss/variables/derived_variables.scss',
  179. # defines mixins and variables used by multiple components
  180. 'mail/static/src/components/notification_list/notification_list_item.scss',
  181. 'mail/static/src/js/**/*.js',
  182. 'mail/static/src/utils/*.js',
  183. 'mail/static/src/scss/*.scss',
  184. 'mail/static/src/xml/*.xml',
  185. 'mail/static/src/component_hooks/*.js',
  186. 'mail/static/src/backend_components/*/*',
  187. 'mail/static/src/components/*/*.js',
  188. 'mail/static/src/components/*/*.scss',
  189. 'mail/static/src/components/*/*.xml',
  190. 'mail/static/src/views/*/*.xml',
  191. ('include', 'mail.assets_messaging'),
  192. 'mail/static/src/services/*.js',
  193. 'mail/static/src/views/**/*.js',
  194. 'mail/static/src/views/**/*.xml',
  195. 'mail/static/src/views/**/*.scss',
  196. 'mail/static/src/webclient/commands/*.js',
  197. 'mail/static/src/widgets/*/*.js',
  198. 'mail/static/src/widgets/*/*.scss',
  199. # Don't include dark mode files in light mode
  200. ('remove', 'mail/static/src/components/*/*.dark.scss'),
  201. ],
  202. "web.dark_mode_assets_backend": [
  203. 'mail/static/src/components/*/*.dark.scss',
  204. ],
  205. 'web.assets_backend_prod_only': [
  206. 'mail/static/src/main.js',
  207. ],
  208. 'mail.assets_discuss_public_test_tours': [
  209. 'mail/static/tests/tours/discuss_public_tour.js',
  210. 'mail/static/tests/tours/mail_channel_as_guest_tour.js',
  211. ],
  212. 'web.assets_tests': [
  213. 'mail/static/tests/tours/**/*',
  214. ],
  215. 'web.tests_assets': [
  216. 'mail/static/tests/helpers/**/*.js',
  217. 'mail/static/tests/models/*.js',
  218. ],
  219. 'web.qunit_suite_tests': [
  220. 'mail/static/tests/qunit_suite_tests/**/*.js',
  221. ],
  222. 'web.qunit_mobile_suite_tests': [
  223. 'mail/static/tests/qunit_mobile_suite_tests/**/*.js',
  224. ],
  225. },
  226. 'license': 'LGPL-3',
  227. }