[REF] web,*: remove last legacy stuff from several bundles
This commit removes the last low level legacy stuff (e.g. Widget, mixins...) from the backend bundle, and from the webclient bundles of mrp_subcontracting and project. They are no longer used in the backend. There're still necessary for the frontend and for the web_editor though, so we had to manually add them in the lazy loaded bundle of the editor. Hopefully, the last widgets and dialogs will be converted soon, and we'll finally get rid of all those legacy files. Part-of: odoo/odoo#139154
This commit is contained in:
@@ -54,7 +54,6 @@
|
||||
'web/static/src/scss/mimetypes.scss',
|
||||
'web/static/src/scss/ui.scss',
|
||||
'web/static/src/legacy/scss/ui.scss',
|
||||
'web/static/src/legacy/scss/modal.scss',
|
||||
'web/static/src/views/fields/translation_dialog.scss',
|
||||
'web/static/src/scss/fontawesome_overridden.scss',
|
||||
|
||||
|
||||
@@ -104,7 +104,6 @@
|
||||
'web/static/src/scss/mimetypes.scss',
|
||||
'web/static/src/scss/ui.scss',
|
||||
'web/static/src/legacy/scss/ui.scss',
|
||||
'web/static/src/legacy/scss/modal.scss',
|
||||
'web/static/src/views/fields/translation_dialog.scss',
|
||||
'web/static/src/scss/fontawesome_overridden.scss',
|
||||
|
||||
@@ -140,7 +139,6 @@
|
||||
'web/static/src/legacy/js/libs/autocomplete.js',
|
||||
'web/static/src/legacy/js/libs/bootstrap.js',
|
||||
'web/static/src/legacy/js/libs/jquery.js',
|
||||
|
||||
('include', 'web._assets_bootstrap_backend'),
|
||||
|
||||
'base/static/src/css/modules.css',
|
||||
|
||||
@@ -61,7 +61,6 @@ This module provides the core of the Odoo Web Client.
|
||||
'web/static/src/scss/ui.scss',
|
||||
'web/static/src/views/fields/translation_dialog.scss',
|
||||
'web/static/src/legacy/scss/ui.scss',
|
||||
'web/static/src/legacy/scss/modal.scss',
|
||||
|
||||
'web/static/src/legacy/js/promise_extension.js',
|
||||
|
||||
@@ -89,13 +88,6 @@ This module provides the core of the Odoo Web Client.
|
||||
'web/static/src/legacy/js/libs/autocomplete.js',
|
||||
'web/static/src/legacy/js/libs/bootstrap.js',
|
||||
'web/static/src/legacy/js/libs/jquery.js',
|
||||
'web/static/src/legacy/js/core/class.js',
|
||||
'web/static/src/legacy/js/core/dialog.js',
|
||||
'web/static/src/legacy/xml/dialog.xml',
|
||||
'web/static/src/legacy/js/core/dom.js',
|
||||
'web/static/src/legacy/js/core/mixins.js',
|
||||
'web/static/src/legacy/js/core/service_mixins.js',
|
||||
'web/static/src/legacy/js/core/widget.js',
|
||||
|
||||
'base/static/src/css/modules.css',
|
||||
|
||||
|
||||
@@ -98,6 +98,15 @@ Odoo Web Editor widget.
|
||||
'web_editor/static/src/js/editor/odoo-editor/src/checklist.scss',
|
||||
],
|
||||
'web_editor.assets_wysiwyg': [
|
||||
# legacy stuff that are no longer in assets_backend
|
||||
'web/static/src/legacy/js/core/class.js',
|
||||
'web/static/src/legacy/js/core/dialog.js',
|
||||
'web/static/src/legacy/xml/dialog.xml',
|
||||
'web/static/src/legacy/js/core/dom.js',
|
||||
'web/static/src/legacy/js/core/mixins.js',
|
||||
'web/static/src/legacy/js/core/service_mixins.js',
|
||||
'web/static/src/legacy/js/core/widget.js',
|
||||
|
||||
# lib
|
||||
'web_editor/static/lib/cropperjs/cropper.css',
|
||||
'web_editor/static/lib/cropperjs/cropper.js',
|
||||
|
||||
Reference in New Issue
Block a user