[ADD] theme saas-12.3

This commit is contained in:
Design
2021-05-20 10:57:04 +02:00
committed by Jeremy Kersten
commit b759230266
3024 changed files with 68920 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import theme_zap
+22
View File
@@ -0,0 +1,22 @@
from odoo import models
class ThemeZap(models.AbstractModel):
_inherit = 'theme.utils'
def _theme_zap_post_copy(self, mod):
# Change font preset
self.enable_view('website.option_font_title_02_variables')
# Disable treehouse color and font extensions as zap does not use the
# same colors and fonts
self.disable_view('theme_treehouse.option_colors_05_variables')
self.disable_view('theme_treehouse.option_colors_06_variables')
# self.disable_view('theme_treehouse.option_font_dosis_variables') # FIXME
self.disable_view('theme_treehouse.option_font_abel_variables')
self.disable_view('theme_treehouse.option_font_lato_variables')
self.disable_view('theme_treehouse.option_font_karla_variables')
self.disable_view('theme_treehouse.option_font_laila_variables')
self.disable_view('theme_treehouse.option_font_raleway_variables')
self.disable_view('theme_treehouse.option_font_button_lato_variables')
self.disable_view('theme_treehouse.option_font_title_laila_variables')
self.disable_view('theme_treehouse.option_font_title_raleway_variables')