[ADD] theme saas-13.5

This commit is contained in:
Design
2021-05-12 08:27:59 +02:00
committed by Jeremy Kersten
commit 1052f84b4a
2327 changed files with 55908 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
from odoo import models
class ThemeCommon(models.AbstractModel):
_inherit = 'theme.utils'
def _theme_common_post_copy(self, mod):
# Reset all default color when switching themes
for nb in range(2, 9):
self.disable_view('theme_common.option_colors_%02d_variables' % nb)
# For compatibility
# self.enable_view('theme_common.compatibility-saas-11-4-variables')
# self.enable_view('theme_common.compatibility-saas-11-4')