add todo app module

This commit is contained in:
2025-02-11 17:29:37 +07:00
parent 983b76ba74
commit e87a143169
140 changed files with 6797 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import theme_common
+15
View File
@@ -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')