{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/12500","repository_url":"https://api.github.com/repos/odoo/odoo","labels_url":"https://api.github.com/repos/odoo/odoo/issues/12500/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/12500/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/12500/events","html_url":"https://github.com/odoo/odoo/pull/12500","id":161212832,"number":12500,"title":"[IMP] only offer products that can be purchased","user":{"login":"hbrunn","id":2563186,"avatar_url":"https://avatars.githubusercontent.com/u/2563186?v=3","gravatar_id":"","url":"https://api.github.com/users/hbrunn","html_url":"https://github.com/hbrunn","followers_url":"https://api.github.com/users/hbrunn/followers","following_url":"https://api.github.com/users/hbrunn/following{/other_user}","gists_url":"https://api.github.com/users/hbrunn/gists{/gist_id}","starred_url":"https://api.github.com/users/hbrunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbrunn/subscriptions","organizations_url":"https://api.github.com/users/hbrunn/orgs","repos_url":"https://api.github.com/users/hbrunn/repos","events_url":"https://api.github.com/users/hbrunn/events{/privacy}","received_events_url":"https://api.github.com/users/hbrunn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-20T14:47:25Z","updated_at":"2016-06-20T14:59:00Z","closed_at":"2016-06-20T14:56:58Z","pull_request":{"url":"https://api.github.com/repos/odoo/odoo/pulls/12500","html_url":"https://github.com/odoo/odoo/pull/12500","diff_url":"https://github.com/odoo/odoo/pull/12500.diff","patch_url":"https://github.com/odoo/odoo/pull/12500.patch"},"body":"Description of the issue/feature this PR addresses: Choosing products in purchase orders should be restricted to purchasable products offered by the supplier in question\r\n\r\nCurrent behavior before PR: You can select any product\r\n\r\nDesired behavior after PR is merged: You can only select products that have `purchase_ok == True` and the relevant partner as supplier.\r\n\r\n--\r\nI confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr\r\n"},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/227167894","html_url":"https://github.com/odoo/odoo/pull/12500#issuecomment-227167894","issue_url":"https://api.github.com/repos/odoo/odoo/issues/12500","id":227167894,"user":{"login":"hbrunn","id":2563186,"avatar_url":"https://avatars.githubusercontent.com/u/2563186?v=3","gravatar_id":"","url":"https://api.github.com/users/hbrunn","html_url":"https://github.com/hbrunn","followers_url":"https://api.github.com/users/hbrunn/followers","following_url":"https://api.github.com/users/hbrunn/following{/other_user}","gists_url":"https://api.github.com/users/hbrunn/gists{/gist_id}","starred_url":"https://api.github.com/users/hbrunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hbrunn/subscriptions","organizations_url":"https://api.github.com/users/hbrunn/orgs","repos_url":"https://api.github.com/users/hbrunn/repos","events_url":"https://api.github.com/users/hbrunn/events{/privacy}","received_events_url":"https://api.github.com/users/hbrunn/received_events","type":"User","site_admin":false},"created_at":"2016-06-20T14:59:00Z","updated_at":"2016-06-20T14:59:00Z","body":"thanks for the explanation"}}
{"actor":{"display_login":"hbrunn"}}