diff options
Diffstat (limited to 'addons/website_event_sale/models/product.py')
| -rw-r--r-- | addons/website_event_sale/models/product.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/addons/website_event_sale/models/product.py b/addons/website_event_sale/models/product.py new file mode 100644 index 00000000..27a2f78e --- /dev/null +++ b/addons/website_event_sale/models/product.py @@ -0,0 +1,10 @@ +# -*- coding: utf-8 -*- + +from odoo import fields, models + + +# defined for access rules +class Product(models.Model): + _inherit = 'product.product' + + event_ticket_ids = fields.One2many('event.event.ticket', 'product_id', string='Event Tickets') |
