@api.model
def _get_default_event_ticket_ids(self):
    product = self.env.ref('event_sale.product_product_event', raise_if_not_found=False)
    if (not product):
        return False
    return [(0, 0, {'name': _('Registration'), 'product_id': product.id, 'price': 0})]
@api.model
def _get_default_event_ticket_ids(self):
    product = self.env.ref('event_sale.product_product_event', raise_if_not_found=False)
    if (not product):
        return False
    return [(0, 0, {'name': _('Registration'), 'product_id': product.id, 'price': 0})]