diff options
| author | Joren Van Onder <jov@odoo.com> | 2015-07-29 11:07:06 +0200 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2015-07-29 20:27:25 +0200 |
| commit | cdd7ab7f56e166f6810968a1716887d0d68c3852 (patch) | |
| tree | 0b30527f9bce898cf1754ace9a6dbe98bd1a3b12 /addons/analytic_user_function/analytic_user_function.py | |
| parent | 6262ad9a996571abed58149f2dfa288d3eac729b (diff) | |
[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().
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions
