{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/7682","labels_url":"https://api.github.com/repos/odoo/odoo/issues/7682/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/7682/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/7682/events","html_url":"https://github.com/odoo/odoo/pull/7682","id":96016676,"number":7682,"title":"[FIX] website_event_sale: don't use registry cache for default ticket","user":{"login":"jorenvo","id":10252581,"avatar_url":"https://avatars.githubusercontent.com/u/10252581?v=3","gravatar_id":"","url":"https://api.github.com/users/jorenvo","html_url":"https://github.com/jorenvo","followers_url":"https://api.github.com/users/jorenvo/followers","following_url":"https://api.github.com/users/jorenvo/following{/other_user}","gists_url":"https://api.github.com/users/jorenvo/gists{/gist_id}","starred_url":"https://api.github.com/users/jorenvo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorenvo/subscriptions","organizations_url":"https://api.github.com/users/jorenvo/orgs","repos_url":"https://api.github.com/users/jorenvo/repos","events_url":"https://api.github.com/users/jorenvo/events{/privacy}","received_events_url":"https://api.github.com/users/jorenvo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/odoo/odoo/labels/RDWIP","name":"RDWIP","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-20T08:43:54Z","updated_at":"2015-07-29T18:28:21Z","closed_at":"2015-07-29T18:28:21Z","pull_request":{"url":"https://api.github.com/repos/odoo/odoo/pulls/7682","html_url":"https://github.com/odoo/odoo/pull/7682","diff_url":"https://github.com/odoo/odoo/pull/7682.diff","patch_url":"https://github.com/odoo/odoo/pull/7682.patch"},"body":"Before this request.registry.get('ir.model.data').get_object_reference()\r\nwas used to grab the event_sale.product_product_event record. After\r\ndeletion of this product get_object_reference() would still return the\r\nold id, which upon usage would throw a MissingError exception.\r\n\r\nSo to fix this, bypass the registry caches by using just\r\nrequest.env.ref().\r\n\r\nTASK: https://www.odoo.com/web#id=19616&view_type=form&model=project.task&action=327\r\nPAD: https://pad.odoo.com/p/r.aSQyULesdtZ6QttD"},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/126050321","html_url":"https://github.com/odoo/odoo/pull/7682#issuecomment-126050321","issue_url":"https://api.github.com/repos/odoo/odoo/issues/7682","id":126050321,"user":{"login":"antonylesuisse","id":641600,"avatar_url":"https://avatars.githubusercontent.com/u/641600?v=3","gravatar_id":"","url":"https://api.github.com/users/antonylesuisse","html_url":"https://github.com/antonylesuisse","followers_url":"https://api.github.com/users/antonylesuisse/followers","following_url":"https://api.github.com/users/antonylesuisse/following{/other_user}","gists_url":"https://api.github.com/users/antonylesuisse/gists{/gist_id}","starred_url":"https://api.github.com/users/antonylesuisse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antonylesuisse/subscriptions","organizations_url":"https://api.github.com/users/antonylesuisse/orgs","repos_url":"https://api.github.com/users/antonylesuisse/repos","events_url":"https://api.github.com/users/antonylesuisse/events{/privacy}","received_events_url":"https://api.github.com/users/antonylesuisse/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T18:28:21Z","updated_at":"2015-07-29T18:28:21Z","body":"Merged in cdd7ab7f56e166f6810968a1716887d0d68c3852"}}