{"action":"closed","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/9078","labels_url":"https://api.github.com/repos/odoo/odoo/issues/9078/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/9078/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/9078/events","html_url":"https://github.com/odoo/odoo/issues/9078","id":111550806,"number":9078,"title":"V9 - Error when confirm employee payslip","user":{"login":"elperrofarelo","id":9564408,"avatar_url":"https://avatars.githubusercontent.com/u/9564408?v=3","gravatar_id":"","url":"https://api.github.com/users/elperrofarelo","html_url":"https://github.com/elperrofarelo","followers_url":"https://api.github.com/users/elperrofarelo/followers","following_url":"https://api.github.com/users/elperrofarelo/following{/other_user}","gists_url":"https://api.github.com/users/elperrofarelo/gists{/gist_id}","starred_url":"https://api.github.com/users/elperrofarelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elperrofarelo/subscriptions","organizations_url":"https://api.github.com/users/elperrofarelo/orgs","repos_url":"https://api.github.com/users/elperrofarelo/repos","events_url":"https://api.github.com/users/elperrofarelo/events{/privacy}","received_events_url":"https://api.github.com/users/elperrofarelo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-15T05:58:41Z","updated_at":"2015-10-15T07:33:06Z","closed_at":"2015-10-15T07:33:06Z","body":"It happens with official Belgium - Payroll with Accounting \r\n```\r\nFile \"/Users/xxx/odoo-9.0-20151014/openerp/addons/hr_payroll_account/hr_payroll_account.py\", line 115, in process_sheet\r\n    'partner_id': hr_payslip_line_pool._get_partner_id(cr, uid, line, credit_account=False, context=context),\r\n  File \"/Users/xxx/odoo-9.0-20151014/openerp/api.py\", line 223, in wrapper\r\n    return old_api(self, *args, **kwargs)\r\n  File \"/Users/xxx/odoo-9.0-20151014/openerp/addons/hr_payroll_account/hr_payroll_account.py\", line 30, in _get_partner_id\r\n    payslip_line.salary_rule_id.account_debit.type in ('receivable', 'payable'):\r\nValueError: \"'account.account' object has no attribute 'type'\" while evaluating\r\nu'process_sheet()'\r\n```"}}