mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
4492c5dfa6
Revamp of `theme_bookstore`. task-4109584 closes odoo/design-themes#862 Related: odoo/odoo#176503 Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
9 lines
206 B
Python
9 lines
206 B
Python
from odoo import models
|
|
|
|
|
|
class ThemeBookstore(models.AbstractModel):
|
|
_inherit = 'theme.utils'
|
|
|
|
def _theme_bookstore_post_copy(self, mod):
|
|
self.enable_view('website.template_header_search')
|