Skip to content

Commit ad46e68

Browse files
committed
[REM] theme_common: remove dead compatibility asset files
Commit [1] made a mistake when moving compatibility assets: it created a XML file for them but forgot to link it in the manifest, making it be dead code. This was done in version 14.X. Upgrade scripts might have treated the existing file additions (via views) as custom code and converted them but none should be linked to this code anymore. It was compatibility code meant to be removed at some point anyway. Let's just remove the file, and their related asset files. Note that an ir.asset mentioned `/static/src/old_snippets/s_animated_boxes/000.js` but that file was already not even present in the repo (anymore?). [1]: 84ba083 Related to task-2963840 Also see task-3696867 closes #1179 Related: odoo/odoo#235226 Related: odoo/enterprise#99233 Related: odoo/documentation#15239 Signed-off-by: Quentin Smetz (qsm) <[email protected]>
1 parent 66952e5 commit ad46e68

File tree

60 files changed

+1
-3946
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+1
-3946
lines changed

theme_common/data/ir_asset.xml

Lines changed: 0 additions & 482 deletions
This file was deleted.

theme_common/models/theme_common.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,4 @@ class ThemeUtils(models.AbstractModel):
55
_inherit = 'theme.utils'
66

77
def _theme_common_post_copy(self, mod):
8-
# Reset all default color when switching themes
9-
self.disable_asset('theme_common.option_colors_02_variables')
10-
self.disable_asset('theme_common.option_colors_03_variables')
11-
self.disable_asset('theme_common.option_colors_04_variables')
12-
self.disable_asset('theme_common.option_colors_05_variables')
13-
self.disable_asset('theme_common.option_colors_06_variables')
14-
self.disable_asset('theme_common.option_colors_07_variables')
15-
self.disable_asset('theme_common.option_colors_08_variables')
8+
pass

theme_common/static/src/old_snippets/s_animated_boxes/000.scss

Lines changed: 0 additions & 77 deletions
This file was deleted.

theme_common/static/src/old_snippets/s_banner_parallax/000.scss

Lines changed: 0 additions & 55 deletions
This file was deleted.

theme_common/static/src/old_snippets/s_banner_parallax/000_variables.scss

Lines changed: 0 additions & 11 deletions
This file was deleted.

theme_common/static/src/old_snippets/s_big_icons/000.scss

Lines changed: 0 additions & 42 deletions
This file was deleted.

theme_common/static/src/old_snippets/s_big_icons/000_variables.scss

Lines changed: 0 additions & 19 deletions
This file was deleted.

theme_common/static/src/old_snippets/s_big_image/000.scss

Lines changed: 0 additions & 13 deletions
This file was deleted.

theme_common/static/src/old_snippets/s_big_image_parallax/000.scss

Lines changed: 0 additions & 12 deletions
This file was deleted.

theme_common/static/src/old_snippets/s_clonable_boxes/000.scss

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)