add todo app module
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
from . import theme_common
|
||||
@@ -0,0 +1,15 @@
|
||||
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
|
||||
self.disable_asset('theme_common.option_colors_02_variables')
|
||||
self.disable_asset('theme_common.option_colors_03_variables')
|
||||
self.disable_asset('theme_common.option_colors_04_variables')
|
||||
self.disable_asset('theme_common.option_colors_05_variables')
|
||||
self.disable_asset('theme_common.option_colors_06_variables')
|
||||
self.disable_asset('theme_common.option_colors_07_variables')
|
||||
self.disable_asset('theme_common.option_colors_08_variables')
|
||||
Reference in New Issue
Block a user