-
- Downloads
[FIX] website_event_sale: don't use registry cache for default ticket
Before this request.registry.get('ir.model.data').get_object_reference() was used to grab the event_sale.product_product_event record. After deletion of this product get_object_reference() would still return the old id, which upon usage would throw a MissingError exception. So to fix this, bypass the registry caches by using just request.env.ref().
Please register or sign in to comment