mirror of
https://github.com/bringout/oca-ocb-web.git
synced 2026-04-18 05:32:03 +02:00
web_editor was removed in Odoo 19.0 and replaced by html_editor
and html_builder. The old web_editor was incorrectly included in
the 19.0 vanilla import.
🤖 assisted by claude
70 lines
2.7 KiB
Python
70 lines
2.7 KiB
Python
{
|
|
'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',
|
|
|
|
# any module necessary for this one to work correctly
|
|
# so stupid that we need to use the stupid defineMailModel helper, so we need
|
|
# to depend on mail
|
|
'depends': ['base', 'html_editor', 'mail'],
|
|
|
|
'assets': {
|
|
'web._assets_primary_variables': [
|
|
'html_builder/static/src/**/*.variables.scss',
|
|
],
|
|
# this bundle is lazy loaded when the editor is ready
|
|
'html_builder.assets': [
|
|
('include', 'web._assets_helpers'),
|
|
|
|
'html_editor/static/src/scss/bootstrap_overridden.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',
|
|
'web/static/fonts/fonts.scss',
|
|
'html_builder/static/src/**/*',
|
|
('remove', 'html_builder/static/src/**/*.edit.*'),
|
|
('remove', 'html_builder/static/src/**/*.dark.scss'),
|
|
],
|
|
'web.assets_frontend': [
|
|
'html_builder/static/src/scss/background.scss'
|
|
],
|
|
'web.assets_web_dark': [
|
|
'html_builder/static/src/**/*.dark.scss',
|
|
],
|
|
'html_builder.assets_inside_builder_iframe': [
|
|
('include', 'web._assets_helpers'),
|
|
|
|
'web/static/src/scss/bootstrap_overridden.scss',
|
|
'html_builder/static/src/**/*.edit.*',
|
|
'html_editor/static/src/main/chatgpt/chatgpt_plugin.scss',
|
|
'html_editor/static/src/main/link/link.scss',
|
|
],
|
|
'html_builder.iframe_add_dialog': [
|
|
('include', 'web._assets_helpers'),
|
|
('include', 'web._assets_frontend_helpers'),
|
|
'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/snippets/snippet_viewer.scss',
|
|
],
|
|
'web.assets_unit_tests': [
|
|
'html_builder/static/tests/**/*',
|
|
('include', 'html_builder.assets'),
|
|
],
|
|
},
|
|
'license': 'LGPL-3',
|
|
}
|