website.py 325 B

123456789101112
  1. # -*- coding: utf-8 -*-
  2. # Part of Odoo. See LICENSE file for full copyright and licensing details.
  3. from odoo import models
  4. class Website(models.Model):
  5. _inherit = 'website'
  6. def sale_product_domain(self):
  7. return ['&'] + super(Website, self).sale_product_domain() + [('detailed_type', '!=', 'event_booth')]