[ADD] theme 12.0

This commit is contained in:
Design
2021-05-11 15:56:19 +02:00
committed by Jeremy Kersten
commit bddf1b03c5
3057 changed files with 69185 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_bistro
+13
View File
@@ -0,0 +1,13 @@
from odoo import models
class ThemeBistro(models.AbstractModel):
_inherit = 'theme.utils'
def _theme_bistro_post_copy(self, mod):
# Change color preset
self.enable_view('theme_common.option_colors_05_variables')
# Change font preset
self.enable_view('website.option_font_body_06_variables')
self.enable_view('website.option_font_title_06_variables')
self.enable_view('website.option_font_button_06_variables')