{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/8643","labels_url":"https://api.github.com/repos/odoo/odoo/issues/8643/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/8643/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/8643/events","html_url":"https://github.com/odoo/odoo/pull/8643","id":107496846,"number":8643,"title":"[FIX] web: 'child_of' operator","user":{"login":"simongoffin","id":5430156,"avatar_url":"https://avatars.githubusercontent.com/u/5430156?v=3","gravatar_id":"","url":"https://api.github.com/users/simongoffin","html_url":"https://github.com/simongoffin","followers_url":"https://api.github.com/users/simongoffin/followers","following_url":"https://api.github.com/users/simongoffin/following{/other_user}","gists_url":"https://api.github.com/users/simongoffin/gists{/gist_id}","starred_url":"https://api.github.com/users/simongoffin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simongoffin/subscriptions","organizations_url":"https://api.github.com/users/simongoffin/orgs","repos_url":"https://api.github.com/users/simongoffin/repos","events_url":"https://api.github.com/users/simongoffin/events{/privacy}","received_events_url":"https://api.github.com/users/simongoffin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"beledouxdenis","id":5822488,"avatar_url":"https://avatars.githubusercontent.com/u/5822488?v=3","gravatar_id":"","url":"https://api.github.com/users/beledouxdenis","html_url":"https://github.com/beledouxdenis","followers_url":"https://api.github.com/users/beledouxdenis/followers","following_url":"https://api.github.com/users/beledouxdenis/following{/other_user}","gists_url":"https://api.github.com/users/beledouxdenis/gists{/gist_id}","starred_url":"https://api.github.com/users/beledouxdenis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beledouxdenis/subscriptions","organizations_url":"https://api.github.com/users/beledouxdenis/orgs","repos_url":"https://api.github.com/users/beledouxdenis/repos","events_url":"https://api.github.com/users/beledouxdenis/events{/privacy}","received_events_url":"https://api.github.com/users/beledouxdenis/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-09-21T12:06:04Z","updated_at":"2015-09-21T17:29:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/odoo/odoo/pulls/8643","html_url":"https://github.com/odoo/odoo/pull/8643","diff_url":"https://github.com/odoo/odoo/pull/8643.diff","patch_url":"https://github.com/odoo/odoo/pull/8643.patch"},"body":"When making a search_read with the operator 'child_of' in the domain,\r\nif the Many2one field linked with the 'child_of' operator is trying to\r\nfind the descendents of a record which doesn't exist in the db, the result\r\nwas all the records of the model requested.\r\nThe right behaviour is to return no result in this case.\r\n\r\nopw:649548"},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/142050110","html_url":"https://github.com/odoo/odoo/pull/8643#issuecomment-142050110","issue_url":"https://api.github.com/repos/odoo/odoo/issues/8643","id":142050110,"user":{"login":"beledouxdenis","id":5822488,"avatar_url":"https://avatars.githubusercontent.com/u/5822488?v=3","gravatar_id":"","url":"https://api.github.com/users/beledouxdenis","html_url":"https://github.com/beledouxdenis","followers_url":"https://api.github.com/users/beledouxdenis/followers","following_url":"https://api.github.com/users/beledouxdenis/following{/other_user}","gists_url":"https://api.github.com/users/beledouxdenis/gists{/gist_id}","starred_url":"https://api.github.com/users/beledouxdenis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beledouxdenis/subscriptions","organizations_url":"https://api.github.com/users/beledouxdenis/orgs","repos_url":"https://api.github.com/users/beledouxdenis/repos","events_url":"https://api.github.com/users/beledouxdenis/events{/privacy}","received_events_url":"https://api.github.com/users/beledouxdenis/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T17:29:24Z","updated_at":"2015-09-21T17:29:24Z","body":"@odony , I would like your opinion on this one.\r\n\r\nFirstly, I am not even sure we consider this as a bug.\r\n\r\nFor a practical example: In the products list, if you search on Internal Category, with something that doesn't exist( like, Internal Category: aaaaa on runbot), it returns all products, while none would make more sense."}}