diff options
Diffstat (limited to 'addons/theme_bootswatch/models/theme_bootswatch.py')
| -rw-r--r-- | addons/theme_bootswatch/models/theme_bootswatch.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/addons/theme_bootswatch/models/theme_bootswatch.py b/addons/theme_bootswatch/models/theme_bootswatch.py new file mode 100644 index 00000000000..dac7c310f46 --- /dev/null +++ b/addons/theme_bootswatch/models/theme_bootswatch.py @@ -0,0 +1,7 @@ +from odoo import models + +class ThemeBootswatch(models.AbstractModel): + _inherit = 'theme.utils' + + def _theme_bootswatch_post_copy(self, mod): + self.env.ref('website_theme_install.customize_modal').write({'active': False}); |
