{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/stock-logistics-workflow/pulls/comments/29586668","id":29586668,"diff_hunk":"@@ -26,6 +26,7 @@ def action_open_quants(self, cr, uid, ids, context=None):\n         result['context'] = (\n             \"{'search_default_locationgroup': 1, \"\n             \"'search_default_ownergroup': 1, \"\n-            \"'search_default_internal_loc': 1}\"\n+            \"'search_default_internal_loc': 1, \"\n+            \"'search_default_without_reservation': 1}\"","path":"stock_ownership_availability_rules/model/product.py","position":6,"original_position":6,"commit_id":"c8922b5a8fe3e166e1f47a29d248716953d55c15","original_commit_id":"c8922b5a8fe3e166e1f47a29d248716953d55c15","user":{"login":"gurneyalex","id":2032807,"avatar_url":"https://avatars.githubusercontent.com/u/2032807?v=3","gravatar_id":"","url":"https://api.github.com/users/gurneyalex","html_url":"https://github.com/gurneyalex","followers_url":"https://api.github.com/users/gurneyalex/followers","following_url":"https://api.github.com/users/gurneyalex/following{/other_user}","gists_url":"https://api.github.com/users/gurneyalex/gists{/gist_id}","starred_url":"https://api.github.com/users/gurneyalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gurneyalex/subscriptions","organizations_url":"https://api.github.com/users/gurneyalex/orgs","repos_url":"https://api.github.com/users/gurneyalex/repos","events_url":"https://api.github.com/users/gurneyalex/events{/privacy}","received_events_url":"https://api.github.com/users/gurneyalex/received_events","type":"User","site_admin":false},"body":"I believe you can use a real dict here, rather than a string serialized one","created_at":"2015-05-04T14:07:29Z","updated_at":"2015-05-04T14:07:29Z","html_url":"https://github.com/OCA/stock-logistics-workflow/pull/104#discussion_r29586668","pull_request_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/pulls/104","_links":{"self":{"href":"https://api.github.com/repos/OCA/stock-logistics-workflow/pulls/comments/29586668"},"html":{"href":"https://github.com/OCA/stock-logistics-workflow/pull/104#discussion_r29586668"},"pull_request":{"href":"https://api.github.com/repos/OCA/stock-logistics-workflow/pulls/104"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/stock-logistics-workflow/pulls/104","id":34456513,"html_url":"https://github.com/OCA/stock-logistics-workflow/pull/104","diff_url":"https://github.com/OCA/stock-logistics-workflow/pull/104.diff","patch_url":"https://github.com/OCA/stock-logistics-workflow/pull/104.patch","issue_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/issues/104","number":104,"state":"open","locked":false,"title":"in quant view, filter the unreserved ones","user":{"login":"lepistone","id":1314778,"avatar_url":"https://avatars.githubusercontent.com/u/1314778?v=3","gravatar_id":"","url":"https://api.github.com/users/lepistone","html_url":"https://github.com/lepistone","followers_url":"https://api.github.com/users/lepistone/followers","following_url":"https://api.github.com/users/lepistone/following{/other_user}","gists_url":"https://api.github.com/users/lepistone/gists{/gist_id}","starred_url":"https://api.github.com/users/lepistone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lepistone/subscriptions","organizations_url":"https://api.github.com/users/lepistone/orgs","repos_url":"https://api.github.com/users/lepistone/repos","events_url":"https://api.github.com/users/lepistone/events{/privacy}","received_events_url":"https://api.github.com/users/lepistone/received_events","type":"User","site_admin":false},"body":"For this to work properly, that filter needs to be AND with the other on\r\ninternal locations. Rather surprisingly, this is done with a separator\r\nbetween the buttons.","created_at":"2015-04-30T12:53:45Z","updated_at":"2015-05-04T14:07:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fae32b8d279ef281b5bf267f58878a929722ef55","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/pulls/104/commits","review_comments_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/pulls/104/comments","review_comment_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/issues/104/comments","statuses_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/statuses/c8922b5a8fe3e166e1f47a29d248716953d55c15","head":{"label":"lepistone:filter-available-quants","ref":"filter-available-quants","sha":"c8922b5a8fe3e166e1f47a29d248716953d55c15","user":{"login":"lepistone","id":1314778,"avatar_url":"https://avatars.githubusercontent.com/u/1314778?v=3","gravatar_id":"","url":"https://api.github.com/users/lepistone","html_url":"https://github.com/lepistone","followers_url":"https://api.github.com/users/lepistone/followers","following_url":"https://api.github.com/users/lepistone/following{/other_user}","gists_url":"https://api.github.com/users/lepistone/gists{/gist_id}","starred_url":"https://api.github.com/users/lepistone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lepistone/subscriptions","organizations_url":"https://api.github.com/users/lepistone/orgs","repos_url":"https://api.github.com/users/lepistone/repos","events_url":"https://api.github.com/users/lepistone/events{/privacy}","received_events_url":"https://api.github.com/users/lepistone/received_events","type":"User","site_admin":false},"repo":{"id":23070138,"name":"stock-logistics-workflow","full_name":"lepistone/stock-logistics-workflow","owner":{"login":"lepistone","id":1314778,"avatar_url":"https://avatars.githubusercontent.com/u/1314778?v=3","gravatar_id":"","url":"https://api.github.com/users/lepistone","html_url":"https://github.com/lepistone","followers_url":"https://api.github.com/users/lepistone/followers","following_url":"https://api.github.com/users/lepistone/following{/other_user}","gists_url":"https://api.github.com/users/lepistone/gists{/gist_id}","starred_url":"https://api.github.com/users/lepistone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lepistone/subscriptions","organizations_url":"https://api.github.com/users/lepistone/orgs","repos_url":"https://api.github.com/users/lepistone/repos","events_url":"https://api.github.com/users/lepistone/events{/privacy}","received_events_url":"https://api.github.com/users/lepistone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lepistone/stock-logistics-workflow","description":"","fork":true,"url":"https://api.github.com/repos/lepistone/stock-logistics-workflow","forks_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/forks","keys_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/teams","hooks_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/hooks","issue_events_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/issues/events{/number}","events_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/events","assignees_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/assignees{/user}","branches_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/branches{/branch}","tags_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/tags","blobs_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/statuses/{sha}","languages_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/languages","stargazers_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/stargazers","contributors_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/contributors","subscribers_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/subscribers","subscription_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/subscription","commits_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/contents/{+path}","compare_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/merges","archive_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/downloads","issues_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/issues{/number}","pulls_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/pulls{/number}","milestones_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/milestones{/number}","notifications_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/labels{/name}","releases_url":"https://api.github.com/repos/lepistone/stock-logistics-workflow/releases{/id}","created_at":"2014-08-18T12:22:15Z","updated_at":"2014-08-17T19:54:02Z","pushed_at":"2015-04-30T13:07:01Z","git_url":"git://github.com/lepistone/stock-logistics-workflow.git","ssh_url":"git@github.com:lepistone/stock-logistics-workflow.git","clone_url":"https://github.com/lepistone/stock-logistics-workflow.git","svn_url":"https://github.com/lepistone/stock-logistics-workflow","homepage":null,"size":1307,"stargazers_count":0,"watchers_count":0,"language":null,"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":"8.0"}},"base":{"label":"OCA:8.0","ref":"8.0","sha":"b173dbe3b6ef8b30c674588f57eb81f4b3da77a7","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":20891076,"name":"stock-logistics-workflow","full_name":"OCA/stock-logistics-workflow","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/stock-logistics-workflow","description":"Odoo Stock, Workflow and Organization","fork":false,"url":"https://api.github.com/repos/OCA/stock-logistics-workflow","forks_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/forks","keys_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/teams","hooks_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/hooks","issue_events_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/events","assignees_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/tags","blobs_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/languages","stargazers_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/stargazers","contributors_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/contributors","subscribers_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/subscribers","subscription_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/subscription","commits_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/merges","archive_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/downloads","issues_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/labels{/name}","releases_url":"https://api.github.com/repos/OCA/stock-logistics-workflow/releases{/id}","created_at":"2014-06-16T16:00:29Z","updated_at":"2015-04-24T16:58:43Z","pushed_at":"2015-05-04T09:16:28Z","git_url":"git://github.com/OCA/stock-logistics-workflow.git","ssh_url":"git@github.com:OCA/stock-logistics-workflow.git","clone_url":"https://github.com/OCA/stock-logistics-workflow.git","svn_url":"https://github.com/OCA/stock-logistics-workflow","homepage":"","size":2988,"stargazers_count":11,"watchers_count":11,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":31,"forks":41,"open_issues":31,"watchers":11,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/stock-logistics-workflow/pulls/104"},"html":{"href":"https://github.com/OCA/stock-logistics-workflow/pull/104"},"issue":{"href":"https://api.github.com/repos/OCA/stock-logistics-workflow/issues/104"},"comments":{"href":"https://api.github.com/repos/OCA/stock-logistics-workflow/issues/104/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/stock-logistics-workflow/pulls/104/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/stock-logistics-workflow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/stock-logistics-workflow/pulls/104/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/stock-logistics-workflow/statuses/c8922b5a8fe3e166e1f47a29d248716953d55c15"}}}}