-
Notifications
You must be signed in to change notification settings - Fork 116
/
Copy path__manifest__.py
78 lines (71 loc) · 3.06 KB
/
__manifest__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# -*- coding: utf-8 -*-
{
'name': "HTML Builder",
'summary': "Generic html builder",
'description': """
This addon contains a generic html builder application. It is designed to be
used by the website builder and mass mailing editor.
""",
'author': "Odoo",
'website': "https://www.odoo.com",
# Categories can be used to filter modules in modules listing
# Check https://github.com/odoo/odoo/blob/15.0/odoo/addons/base/data/ir_module_category_data.xml
# for the full list
'category': 'Uncategorized',
'version': '0.1',
'auto_install': True,
# any module necessary for this one to work correctly
'depends': ['base', 'html_editor', 'website'],
# always loaded
'data': [
# 'security/ir.model.access.csv',
'views/views.xml',
],
'assets': {
'web.assets_backend': [
'html_builder/static/src/website_preview/**/*',
],
# this bundle is lazy loaded when the editor is ready
'html_builder.assets': [
('include', 'web._assets_helpers'),
'html_builder/static/src/bootstrap_overriden.scss',
'web/static/src/scss/pre_variables.scss',
'web/static/lib/bootstrap/scss/_variables.scss',
'web/static/lib/bootstrap/scss/_variables-dark.scss',
'web/static/lib/bootstrap/scss/_maps.scss',
'html_builder/static/src/**/*',
('remove', 'html_builder/static/src/website_preview/**/*'),
('remove', 'html_builder/static/src/website_builder/plugins/website_edit_service.js'),
('remove', 'html_builder/static/src/interactions/**/*'),
],
'html_builder.inside_builder_style': [
('include', 'web._assets_helpers'),
('include', 'web._assets_primary_variables'),
'web/static/src/scss/bootstrap_overridden.scss',
'html_builder/static/src/**/*.inside.scss',
],
'html_builder.assets_edit_frontend': [
('include', 'website.assets_edit_frontend'),
# website_edit_service must reference the right history
('replace', 'website/static/src/core/website_edit_service.js', 'html_builder/static/src/website_builder/plugins/website_edit_service.js'),
# this imports website_edit_service from its old location, let's get rid of it
('remove', 'website/static/src/interactions/carousel/carousel_bootstrap_upgrade_fix.edit.js'),
],
'html_builder.iframe_add_dialog': [
('include', 'web.assets_frontend'),
'html_builder/static/src/snippets/snippet_viewer.scss'
],
'web.assets_unit_tests': [
'html_builder/static/tests/**/*',
('include', 'html_builder.assets'),
],
'web.assets_frontend': [
'html_builder/static/src/interactions/**/*',
('remove', 'html_builder/static/src/interactions/**/*.edit.*'),
],
'website.assets_edit_frontend': [
'html_builder/static/src/interactions/**/*.edit.*',
],
},
'license': 'LGPL-3',
}