Files
odoo_source/addons/theme_default/models/theme_default.py
T
qsm-odoo a0fed1c719 [REF] website_theme_install, *: add theme.utils utility methods
* theme_bootswatch, theme_default

Allow to disable/enable a view from a xml_id whether the xml_id is
linked to an ir.ui.view or a theme.ir.ui.view.
2018-09-04 17:43:45 +02:00

8 lines
209 B
Python

from odoo import models
class ThemeDefault(models.AbstractModel):
_inherit = 'theme.utils'
def _theme_default_post_copy(self, mod):
self.disable_view('website_theme_install.customize_modal')