{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/4016","labels_url":"https://api.github.com/repos/odoo/odoo/issues/4016/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/4016/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/4016/events","html_url":"https://github.com/odoo/odoo/issues/4016","id":50838042,"number":4016,"title":"Messages: Remove Suggested Users","user":{"login":"qndi","id":5363782,"avatar_url":"https://avatars.githubusercontent.com/u/5363782?v=3","gravatar_id":"","url":"https://api.github.com/users/qndi","html_url":"https://github.com/qndi","followers_url":"https://api.github.com/users/qndi/followers","following_url":"https://api.github.com/users/qndi/following{/other_user}","gists_url":"https://api.github.com/users/qndi/gists{/gist_id}","starred_url":"https://api.github.com/users/qndi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qndi/subscriptions","organizations_url":"https://api.github.com/users/qndi/orgs","repos_url":"https://api.github.com/users/qndi/repos","events_url":"https://api.github.com/users/qndi/events{/privacy}","received_events_url":"https://api.github.com/users/qndi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-03T13:38:22Z","updated_at":"2015-01-02T11:57:11Z","closed_at":"2015-01-02T11:57:11Z","body":"Reproduce:\r\n1. goto \"Messages/Inbox\"\r\n2. click onto the \"x\" on a user at the right box \"Suggested Users\"\r\n\r\nError:\r\n  File \"xx/addons/mail/mail_thread.py\", line 1917, in get_suggested_thread\r\n    thread_ids = self.search(cr, uid, [('id', 'not in', removed_suggested_threads), ('message_is_follower', '=', False)], context=context)\r\n  File xx/openerp/api.py\", line 237, in wrapper\r\n    return old_api(self, *args, **kwargs)\r\n  File \"xx/openerp/models.py\", line 1670, in search\r\n    return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)\r\n  File \"xx/openerp/api.py\", line 237, in wrapper\r\n    return old_api(self, *args, **kwargs)\r\n  File \"xx/openerp/models.py\", line 4539, in _search\r\n    cr.execute(query_str, where_clause_params)\r\n  File \"xx/openerp/sql_db.py\", line 158, in wrapper\r\n    return f(self, *args, **kwargs)\r\n  File \"xx/openerp/sql_db.py\", line 234, in execute\r\n    res = self._obj.execute(query, params)\r\nDataError: invalid input syntax for integer: \"{result.id}\"\r\nLINE 1: ...ctive\" = true)  AND  ((\"hr_employee\".\"id\" not in ('{result.i..."},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/68522171","html_url":"https://github.com/odoo/odoo/issues/4016#issuecomment-68522171","issue_url":"https://api.github.com/repos/odoo/odoo/issues/4016","id":68522171,"user":{"login":"pna-odoo","id":7599574,"avatar_url":"https://avatars.githubusercontent.com/u/7599574?v=3","gravatar_id":"","url":"https://api.github.com/users/pna-odoo","html_url":"https://github.com/pna-odoo","followers_url":"https://api.github.com/users/pna-odoo/followers","following_url":"https://api.github.com/users/pna-odoo/following{/other_user}","gists_url":"https://api.github.com/users/pna-odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/pna-odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pna-odoo/subscriptions","organizations_url":"https://api.github.com/users/pna-odoo/orgs","repos_url":"https://api.github.com/users/pna-odoo/repos","events_url":"https://api.github.com/users/pna-odoo/events{/privacy}","received_events_url":"https://api.github.com/users/pna-odoo/received_events","type":"User","site_admin":false},"created_at":"2015-01-02T11:57:11Z","updated_at":"2015-01-02T11:57:11Z","body":"Not reproduced."}}