mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
ae199ad589
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>
15 lines
421 B
Python
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')
|