__manifest__.py 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. # -*- encoding: utf-8 -*-
  2. # Part of Odoo. See LICENSE file for full copyright and licensing details.
  3. {
  4. 'name': 'Website',
  5. 'category': 'Website/Website',
  6. 'sequence': 20,
  7. 'summary': 'Enterprise website builder',
  8. 'website': 'https://www.odoo.com/app/website',
  9. 'version': '1.0',
  10. 'depends': [
  11. 'digest',
  12. 'web',
  13. 'web_editor',
  14. 'http_routing',
  15. 'portal',
  16. 'social_media',
  17. 'auth_signup',
  18. 'mail',
  19. 'google_recaptcha',
  20. 'utm',
  21. ],
  22. 'installable': True,
  23. 'data': [
  24. # security.xml first, data.xml need the group to exist (checking it)
  25. 'security/website_security.xml',
  26. 'security/ir.model.access.csv',
  27. 'data/ir_asset.xml',
  28. 'data/ir_cron_data.xml',
  29. 'data/mail_mail_data.xml',
  30. 'data/website_data.xml',
  31. 'data/website_visitor_cron.xml',
  32. 'data/digest_data.xml',
  33. 'views/website_templates.xml',
  34. 'views/snippets/snippets.xml',
  35. 'views/snippets/s_title.xml',
  36. 'views/snippets/s_cover.xml',
  37. 'views/snippets/s_text_image.xml',
  38. 'views/snippets/s_image_text.xml',
  39. 'views/snippets/s_banner.xml',
  40. 'views/snippets/s_text_block.xml',
  41. 'views/snippets/s_features.xml',
  42. 'views/snippets/s_three_columns.xml',
  43. 'views/snippets/s_picture.xml',
  44. 'views/snippets/s_carousel.xml',
  45. 'views/snippets/s_alert.xml',
  46. 'views/snippets/s_card.xml',
  47. 'views/snippets/s_share.xml',
  48. 'views/snippets/s_social_media.xml',
  49. 'views/snippets/s_rating.xml',
  50. 'views/snippets/s_hr.xml',
  51. 'views/snippets/s_facebook_page.xml',
  52. 'views/snippets/s_image_gallery.xml',
  53. 'views/snippets/s_countdown.xml',
  54. 'views/snippets/s_product_catalog.xml',
  55. 'views/snippets/s_comparisons.xml',
  56. 'views/snippets/s_company_team.xml',
  57. 'views/snippets/s_call_to_action.xml',
  58. 'views/snippets/s_references.xml',
  59. 'views/snippets/s_popup.xml',
  60. 'views/snippets/s_faq_collapse.xml',
  61. 'views/snippets/s_features_grid.xml',
  62. 'views/snippets/s_tabs.xml',
  63. 'views/snippets/s_table_of_content.xml',
  64. 'views/snippets/s_chart.xml',
  65. 'views/snippets/s_parallax.xml',
  66. 'views/snippets/s_quotes_carousel.xml',
  67. 'views/snippets/s_numbers.xml',
  68. 'views/snippets/s_masonry_block.xml',
  69. 'views/snippets/s_media_list.xml',
  70. 'views/snippets/s_showcase.xml',
  71. 'views/snippets/s_timeline.xml',
  72. 'views/snippets/s_process_steps.xml',
  73. 'views/snippets/s_text_highlight.xml',
  74. 'views/snippets/s_progress_bar.xml',
  75. 'views/snippets/s_blockquote.xml',
  76. 'views/snippets/s_badge.xml',
  77. 'views/snippets/s_color_blocks_2.xml',
  78. 'views/snippets/s_product_list.xml',
  79. 'views/snippets/s_mega_menu_multi_menus.xml',
  80. 'views/snippets/s_mega_menu_menu_image_menu.xml',
  81. 'views/snippets/s_mega_menu_thumbnails.xml',
  82. 'views/snippets/s_mega_menu_little_icons.xml',
  83. 'views/snippets/s_mega_menu_images_subtitles.xml',
  84. 'views/snippets/s_mega_menu_menus_logos.xml',
  85. 'views/snippets/s_mega_menu_odoo_menu.xml',
  86. 'views/snippets/s_mega_menu_big_icons_subtitles.xml',
  87. 'views/snippets/s_mega_menu_cards.xml',
  88. 'views/snippets/s_google_map.xml',
  89. 'views/snippets/s_map.xml',
  90. 'views/snippets/s_dynamic_snippet.xml',
  91. 'views/snippets/s_dynamic_snippet_carousel.xml',
  92. 'views/snippets/s_embed_code.xml',
  93. 'views/snippets/s_website_form.xml',
  94. 'views/snippets/s_searchbar.xml',
  95. 'views/website_views.xml',
  96. 'views/website_pages_views.xml',
  97. 'views/website_visitor_views.xml',
  98. 'views/res_config_settings_views.xml',
  99. 'views/website_rewrite.xml',
  100. 'views/ir_actions_server_views.xml',
  101. 'views/ir_asset_views.xml',
  102. 'views/ir_attachment_views.xml',
  103. 'views/ir_model_views.xml',
  104. 'views/res_partner_views.xml',
  105. 'views/neutralize_views.xml',
  106. 'wizard/base_language_install_views.xml',
  107. 'wizard/website_robots.xml',
  108. ],
  109. 'demo': [
  110. 'data/website_demo.xml',
  111. 'data/website_visitor_demo.xml',
  112. ],
  113. 'application': True,
  114. 'post_init_hook': 'post_init_hook',
  115. 'uninstall_hook': 'uninstall_hook',
  116. 'assets': {
  117. 'mail.assets_messaging': [
  118. 'website/static/src/models/*.js',
  119. ],
  120. 'web.assets_frontend': [
  121. ('replace', 'web/static/src/legacy/js/public/public_root_instance.js', 'website/static/src/js/content/website_root_instance.js'),
  122. 'website/static/src/scss/website.scss',
  123. 'website/static/src/scss/website.ui.scss',
  124. 'website/static/src/js/utils.js',
  125. 'website/static/src/js/tours/tour_utils.js',
  126. 'website/static/src/js/content/website_root.js',
  127. 'website/static/src/js/widgets/dialog.js',
  128. 'website/static/src/js/content/compatibility.js',
  129. 'website/static/src/js/content/menu.js',
  130. 'website/static/src/js/content/snippets.animation.js',
  131. 'website/static/src/js/show_password.js',
  132. 'website/static/src/js/post_link.js',
  133. 'website/static/src/js/plausible.js',
  134. 'website/static/src/js/user_custom_javascript.js',
  135. 'website/static/src/js/http_cookie.js',
  136. 'website/static/src/xml/website.xml',
  137. 'website/static/src/xml/website.background.video.xml',
  138. 'website/static/src/xml/website.share.xml',
  139. ],
  140. 'web.assets_frontend_minimal': [
  141. 'website/static/src/js/content/inject_dom.js',
  142. 'website/static/src/js/content/auto_hide_menu.js',
  143. 'website/static/src/js/content/redirect.js',
  144. 'website/static/src/js/content/adapt_content.js',
  145. ],
  146. 'web.assets_frontend_lazy': [
  147. # Remove assets_frontend_minimal
  148. ('remove', 'website/static/src/js/content/inject_dom.js'),
  149. ('remove', 'website/static/src/js/content/auto_hide_menu.js'),
  150. ('remove', 'website/static/src/js/content/redirect.js'),
  151. ('remove', 'website/static/src/js/content/adapt_content.js'),
  152. ],
  153. 'web._assets_primary_variables': [
  154. 'website/static/src/scss/primary_variables.scss',
  155. 'website/static/src/scss/options/user_values.scss',
  156. 'website/static/src/scss/options/colors/user_color_palette.scss',
  157. 'website/static/src/scss/options/colors/user_gray_color_palette.scss',
  158. 'website/static/src/scss/options/colors/user_theme_color_palette.scss',
  159. ],
  160. 'web._assets_secondary_variables': [
  161. ('prepend', 'website/static/src/scss/secondary_variables.scss'),
  162. ],
  163. 'web.assets_tests': [
  164. 'website/static/tests/tours/**/*',
  165. 'website/static/src/client_actions/website_preview/website_preview_test_mode.js',
  166. ],
  167. 'web.assets_backend': [
  168. ('include', 'website.assets_editor'),
  169. 'website/static/src/scss/color_palettes.scss',
  170. 'website/static/src/scss/view_hierarchy.scss',
  171. 'website/static/src/scss/website.backend.scss',
  172. 'website/static/src/xml/website.backend.xml',
  173. 'website/static/src/scss/website_visitor_views.scss',
  174. 'website/static/src/scss/website.theme_install.scss',
  175. 'website/static/src/js/backend/**/*',
  176. 'website/static/src/client_actions/*/*',
  177. ('remove', 'website/static/src/client_actions/website_preview/website_preview_test_mode.js'),
  178. 'website/static/src/components/fields/*',
  179. 'website/static/src/components/fullscreen_indication/fullscreen_indication.js',
  180. 'website/static/src/components/fullscreen_indication/fullscreen_indication.scss',
  181. 'website/static/src/components/website_loader/website_loader.js',
  182. 'website/static/src/components/website_loader/website_loader.scss',
  183. 'website/static/src/components/views/*',
  184. 'website/static/src/services/website_service.js',
  185. 'website/static/src/js/utils.js',
  186. 'website/static/src/xml/website.xml',
  187. # Don't include dark mode files in light mode
  188. ('remove', 'website/static/src/client_actions/*/*.dark.scss'),
  189. ],
  190. "web.dark_mode_assets_backend": [
  191. 'website/static/src/components/dialog/*.dark.scss',
  192. 'website/static/src/scss/website.backend.dark.scss',
  193. 'website/static/src/client_actions/*/*.dark.scss',
  194. 'website/static/src/components/website_loader/website_loader.dark.scss'
  195. ],
  196. 'web.assets_common': [
  197. 'website/static/src/js/tours/tour_utils.js',
  198. ],
  199. 'web.qunit_suite_tests': [
  200. 'website/static/tests/dashboard_tests.js',
  201. 'website/static/tests/website_tests.js',
  202. 'website/static/tests/redirect_field_tests.js',
  203. ],
  204. 'web.tests_assets': [
  205. 'website/static/tests/website_service_mock.js',
  206. ],
  207. 'web._assets_frontend_helpers': [
  208. ('prepend', 'website/static/src/scss/bootstrap_overridden.scss'),
  209. ],
  210. 'website.assets_wysiwyg': [
  211. ('include', 'web._assets_helpers'),
  212. 'web_editor/static/src/scss/bootstrap_overridden.scss',
  213. 'web/static/src/scss/pre_variables.scss',
  214. 'web/static/lib/bootstrap/scss/_variables.scss',
  215. 'website/static/src/scss/website.wysiwyg.scss',
  216. 'website/static/src/scss/website.edit_mode.scss',
  217. 'website/static/src/js/editor/editor.js',
  218. 'website/static/src/js/editor/snippets.editor.js',
  219. 'website/static/src/js/editor/snippets.options.js',
  220. 'website/static/src/snippets/s_facebook_page/options.js',
  221. 'website/static/src/snippets/s_image_gallery/options.js',
  222. 'website/static/src/snippets/s_image_gallery/000.xml',
  223. 'website/static/src/snippets/s_countdown/options.js',
  224. 'website/static/src/snippets/s_countdown/options.xml',
  225. 'website/static/src/snippets/s_masonry_block/options.js',
  226. 'website/static/src/snippets/s_popup/options.js',
  227. 'website/static/src/snippets/s_product_catalog/options.js',
  228. 'website/static/src/snippets/s_chart/options.js',
  229. 'website/static/src/snippets/s_rating/options.js',
  230. 'website/static/src/snippets/s_tabs/options.js',
  231. 'website/static/src/snippets/s_progress_bar/options.js',
  232. 'website/static/src/snippets/s_blockquote/options.js',
  233. 'website/static/src/snippets/s_showcase/options.js',
  234. 'website/static/src/snippets/s_table_of_content/options.js',
  235. 'website/static/src/snippets/s_timeline/options.js',
  236. 'website/static/src/snippets/s_media_list/options.js',
  237. 'website/static/src/snippets/s_google_map/options.js',
  238. 'website/static/src/snippets/s_map/options.js',
  239. 'website/static/src/snippets/s_dynamic_snippet/options.js',
  240. 'website/static/src/snippets/s_dynamic_snippet_carousel/options.js',
  241. 'website/static/src/snippets/s_embed_code/options.js',
  242. 'website/static/src/snippets/s_website_form/options.js',
  243. 'website/static/src/xml/website_form.xml',
  244. 'website/static/src/xml/website.editor.xml',
  245. 'website/static/src/xml/website_form_editor.xml',
  246. 'website/static/src/snippets/s_searchbar/options.js',
  247. 'website/static/src/snippets/s_social_media/options.js',
  248. 'website/static/src/snippets/s_process_steps/options.js',
  249. 'website/static/src/js/editor/wysiwyg.js',
  250. 'website/static/src/js/editor/widget_link.js',
  251. 'website/static/src/js/widgets/link_popover_widget.js',
  252. 'website/static/src/xml/website.cookies_bar.xml',
  253. ],
  254. 'web_editor.assets_media_dialog': [
  255. 'website/static/src/components/media_dialog/image_selector.js',
  256. ],
  257. 'website.assets_editor': [
  258. ('include', 'web._assets_helpers'),
  259. 'web/static/src/scss/pre_variables.scss',
  260. 'web/static/lib/bootstrap/scss/_variables.scss',
  261. 'website/static/src/components/ace_editor/ace_editor.js',
  262. 'website/static/src/components/ace_editor/ace_editor.scss',
  263. 'website/static/src/components/dialog/*.js',
  264. 'website/static/src/components/dialog/*.scss',
  265. 'website/static/src/components/dialog/*.xml',
  266. 'website/static/src/components/editor/editor.js',
  267. 'website/static/src/components/editor/editor.scss',
  268. 'website/static/src/components/editor/editor.xml',
  269. 'website/static/src/components/navbar/navbar.js',
  270. 'website/static/src/components/burger_menu/burger_menu.js',
  271. 'website/static/src/components/switch/switch.js',
  272. 'website/static/src/components/switch/switch.scss',
  273. 'website/static/src/components/wysiwyg_adapter/wysiwyg_adapter.js',
  274. 'website/static/src/components/wysiwyg_adapter/page_options.js',
  275. 'website/static/src/components/translator/translator.js',
  276. 'website/static/src/components/translator/translator.scss',
  277. 'website/static/src/components/translator/translator.xml',
  278. 'website/static/src/js/form_editor_registry.js',
  279. 'website/static/src/js/new_content_form.js',
  280. 'website/static/src/services/website_custom_menus.js',
  281. 'website/static/src/js/tours/homepage.js',
  282. 'website/static/src/systray_items/*',
  283. 'web_editor/static/src/xml/editor.xml',
  284. 'website/static/src/client_actions/*/*.xml',
  285. 'website/static/src/components/website_loader/*.xml',
  286. 'website/static/src/js/backend/**/*',
  287. # Don't include dark mode files in light mode
  288. ('remove', 'website/static/src/components/dialog/*.dark.scss'),
  289. ],
  290. 'website.test_bundle': [
  291. '/web/static/lib/qweb/qweb2.js',
  292. 'http://test.external.link/javascript1.js',
  293. '/web/static/lib/jquery.ui/jquery-ui.css',
  294. 'http://test.external.link/style1.css',
  295. '/web/static/src/boot.js',
  296. 'http://test.external.link/javascript2.js',
  297. 'http://test.external.link/style2.css',
  298. ],
  299. },
  300. 'license': 'LGPL-3',
  301. }