{"action":"opened","number":61,"pull_request":{"url":"https://api.github.com/repos/OCA/product-attribute/pulls/61","id":31939749,"html_url":"https://github.com/OCA/product-attribute/pull/61","diff_url":"https://github.com/OCA/product-attribute/pull/61.diff","patch_url":"https://github.com/OCA/product-attribute/pull/61.patch","issue_url":"https://api.github.com/repos/OCA/product-attribute/issues/61","number":61,"state":"open","locked":false,"title":"product_pricelist_fixed_price : allow to write only one id","user":{"login":"laetitia-gangloff","id":7602419,"avatar_url":"https://avatars.githubusercontent.com/u/7602419?v=3","gravatar_id":"","url":"https://api.github.com/users/laetitia-gangloff","html_url":"https://github.com/laetitia-gangloff","followers_url":"https://api.github.com/users/laetitia-gangloff/followers","following_url":"https://api.github.com/users/laetitia-gangloff/following{/other_user}","gists_url":"https://api.github.com/users/laetitia-gangloff/gists{/gist_id}","starred_url":"https://api.github.com/users/laetitia-gangloff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laetitia-gangloff/subscriptions","organizations_url":"https://api.github.com/users/laetitia-gangloff/orgs","repos_url":"https://api.github.com/users/laetitia-gangloff/repos","events_url":"https://api.github.com/users/laetitia-gangloff/events{/privacy}","received_events_url":"https://api.github.com/users/laetitia-gangloff/received_events","type":"User","site_admin":false},"body":"Write method can have one or many  ids.\r\nI add a check on the write to always convert ids in a list.","created_at":"2015-03-25T16:29:14Z","updated_at":"2015-03-25T16:29:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OCA/product-attribute/pulls/61/commits","review_comments_url":"https://api.github.com/repos/OCA/product-attribute/pulls/61/comments","review_comment_url":"https://api.github.com/repos/OCA/product-attribute/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/product-attribute/issues/61/comments","statuses_url":"https://api.github.com/repos/OCA/product-attribute/statuses/173a354f5a963a8cef46a5f87cfe1a79ba04cc86","head":{"label":"acsone:7.0-product_pricelist_fixed_price-lga","ref":"7.0-product_pricelist_fixed_price-lga","sha":"173a354f5a963a8cef46a5f87cfe1a79ba04cc86","user":{"login":"acsone","id":7601056,"avatar_url":"https://avatars.githubusercontent.com/u/7601056?v=3","gravatar_id":"","url":"https://api.github.com/users/acsone","html_url":"https://github.com/acsone","followers_url":"https://api.github.com/users/acsone/followers","following_url":"https://api.github.com/users/acsone/following{/other_user}","gists_url":"https://api.github.com/users/acsone/gists{/gist_id}","starred_url":"https://api.github.com/users/acsone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acsone/subscriptions","organizations_url":"https://api.github.com/users/acsone/orgs","repos_url":"https://api.github.com/users/acsone/repos","events_url":"https://api.github.com/users/acsone/events{/privacy}","received_events_url":"https://api.github.com/users/acsone/received_events","type":"Organization","site_admin":false},"repo":{"id":21644928,"name":"product-attribute","full_name":"acsone/product-attribute","owner":{"login":"acsone","id":7601056,"avatar_url":"https://avatars.githubusercontent.com/u/7601056?v=3","gravatar_id":"","url":"https://api.github.com/users/acsone","html_url":"https://github.com/acsone","followers_url":"https://api.github.com/users/acsone/followers","following_url":"https://api.github.com/users/acsone/following{/other_user}","gists_url":"https://api.github.com/users/acsone/gists{/gist_id}","starred_url":"https://api.github.com/users/acsone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acsone/subscriptions","organizations_url":"https://api.github.com/users/acsone/orgs","repos_url":"https://api.github.com/users/acsone/repos","events_url":"https://api.github.com/users/acsone/events{/privacy}","received_events_url":"https://api.github.com/users/acsone/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/acsone/product-attribute","description":"","fork":true,"url":"https://api.github.com/repos/acsone/product-attribute","forks_url":"https://api.github.com/repos/acsone/product-attribute/forks","keys_url":"https://api.github.com/repos/acsone/product-attribute/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acsone/product-attribute/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acsone/product-attribute/teams","hooks_url":"https://api.github.com/repos/acsone/product-attribute/hooks","issue_events_url":"https://api.github.com/repos/acsone/product-attribute/issues/events{/number}","events_url":"https://api.github.com/repos/acsone/product-attribute/events","assignees_url":"https://api.github.com/repos/acsone/product-attribute/assignees{/user}","branches_url":"https://api.github.com/repos/acsone/product-attribute/branches{/branch}","tags_url":"https://api.github.com/repos/acsone/product-attribute/tags","blobs_url":"https://api.github.com/repos/acsone/product-attribute/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acsone/product-attribute/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acsone/product-attribute/git/refs{/sha}","trees_url":"https://api.github.com/repos/acsone/product-attribute/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acsone/product-attribute/statuses/{sha}","languages_url":"https://api.github.com/repos/acsone/product-attribute/languages","stargazers_url":"https://api.github.com/repos/acsone/product-attribute/stargazers","contributors_url":"https://api.github.com/repos/acsone/product-attribute/contributors","subscribers_url":"https://api.github.com/repos/acsone/product-attribute/subscribers","subscription_url":"https://api.github.com/repos/acsone/product-attribute/subscription","commits_url":"https://api.github.com/repos/acsone/product-attribute/commits{/sha}","git_commits_url":"https://api.github.com/repos/acsone/product-attribute/git/commits{/sha}","comments_url":"https://api.github.com/repos/acsone/product-attribute/comments{/number}","issue_comment_url":"https://api.github.com/repos/acsone/product-attribute/issues/comments{/number}","contents_url":"https://api.github.com/repos/acsone/product-attribute/contents/{+path}","compare_url":"https://api.github.com/repos/acsone/product-attribute/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acsone/product-attribute/merges","archive_url":"https://api.github.com/repos/acsone/product-attribute/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acsone/product-attribute/downloads","issues_url":"https://api.github.com/repos/acsone/product-attribute/issues{/number}","pulls_url":"https://api.github.com/repos/acsone/product-attribute/pulls{/number}","milestones_url":"https://api.github.com/repos/acsone/product-attribute/milestones{/number}","notifications_url":"https://api.github.com/repos/acsone/product-attribute/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acsone/product-attribute/labels{/name}","releases_url":"https://api.github.com/repos/acsone/product-attribute/releases{/id}","created_at":"2014-07-09T08:30:01Z","updated_at":"2014-07-09T09:16:57Z","pushed_at":"2015-03-25T16:27:06Z","git_url":"git://github.com/acsone/product-attribute.git","ssh_url":"git@github.com:acsone/product-attribute.git","clone_url":"https://github.com/acsone/product-attribute.git","svn_url":"https://github.com/acsone/product-attribute","homepage":null,"size":2182,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"OCA:7.0","ref":"7.0","sha":"43a74b80f3230f6ecf7e9dac1c889ffc306ea8d5","user":{"login":"OCA","id":7600578,"avatar_url":"https://avatars.githubusercontent.com/u/7600578?v=3","gravatar_id":"","url":"https://api.github.com/users/OCA","html_url":"https://github.com/OCA","followers_url":"https://api.github.com/users/OCA/followers","following_url":"https://api.github.com/users/OCA/following{/other_user}","gists_url":"https://api.github.com/users/OCA/gists{/gist_id}","starred_url":"https://api.github.com/users/OCA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OCA/subscriptions","organizations_url":"https://api.github.com/users/OCA/orgs","repos_url":"https://api.github.com/users/OCA/repos","events_url":"https://api.github.com/users/OCA/events{/privacy}","received_events_url":"https://api.github.com/users/OCA/received_events","type":"Organization","site_admin":false},"repo":{"id":20894654,"name":"product-attribute","full_name":"OCA/product-attribute","owner":{"login":"OCA","id":7600578,"avatar_url":"https://avatars.githubusercontent.com/u/7600578?v=3","gravatar_id":"","url":"https://api.github.com/users/OCA","html_url":"https://github.com/OCA","followers_url":"https://api.github.com/users/OCA/followers","following_url":"https://api.github.com/users/OCA/following{/other_user}","gists_url":"https://api.github.com/users/OCA/gists{/gist_id}","starred_url":"https://api.github.com/users/OCA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OCA/subscriptions","organizations_url":"https://api.github.com/users/OCA/orgs","repos_url":"https://api.github.com/users/OCA/repos","events_url":"https://api.github.com/users/OCA/events{/privacy}","received_events_url":"https://api.github.com/users/OCA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OCA/product-attribute","description":"invoicing","fork":false,"url":"https://api.github.com/repos/OCA/product-attribute","forks_url":"https://api.github.com/repos/OCA/product-attribute/forks","keys_url":"https://api.github.com/repos/OCA/product-attribute/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/product-attribute/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/product-attribute/teams","hooks_url":"https://api.github.com/repos/OCA/product-attribute/hooks","issue_events_url":"https://api.github.com/repos/OCA/product-attribute/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/product-attribute/events","assignees_url":"https://api.github.com/repos/OCA/product-attribute/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/product-attribute/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/product-attribute/tags","blobs_url":"https://api.github.com/repos/OCA/product-attribute/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/product-attribute/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/product-attribute/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/product-attribute/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/product-attribute/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/product-attribute/languages","stargazers_url":"https://api.github.com/repos/OCA/product-attribute/stargazers","contributors_url":"https://api.github.com/repos/OCA/product-attribute/contributors","subscribers_url":"https://api.github.com/repos/OCA/product-attribute/subscribers","subscription_url":"https://api.github.com/repos/OCA/product-attribute/subscription","commits_url":"https://api.github.com/repos/OCA/product-attribute/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/product-attribute/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/product-attribute/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/product-attribute/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/product-attribute/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/product-attribute/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/product-attribute/merges","archive_url":"https://api.github.com/repos/OCA/product-attribute/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/product-attribute/downloads","issues_url":"https://api.github.com/repos/OCA/product-attribute/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/product-attribute/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/product-attribute/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/product-attribute/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/product-attribute/labels{/name}","releases_url":"https://api.github.com/repos/OCA/product-attribute/releases{/id}","created_at":"2014-06-16T17:57:41Z","updated_at":"2015-03-20T16:09:33Z","pushed_at":"2015-03-25T16:29:14Z","git_url":"git://github.com/OCA/product-attribute.git","ssh_url":"git@github.com:OCA/product-attribute.git","clone_url":"https://github.com/OCA/product-attribute.git","svn_url":"https://github.com/OCA/product-attribute","homepage":"","size":3667,"stargazers_count":8,"watchers_count":8,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":52,"mirror_url":null,"open_issues_count":20,"forks":52,"open_issues":20,"watchers":8,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/product-attribute/pulls/61"},"html":{"href":"https://github.com/OCA/product-attribute/pull/61"},"issue":{"href":"https://api.github.com/repos/OCA/product-attribute/issues/61"},"comments":{"href":"https://api.github.com/repos/OCA/product-attribute/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/product-attribute/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/product-attribute/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/product-attribute/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/product-attribute/statuses/173a354f5a963a8cef46a5f87cfe1a79ba04cc86"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":9,"changed_files":1}}