* 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.
8 lines
209 B
Python
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')
|