{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/22540","repository_url":"https://api.github.com/repos/odoo/odoo","labels_url":"https://api.github.com/repos/odoo/odoo/issues/22540/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/22540/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/22540/events","html_url":"https://github.com/odoo/odoo/issues/22540","id":291831435,"node_id":"MDU6SXNzdWUyOTE4MzE0MzU=","number":22540,"title":"[11.0] External API - Report printing is not working in 11","user":{"login":"wai","id":665239,"node_id":"MDQ6VXNlcjY2NTIzOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/665239?v=4","gravatar_id":"","url":"https://api.github.com/users/wai","html_url":"https://github.com/wai","followers_url":"https://api.github.com/users/wai/followers","following_url":"https://api.github.com/users/wai/following{/other_user}","gists_url":"https://api.github.com/users/wai/gists{/gist_id}","starred_url":"https://api.github.com/users/wai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wai/subscriptions","organizations_url":"https://api.github.com/users/wai/orgs","repos_url":"https://api.github.com/users/wai/repos","events_url":"https://api.github.com/users/wai/events{/privacy}","received_events_url":"https://api.github.com/users/wai/received_events","type":"User","site_admin":false},"labels":[{"id":712046675,"node_id":"MDU6TGFiZWw3MTIwNDY2NzU=","url":"https://api.github.com/repos/odoo/odoo/labels/11.0","name":"11.0","color":"f1d91f","default":false},{"id":616698546,"node_id":"MDU6TGFiZWw2MTY2OTg1NDY=","url":"https://api.github.com/repos/odoo/odoo/labels/Framework","name":"Framework","color":"E5E970","default":false}],"state":"closed","locked":false,"assignee":{"login":"smetl","id":21679159,"node_id":"MDQ6VXNlcjIxNjc5MTU5","avatar_url":"https://avatars0.githubusercontent.com/u/21679159?v=4","gravatar_id":"","url":"https://api.github.com/users/smetl","html_url":"https://github.com/smetl","followers_url":"https://api.github.com/users/smetl/followers","following_url":"https://api.github.com/users/smetl/following{/other_user}","gists_url":"https://api.github.com/users/smetl/gists{/gist_id}","starred_url":"https://api.github.com/users/smetl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smetl/subscriptions","organizations_url":"https://api.github.com/users/smetl/orgs","repos_url":"https://api.github.com/users/smetl/repos","events_url":"https://api.github.com/users/smetl/events{/privacy}","received_events_url":"https://api.github.com/users/smetl/received_events","type":"User","site_admin":false},"assignees":[{"login":"smetl","id":21679159,"node_id":"MDQ6VXNlcjIxNjc5MTU5","avatar_url":"https://avatars0.githubusercontent.com/u/21679159?v=4","gravatar_id":"","url":"https://api.github.com/users/smetl","html_url":"https://github.com/smetl","followers_url":"https://api.github.com/users/smetl/followers","following_url":"https://api.github.com/users/smetl/following{/other_user}","gists_url":"https://api.github.com/users/smetl/gists{/gist_id}","starred_url":"https://api.github.com/users/smetl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smetl/subscriptions","organizations_url":"https://api.github.com/users/smetl/orgs","repos_url":"https://api.github.com/users/smetl/repos","events_url":"https://api.github.com/users/smetl/events{/privacy}","received_events_url":"https://api.github.com/users/smetl/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-01-26T08:36:53Z","updated_at":"2018-11-18T05:58:58Z","closed_at":"2018-03-29T13:25:42Z","author_association":"NONE","body":"Impacted versions:\r\nV11.0\r\n\r\nSteps to reproduce:\r\nhttps://www.odoo.com/documentation/11.0/webservices/odoo.html#report-printing\r\n\r\nCurrent behavior:\r\n```\r\nCaused by: org.apache.xmlrpc.XmlRpcException: Traceback (most recent call last):\r\n  File \"C:\\Program Files (x86)\\Odoo 11.0\\server\\odoo\\service\\wsgi_server.py\", line 124, in wsgi_xmlrpc\r\n    result = odoo.http.dispatch_rpc(service, method, params)\r\n  File \"C:\\Program Files (x86)\\Odoo 11.0\\server\\odoo\\http.py\", line 115, in dispatch_rpc\r\n    result = dispatch(method, params)\r\nUnboundLocalError: local variable 'dispatch' referenced before assignment\r\n```\r\nWorking in V10, but in V11 same code got this error. It seems like missing service \"report\" to define the dispatch function \r\n\r\nExpected behavior:\r\nreport sent as PDF binary data encoded in base64"},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/439670034","html_url":"https://github.com/odoo/odoo/issues/22540#issuecomment-439670034","issue_url":"https://api.github.com/repos/odoo/odoo/issues/22540","id":439670034,"node_id":"MDEyOklzc3VlQ29tbWVudDQzOTY3MDAzNA==","user":{"login":"jeffery9","id":1404460,"node_id":"MDQ6VXNlcjE0MDQ0NjA=","avatar_url":"https://avatars1.githubusercontent.com/u/1404460?v=4","gravatar_id":"","url":"https://api.github.com/users/jeffery9","html_url":"https://github.com/jeffery9","followers_url":"https://api.github.com/users/jeffery9/followers","following_url":"https://api.github.com/users/jeffery9/following{/other_user}","gists_url":"https://api.github.com/users/jeffery9/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffery9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffery9/subscriptions","organizations_url":"https://api.github.com/users/jeffery9/orgs","repos_url":"https://api.github.com/users/jeffery9/repos","events_url":"https://api.github.com/users/jeffery9/events{/privacy}","received_events_url":"https://api.github.com/users/jeffery9/received_events","type":"User","site_admin":false},"created_at":"2018-11-18T05:58:58Z","updated_at":"2018-11-18T05:58:58Z","author_association":"CONTRIBUTOR","body":"i think mostly use action `ir.actions.report`, and  `/report/` endpoint for api call."}}
{"actor":{"display_login":"jeffery9"}}