311 lines
15 KiB
Python
311 lines
15 KiB
Python
# -*- encoding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
{
|
|
'name': 'Website',
|
|
'category': 'Website/Website',
|
|
'sequence': 20,
|
|
'summary': 'Enterprise website builder',
|
|
'website': 'https://www.odoo.com/app/website',
|
|
'version': '1.0',
|
|
'depends': [
|
|
'digest',
|
|
'web',
|
|
'web_editor',
|
|
'http_routing',
|
|
'portal',
|
|
'social_media',
|
|
'auth_signup',
|
|
'mail',
|
|
'google_recaptcha',
|
|
'utm',
|
|
],
|
|
'installable': True,
|
|
'data': [
|
|
# security.xml first, data.xml need the group to exist (checking it)
|
|
'security/website_security.xml',
|
|
'security/ir.model.access.csv',
|
|
'data/ir_asset.xml',
|
|
'data/ir_cron_data.xml',
|
|
'data/mail_mail_data.xml',
|
|
'data/website_data.xml',
|
|
'data/website_visitor_cron.xml',
|
|
'data/digest_data.xml',
|
|
'data/update_theme_images.xml',
|
|
'views/website_templates.xml',
|
|
'views/snippets/snippets.xml',
|
|
'views/snippets/s_title.xml',
|
|
'views/snippets/s_cover.xml',
|
|
'views/snippets/s_text_image.xml',
|
|
'views/snippets/s_image_text.xml',
|
|
'views/snippets/s_banner.xml',
|
|
'views/snippets/s_text_block.xml',
|
|
'views/snippets/s_features.xml',
|
|
'views/snippets/s_three_columns.xml',
|
|
'views/snippets/s_picture.xml',
|
|
'views/snippets/s_carousel.xml',
|
|
'views/snippets/s_alert.xml',
|
|
'views/snippets/s_card.xml',
|
|
'views/snippets/s_share.xml',
|
|
'views/snippets/s_social_media.xml',
|
|
'views/snippets/s_rating.xml',
|
|
'views/snippets/s_hr.xml',
|
|
'views/snippets/s_facebook_page.xml',
|
|
'views/snippets/s_image_gallery.xml',
|
|
'views/snippets/s_countdown.xml',
|
|
'views/snippets/s_product_catalog.xml',
|
|
'views/snippets/s_comparisons.xml',
|
|
'views/snippets/s_company_team.xml',
|
|
'views/snippets/s_call_to_action.xml',
|
|
'views/snippets/s_references.xml',
|
|
'views/snippets/s_popup.xml',
|
|
'views/snippets/s_faq_collapse.xml',
|
|
'views/snippets/s_features_grid.xml',
|
|
'views/snippets/s_tabs.xml',
|
|
'views/snippets/s_table_of_content.xml',
|
|
'views/snippets/s_chart.xml',
|
|
'views/snippets/s_parallax.xml',
|
|
'views/snippets/s_quotes_carousel.xml',
|
|
'views/snippets/s_numbers.xml',
|
|
'views/snippets/s_masonry_block.xml',
|
|
'views/snippets/s_media_list.xml',
|
|
'views/snippets/s_showcase.xml',
|
|
'views/snippets/s_timeline.xml',
|
|
'views/snippets/s_process_steps.xml',
|
|
'views/snippets/s_text_highlight.xml',
|
|
'views/snippets/s_progress_bar.xml',
|
|
'views/snippets/s_blockquote.xml',
|
|
'views/snippets/s_badge.xml',
|
|
'views/snippets/s_color_blocks_2.xml',
|
|
'views/snippets/s_product_list.xml',
|
|
'views/snippets/s_mega_menu_multi_menus.xml',
|
|
'views/snippets/s_mega_menu_menu_image_menu.xml',
|
|
'views/snippets/s_mega_menu_thumbnails.xml',
|
|
'views/snippets/s_mega_menu_little_icons.xml',
|
|
'views/snippets/s_mega_menu_images_subtitles.xml',
|
|
'views/snippets/s_mega_menu_menus_logos.xml',
|
|
'views/snippets/s_mega_menu_odoo_menu.xml',
|
|
'views/snippets/s_mega_menu_big_icons_subtitles.xml',
|
|
'views/snippets/s_mega_menu_cards.xml',
|
|
'views/snippets/s_google_map.xml',
|
|
'views/snippets/s_map.xml',
|
|
'views/snippets/s_dynamic_snippet.xml',
|
|
'views/snippets/s_dynamic_snippet_carousel.xml',
|
|
'views/snippets/s_embed_code.xml',
|
|
'views/snippets/s_website_form.xml',
|
|
'views/snippets/s_searchbar.xml',
|
|
'views/website_views.xml',
|
|
'views/website_pages_views.xml',
|
|
'views/website_visitor_views.xml',
|
|
'views/res_config_settings_views.xml',
|
|
'views/website_rewrite.xml',
|
|
'views/ir_actions_server_views.xml',
|
|
'views/ir_asset_views.xml',
|
|
'views/ir_attachment_views.xml',
|
|
'views/ir_model_views.xml',
|
|
'views/res_partner_views.xml',
|
|
'views/neutralize_views.xml',
|
|
'wizard/base_language_install_views.xml',
|
|
'wizard/website_robots.xml',
|
|
],
|
|
'demo': [
|
|
'data/website_demo.xml',
|
|
'data/website_visitor_demo.xml',
|
|
],
|
|
'application': True,
|
|
'post_init_hook': 'post_init_hook',
|
|
'uninstall_hook': 'uninstall_hook',
|
|
'assets': {
|
|
'mail.assets_messaging': [
|
|
'website/static/src/models/*.js',
|
|
],
|
|
'web.assets_frontend': [
|
|
('replace', 'web/static/src/legacy/js/public/public_root_instance.js', 'website/static/src/js/content/website_root_instance.js'),
|
|
'website/static/src/scss/website.scss',
|
|
'website/static/src/scss/website.ui.scss',
|
|
'website/static/src/js/utils.js',
|
|
'website/static/src/js/tours/tour_utils.js',
|
|
'website/static/src/js/content/website_root.js',
|
|
'website/static/src/js/widgets/dialog.js',
|
|
'website/static/src/js/content/compatibility.js',
|
|
'website/static/src/js/content/menu.js',
|
|
'website/static/src/js/content/snippets.animation.js',
|
|
'website/static/src/js/show_password.js',
|
|
'website/static/src/js/post_link.js',
|
|
'website/static/src/js/plausible.js',
|
|
'website/static/src/js/user_custom_javascript.js',
|
|
'website/static/src/js/http_cookie.js',
|
|
'website/static/src/xml/website.xml',
|
|
'website/static/src/xml/website.background.video.xml',
|
|
'website/static/src/xml/website.share.xml',
|
|
# Stable fix, will be replaced by an `ir.asset` in master to be able
|
|
# to clean `<script>` tags in embed code snippets in edit mode.
|
|
'website/static/src/snippets/s_embed_code/000.js',
|
|
],
|
|
'web.assets_frontend_minimal': [
|
|
'website/static/src/js/content/inject_dom.js',
|
|
'website/static/src/js/content/auto_hide_menu.js',
|
|
'website/static/src/js/content/redirect.js',
|
|
'website/static/src/js/content/adapt_content.js',
|
|
],
|
|
'web.assets_frontend_lazy': [
|
|
# Remove assets_frontend_minimal
|
|
('remove', 'website/static/src/js/content/inject_dom.js'),
|
|
('remove', 'website/static/src/js/content/auto_hide_menu.js'),
|
|
('remove', 'website/static/src/js/content/redirect.js'),
|
|
('remove', 'website/static/src/js/content/adapt_content.js'),
|
|
],
|
|
'web._assets_primary_variables': [
|
|
'website/static/src/scss/primary_variables.scss',
|
|
'website/static/src/scss/options/user_values.scss',
|
|
'website/static/src/scss/options/colors/user_color_palette.scss',
|
|
'website/static/src/scss/options/colors/user_gray_color_palette.scss',
|
|
'website/static/src/scss/options/colors/user_theme_color_palette.scss',
|
|
],
|
|
'web._assets_secondary_variables': [
|
|
('prepend', 'website/static/src/scss/secondary_variables.scss'),
|
|
],
|
|
'web.assets_tests': [
|
|
'website/static/tests/tour_utils/widget_lifecycle_dep_widget.js',
|
|
'website/static/tests/tours/**/*',
|
|
'website/static/src/client_actions/website_preview/website_preview_test_mode.js',
|
|
],
|
|
'web.assets_backend': [
|
|
('include', 'website.assets_editor'),
|
|
'website/static/src/scss/color_palettes.scss',
|
|
'website/static/src/scss/view_hierarchy.scss',
|
|
'website/static/src/scss/website.backend.scss',
|
|
'website/static/src/xml/website.backend.xml',
|
|
'website/static/src/scss/website_visitor_views.scss',
|
|
'website/static/src/scss/website.theme_install.scss',
|
|
'website/static/src/js/backend/**/*',
|
|
'website/static/src/client_actions/*/*',
|
|
('remove', 'website/static/src/client_actions/website_preview/website_preview_test_mode.js'),
|
|
'website/static/src/components/fields/*',
|
|
'website/static/src/components/fullscreen_indication/fullscreen_indication.js',
|
|
'website/static/src/components/fullscreen_indication/fullscreen_indication.scss',
|
|
'website/static/src/components/fullscreen_indication/fullscreen_indication.xml',
|
|
'website/static/src/components/website_loader/website_loader.js',
|
|
'website/static/src/components/website_loader/website_loader.scss',
|
|
'website/static/src/components/views/*',
|
|
'website/static/src/services/website_service.js',
|
|
'website/static/src/js/utils.js',
|
|
'website/static/src/xml/website.xml',
|
|
|
|
# Don't include dark mode files in light mode
|
|
('remove', 'website/static/src/client_actions/*/*.dark.scss'),
|
|
],
|
|
"web.dark_mode_assets_backend": [
|
|
'website/static/src/components/dialog/*.dark.scss',
|
|
'website/static/src/scss/website.backend.dark.scss',
|
|
'website/static/src/client_actions/*/*.dark.scss',
|
|
'website/static/src/components/website_loader/website_loader.dark.scss'
|
|
],
|
|
'web.assets_common': [
|
|
'website/static/src/js/tours/tour_utils.js',
|
|
],
|
|
'web.qunit_suite_tests': [
|
|
'website/static/tests/dashboard_tests.js',
|
|
'website/static/tests/website_tests.js',
|
|
'website/static/tests/redirect_field_tests.js',
|
|
],
|
|
'web.tests_assets': [
|
|
'website/static/tests/website_service_mock.js',
|
|
],
|
|
'web._assets_frontend_helpers': [
|
|
('prepend', 'website/static/src/scss/bootstrap_overridden.scss'),
|
|
],
|
|
'website.assets_wysiwyg': [
|
|
('include', 'web._assets_helpers'),
|
|
'web_editor/static/src/scss/bootstrap_overridden.scss',
|
|
'web/static/src/scss/pre_variables.scss',
|
|
'web/static/lib/bootstrap/scss/_variables.scss',
|
|
'website/static/src/scss/website.wysiwyg.scss',
|
|
'website/static/src/scss/website.edit_mode.scss',
|
|
'website/static/src/js/editor/editor.js',
|
|
'website/static/src/js/editor/snippets.editor.js',
|
|
'website/static/src/js/editor/snippets.options.js',
|
|
'website/static/src/snippets/s_facebook_page/options.js',
|
|
'website/static/src/snippets/s_image_gallery/options.js',
|
|
'website/static/src/snippets/s_image_gallery/000.xml',
|
|
'website/static/src/snippets/s_countdown/options.js',
|
|
'website/static/src/snippets/s_countdown/options.xml',
|
|
'website/static/src/snippets/s_masonry_block/options.js',
|
|
'website/static/src/snippets/s_popup/options.js',
|
|
'website/static/src/snippets/s_product_catalog/options.js',
|
|
'website/static/src/snippets/s_chart/options.js',
|
|
'website/static/src/snippets/s_rating/options.js',
|
|
'website/static/src/snippets/s_tabs/options.js',
|
|
'website/static/src/snippets/s_progress_bar/options.js',
|
|
'website/static/src/snippets/s_blockquote/options.js',
|
|
'website/static/src/snippets/s_showcase/options.js',
|
|
'website/static/src/snippets/s_table_of_content/options.js',
|
|
'website/static/src/snippets/s_timeline/options.js',
|
|
'website/static/src/snippets/s_media_list/options.js',
|
|
'website/static/src/snippets/s_google_map/options.js',
|
|
'website/static/src/snippets/s_map/options.js',
|
|
'website/static/src/snippets/s_dynamic_snippet/options.js',
|
|
'website/static/src/snippets/s_dynamic_snippet_carousel/options.js',
|
|
'website/static/src/snippets/s_embed_code/options.js',
|
|
'website/static/src/snippets/s_website_form/options.js',
|
|
'website/static/src/xml/website_form.xml',
|
|
'website/static/src/xml/website.editor.xml',
|
|
'website/static/src/xml/website_form_editor.xml',
|
|
'website/static/src/snippets/s_searchbar/options.js',
|
|
'website/static/src/snippets/s_social_media/options.js',
|
|
'website/static/src/snippets/s_process_steps/options.js',
|
|
'website/static/src/js/editor/wysiwyg.js',
|
|
'website/static/src/js/editor/widget_link.js',
|
|
'website/static/src/js/widgets/link_popover_widget.js',
|
|
'website/static/src/xml/website.cookies_bar.xml',
|
|
],
|
|
'web_editor.assets_media_dialog': [
|
|
'website/static/src/components/media_dialog/image_selector.js',
|
|
],
|
|
'website.assets_editor': [
|
|
('include', 'web._assets_helpers'),
|
|
'web/static/src/scss/pre_variables.scss',
|
|
'web/static/lib/bootstrap/scss/_variables.scss',
|
|
'website/static/src/components/ace_editor/ace_editor.js',
|
|
'website/static/src/components/ace_editor/ace_editor.scss',
|
|
'website/static/src/components/dialog/*.js',
|
|
'website/static/src/components/dialog/*.scss',
|
|
'website/static/src/components/dialog/*.xml',
|
|
'website/static/src/components/editor/editor.js',
|
|
'website/static/src/components/editor/editor.scss',
|
|
'website/static/src/components/editor/editor.xml',
|
|
'website/static/src/components/navbar/navbar.js',
|
|
'website/static/src/components/burger_menu/burger_menu.js',
|
|
'website/static/src/components/switch/switch.js',
|
|
'website/static/src/components/switch/switch.scss',
|
|
'website/static/src/components/wysiwyg_adapter/wysiwyg_adapter.js',
|
|
'website/static/src/components/wysiwyg_adapter/page_options.js',
|
|
'website/static/src/components/translator/translator.js',
|
|
'website/static/src/components/translator/translator.scss',
|
|
'website/static/src/components/translator/translator.xml',
|
|
'website/static/src/js/form_editor_registry.js',
|
|
'website/static/src/js/new_content_form.js',
|
|
'website/static/src/services/website_custom_menus.js',
|
|
'website/static/src/js/tours/homepage.js',
|
|
'website/static/src/systray_items/*',
|
|
'web_editor/static/src/xml/editor.xml',
|
|
'website/static/src/client_actions/*/*.xml',
|
|
'website/static/src/components/website_loader/*.xml',
|
|
'website/static/src/js/backend/**/*',
|
|
|
|
# Don't include dark mode files in light mode
|
|
('remove', 'website/static/src/components/dialog/*.dark.scss'),
|
|
],
|
|
'website.test_bundle': [
|
|
'/web/static/lib/qweb/qweb2.js',
|
|
'http://test.external.link/javascript1.js',
|
|
'/web/static/lib/jquery.ui/jquery-ui.css',
|
|
'http://test.external.link/style1.css',
|
|
'/web/static/src/boot.js',
|
|
'http://test.external.link/javascript2.js',
|
|
'http://test.external.link/style2.css',
|
|
],
|
|
},
|
|
'license': 'LGPL-3',
|
|
}
|