| 1 | # -*- coding: utf-8 -*- |
| 2 | # Part of Odoo. See LICENSE file for full copyright and licensing details. |
| 3 | |
| 4 | from odoo import api, models |
| 5 | |
| 6 | |
| 7 | class ProductTemplate(models.Model): |
| 8 | _inherit = 'product.template' |
| 9 | |
| 10 | @api.model |
| 11 | def _get_product_types_allow_zero_price(self): |
| 12 | return super()._get_product_types_allow_zero_price() + ["event_booth"] |