mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
bea6e96b91
This commit updates the theme to improve the design with new colors, new
pictures and new snippet customizations.
task-2557935
X-original-commit: 1f632d8dd7
Part-of: odoo/design-themes#501
14 lines
379 B
Python
14 lines
379 B
Python
from odoo import models
|
|
|
|
|
|
class ThemeBookstore(models.AbstractModel):
|
|
_inherit = 'theme.utils'
|
|
|
|
def _theme_bookstore_post_copy(self, mod):
|
|
self.disable_view('website.template_header_default')
|
|
self.disable_view('website.footer_custom')
|
|
|
|
self.enable_view('website.template_header_contact')
|
|
self.enable_view('website.template_footer_links')
|
|
|