{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/8459","labels_url":"https://api.github.com/repos/odoo/odoo/issues/8459/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/8459/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/8459/events","html_url":"https://github.com/odoo/odoo/pull/8459","id":105600607,"number":8459,"title":"[FIX] hr: fix hr.department name_get","user":{"login":"gurneyalex","id":2032807,"avatar_url":"https://avatars.githubusercontent.com/u/2032807?v=3","gravatar_id":"","url":"https://api.github.com/users/gurneyalex","html_url":"https://github.com/gurneyalex","followers_url":"https://api.github.com/users/gurneyalex/followers","following_url":"https://api.github.com/users/gurneyalex/following{/other_user}","gists_url":"https://api.github.com/users/gurneyalex/gists{/gist_id}","starred_url":"https://api.github.com/users/gurneyalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gurneyalex/subscriptions","organizations_url":"https://api.github.com/users/gurneyalex/orgs","repos_url":"https://api.github.com/users/gurneyalex/repos","events_url":"https://api.github.com/users/gurneyalex/events{/privacy}","received_events_url":"https://api.github.com/users/gurneyalex/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-09T13:50:28Z","updated_at":"2015-10-09T07:47:09Z","closed_at":"2015-10-09T07:31:40Z","pull_request":{"url":"https://api.github.com/repos/odoo/odoo/pulls/8459","html_url":"https://github.com/odoo/odoo/pull/8459","diff_url":"https://github.com/odoo/odoo/pull/8459.diff","patch_url":"https://github.com/odoo/odoo/pull/8459.patch"},"body":"hr.department name_get would crash when called with a single id because the call to read would return a single dict instead of a list of dicts. "},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/146783416","html_url":"https://github.com/odoo/odoo/pull/8459#issuecomment-146783416","issue_url":"https://api.github.com/repos/odoo/odoo/issues/8459","id":146783416,"user":{"login":"mart-e","id":564822,"avatar_url":"https://avatars.githubusercontent.com/u/564822?v=3","gravatar_id":"","url":"https://api.github.com/users/mart-e","html_url":"https://github.com/mart-e","followers_url":"https://api.github.com/users/mart-e/followers","following_url":"https://api.github.com/users/mart-e/following{/other_user}","gists_url":"https://api.github.com/users/mart-e/gists{/gist_id}","starred_url":"https://api.github.com/users/mart-e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mart-e/subscriptions","organizations_url":"https://api.github.com/users/mart-e/orgs","repos_url":"https://api.github.com/users/mart-e/repos","events_url":"https://api.github.com/users/mart-e/events{/privacy}","received_events_url":"https://api.github.com/users/mart-e/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T07:47:09Z","updated_at":"2015-10-09T07:47:09Z","body":"@gurneyalex I think we shouldn't get this anymore when porting to the new api. But indeed fixing the call is also a good idea. Will try to find it."}}