Files
design-themes/theme_kiddo/models/theme_kiddo.py
T
Brieuc-brd ae199ad589 [IMP] theme_kiddo: redesign of the theme
This commit introduces a redesign of the Kiddo theme.
It also moves 6 svg icons from the "static/src/img/snippets/" to
"static/shapes" to allow the use of the dynamic colors in the Web
Editor.

task-2687297

closes odoo/design-themes#529

Related: odoo/odoo#80658
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2021-12-07 11:00:49 +00:00

15 lines
421 B
Python

from odoo import models
class ThemeKiddo(models.AbstractModel):
_inherit = 'theme.utils'
def _theme_kiddo_post_copy(self, mod):
self.enable_view('website.template_header_default_align_right')
self.disable_view('website.footer_custom')
self.enable_view('website.template_footer_centered')
# For compatibility
# self.enable_asset('theme_common.compatibility_saas_10_1')