Files
tsm-odoo 427074c03a [IMP] im_livechat, website_livechat: improve live chat bundles
This commit improves the live chat bundles:
- `core`
	- `common`: hold files that are common to every feature
	- `web`
- `standalone`: hold files for the embed live chat and is splitted
in 4 sub-bundles:
	- `common`
	- `frontend`: should only be added in the Odoo frontend.
	- `external`: should only be added outside of Odoo
	environment (e.g. support page).
	- `cors`: should only be added when the live chat
	is requested from a different origin.

This will make live chat folder structure closer than the one used
in mail and avoid code duplication.

task-3537697

closes odoo/odoo#138536

Signed-off-by: Matthieu Stockbauer (tsm) <tsm@odoo.com>
2023-10-16 07:58:43 +00:00

63 lines
2.2 KiB
Python

# -*- coding: utf-8 -*-
{
'name': 'Website Live Chat',
'category': 'Hidden',
'summary': 'Chat with your website visitors',
'version': '1.0',
'description': """
Allow website visitors to chat with the collaborators. This module also brings a feedback tool for the livechat and web pages to display your channel with its ratings on the website.
""",
'depends': ['website', 'im_livechat'],
'installable': True,
'auto_install': True,
'data': [
'views/website_livechat.xml',
'views/res_config_settings_views.xml',
'views/im_livechat_chatbot_script_view.xml',
'views/website_livechat_view.xml',
'views/website_visitor_views.xml',
'views/im_livechat_channel_add.xml',
'security/ir.model.access.csv',
'security/website_livechat.xml',
'data/website_livechat_data.xml',
],
'demo': [
'data/website_livechat_chatbot_demo.xml',
],
'assets': {
'im_livechat.assets_embed_core': [
'website_livechat/static/src/embed/common/**/*',
],
'website.assets_wysiwyg': [
'website_livechat/static/src/scss/**/*',
],
'website.assets_editor': [
'website_livechat/static/src/js/**/*',
],
'web.assets_backend': [
'website_livechat/static/src/**/*',
('remove', 'website_livechat/static/src/embed/**/*'),
('remove', 'website_livechat/static/src/scss/**/*'),
],
'web.assets_tests': [
'website_livechat/static/tests/tours/**/*',
],
'web.tests_assets': [
'website_livechat/static/tests/helpers/**/*.js',
],
'web.qunit_suite_tests': [
'website_livechat/static/tests/**/*',
('remove', 'website_livechat/static/tests/embed/**/*'),
('remove', 'website_livechat/static/tests/tours/**/*'),
('remove', 'website_livechat/static/tests/helpers/**/*.js'),
],
'im_livechat.embed_test_assets': [
'website_livechat/static/src/embed/**/*',
],
'im_livechat.qunit_embed_suite': [
'website_livechat/static/tests/embed/**/*',
],
},
'license': 'LGPL-3',
}