- 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.

11 lines
370 B

5 years ago
  1. from odoo import models
  2. class ThemeZap(models.AbstractModel):
  3. _inherit = 'theme.utils'
  4. def _theme_zap_post_copy(self, mod):
  5. # Disable treehouse color extensions as zap does not use the
  6. # same colors
  7. self.disable_view('theme_treehouse.option_colors_05_variables')
  8. self.disable_view('theme_treehouse.option_colors_06_variables')