Files
design-themes/theme_bookstore/models/theme_bookstore.py
T

9 lines
204 B
Python
Raw Normal View History

2021-05-10 15:45:35 +02:00
from odoo import models
class ThemeUtils(models.AbstractModel):
_inherit = ['theme.utils']
2021-05-10 15:45:35 +02:00
def _theme_bookstore_post_copy(self, mod):
2024-08-12 11:57:54 +02:00
self.enable_view('website.template_header_search')