Files
design-themes/theme_bookstore/models/theme_bookstore.py
T
qsm-odoo 060c0421c7 [IMP] *: replace contact by sales_three header
See community commit for details.

task-3060986

Part-of: odoo/design-themes#651
2023-10-25 11:37:10 +00:00

10 lines
267 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_sales_two')
self.enable_view('website.template_footer_links')