8 lines
196 B
Python
8 lines
196 B
Python
from odoo import fields, models
|
|
|
|
|
|
class Product(models.Model):
|
|
_inherit = 'product.product'
|
|
|
|
event_ticket_ids = fields.One2many('event.event.ticket', 'product_id', string='Event Tickets')
|