{"action":"opened","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/6995","labels_url":"https://api.github.com/repos/odoo/odoo/issues/6995/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/6995/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/6995/events","html_url":"https://github.com/odoo/odoo/issues/6995","id":86371763,"number":6995,"title":"Decorated function executed even no module installed","user":{"login":"agb80","id":911891,"avatar_url":"https://avatars.githubusercontent.com/u/911891?v=3","gravatar_id":"","url":"https://api.github.com/users/agb80","html_url":"https://github.com/agb80","followers_url":"https://api.github.com/users/agb80/followers","following_url":"https://api.github.com/users/agb80/following{/other_user}","gists_url":"https://api.github.com/users/agb80/gists{/gist_id}","starred_url":"https://api.github.com/users/agb80/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agb80/subscriptions","organizations_url":"https://api.github.com/users/agb80/orgs","repos_url":"https://api.github.com/users/agb80/repos","events_url":"https://api.github.com/users/agb80/events{/privacy}","received_events_url":"https://api.github.com/users/agb80/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-08T23:35:01Z","updated_at":"2015-06-08T23:35:01Z","closed_at":null,"body":"Specifically I have the problem with module report_custom_filename from here: https://github.com/OCA/reporting-engine/tree/7.0/report_custom_filename\r\n\r\nDownloaded the entire repo as we need one of the modules cotained on it, add the entire folder to the addons path and after that start getting some errors because of the function with @http.httprequest decorator on https://github.com/OCA/reporting-engine/blob/7.0/report_custom_filename/controllers/reports.py#L29 is being executed\r\n\r\nSimple solution is delete the unused module from addons folder, but wonder why it is executing the decorated function"}}