- Repo for opensource odoo website theme (since V13.0)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
329 B

  1. from odoo import models
  2. class ThemeYes(models.AbstractModel):
  3. _inherit = 'theme.utils'
  4. def _theme_yes_post_copy(self, mod):
  5. self.disable_view('website.template_footer_call_to_action')
  6. self.enable_view('website.template_header_default')
  7. self.enable_view('website.template_footer_descriptive')