[IMP] event_sale: remove unused field

Part-of: odoo/odoo#110833
This commit is contained in:
Victor Feyens
2023-02-03 05:09:06 +01:00
parent 68470b80a8
commit 323938f1aa
@@ -14,13 +14,6 @@ class SaleOrderLine(models.Model):
'event.event.ticket', string='Event Ticket',
compute="_compute_event_ticket_id", store=True, readonly=False, precompute=True,
help="Choose an event ticket and it will automatically create a registration for this event ticket.")
# TODO in master: remove this field, unused anymore
event_ok = fields.Boolean(compute='_compute_event_ok')
@api.depends('product_id.detailed_type')
def _compute_event_ok(self):
for record in self:
record.event_ok = record.product_id.detailed_type == 'event'
@api.depends('state', 'event_id')
def _compute_product_uom_readonly(self):