{"action":"closed","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/5460","labels_url":"https://api.github.com/repos/odoo/odoo/issues/5460/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/5460/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/5460/events","html_url":"https://github.com/odoo/odoo/issues/5460","id":58894948,"number":5460,"title":"Update model fails for hr.employee object","user":{"login":"peterchibunna","id":2616804,"avatar_url":"https://avatars.githubusercontent.com/u/2616804?v=3","gravatar_id":"","url":"https://api.github.com/users/peterchibunna","html_url":"https://github.com/peterchibunna","followers_url":"https://api.github.com/users/peterchibunna/followers","following_url":"https://api.github.com/users/peterchibunna/following{/other_user}","gists_url":"https://api.github.com/users/peterchibunna/gists{/gist_id}","starred_url":"https://api.github.com/users/peterchibunna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterchibunna/subscriptions","organizations_url":"https://api.github.com/users/peterchibunna/orgs","repos_url":"https://api.github.com/users/peterchibunna/repos","events_url":"https://api.github.com/users/peterchibunna/events{/privacy}","received_events_url":"https://api.github.com/users/peterchibunna/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-25T12:38:49Z","updated_at":"2015-02-25T17:16:17Z","closed_at":"2015-02-25T17:16:17Z","body":"I tried to update an employee details from the xmlrpc. It fails with the error message\r\n\r\n```\r\nopenerp.netsvc: write() takes exactly 6 arguments (5 given)\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python2.7/dist-packages/openerp-7.0_20150225-py2.7.egg/openerp/netsvc.py\", line 296, in dispatch_rpc\r\n    result = ExportService.getService(service_name).dispatch(method, params)\r\n  File \"/usr/local/lib/python2.7/dist-packages/openerp-7.0_20150225-py2.7.egg/openerp/service/web_services.py\", line 632, in dispatch\r\n    res = fn(db, uid, *params)\r\n  File \"/usr/local/lib/python2.7/dist-packages/openerp-7.0_20150225-py2.7.egg/openerp/osv/osv.py\", line 132, in wrapper\r\n    return f(self, dbname, *args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/openerp-7.0_20150225-py2.7.egg/openerp/osv/osv.py\", line 199, in execute\r\n    res = self.execute_cr(cr, uid, obj, method, *args, **kw)\r\n  File \"/usr/local/lib/python2.7/dist-packages/openerp-7.0_20150225-py2.7.egg/openerp/addons/audittrail/audittrail.py\", line 532, in execute_cr\r\n    return fct_src(cr, uid, model, method, *args, **kw)\r\n  File \"/usr/local/lib/python2.7/dist-packages/openerp-7.0_20150225-py2.7.egg/openerp/osv/osv.py\", line 187, in execute_cr\r\n    return getattr(object, method)(cr, uid, *args, **kw)\r\nTypeError: write() takes exactly 6 arguments (5 given)\r\n```\r\n\r\nMeanwhile, I have audit rules monitoring the `hr.employee` object. I unsubscribed the rule, It still fails. I delete the rule, It still fails. "}}