{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/knowledge/pulls/comments/26983590","id":26983590,"diff_hunk":"@@ -51,6 +51,28 @@ def _name_get_resname(self, cr, uid, ids, obj, method, context):\n                 data[attachment.id] = False\n         return data\n \n+    def _get_related_model_documents(","path":"document_multiple_records/document.py","position":4,"original_position":4,"commit_id":"ac7be2e40c1ad70576c9c46c12155ac705c5e2c0","original_commit_id":"ac7be2e40c1ad70576c9c46c12155ac705c5e2c0","user":{"login":"bwrsandman","id":1013356,"avatar_url":"https://avatars.githubusercontent.com/u/1013356?v=3","gravatar_id":"","url":"https://api.github.com/users/bwrsandman","html_url":"https://github.com/bwrsandman","followers_url":"https://api.github.com/users/bwrsandman/followers","following_url":"https://api.github.com/users/bwrsandman/following{/other_user}","gists_url":"https://api.github.com/users/bwrsandman/gists{/gist_id}","starred_url":"https://api.github.com/users/bwrsandman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwrsandman/subscriptions","organizations_url":"https://api.github.com/users/bwrsandman/orgs","repos_url":"https://api.github.com/users/bwrsandman/repos","events_url":"https://api.github.com/users/bwrsandman/events{/privacy}","received_events_url":"https://api.github.com/users/bwrsandman/received_events","type":"User","site_admin":false},"body":"Why did you choose to do all this is python, when it could be done in the js?","created_at":"2015-03-23T21:44:38Z","updated_at":"2015-03-23T21:44:38Z","html_url":"https://github.com/OCA/knowledge/pull/44#discussion_r26983590","pull_request_url":"https://api.github.com/repos/OCA/knowledge/pulls/44","_links":{"self":{"href":"https://api.github.com/repos/OCA/knowledge/pulls/comments/26983590"},"html":{"href":"https://github.com/OCA/knowledge/pull/44#discussion_r26983590"},"pull_request":{"href":"https://api.github.com/repos/OCA/knowledge/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/knowledge/pulls/44","id":30955246,"html_url":"https://github.com/OCA/knowledge/pull/44","diff_url":"https://github.com/OCA/knowledge/pull/44.diff","patch_url":"https://github.com/OCA/knowledge/pull/44.patch","issue_url":"https://api.github.com/repos/OCA/knowledge/issues/44","number":44,"state":"open","locked":false,"title":"Add a new field and change the domain filter","user":{"login":"ehdem","id":7593970,"avatar_url":"https://avatars.githubusercontent.com/u/7593970?v=3","gravatar_id":"","url":"https://api.github.com/users/ehdem","html_url":"https://github.com/ehdem","followers_url":"https://api.github.com/users/ehdem/followers","following_url":"https://api.github.com/users/ehdem/following{/other_user}","gists_url":"https://api.github.com/users/ehdem/gists{/gist_id}","starred_url":"https://api.github.com/users/ehdem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehdem/subscriptions","organizations_url":"https://api.github.com/users/ehdem/orgs","repos_url":"https://api.github.com/users/ehdem/repos","events_url":"https://api.github.com/users/ehdem/events{/privacy}","received_events_url":"https://api.github.com/users/ehdem/received_events","type":"User","site_admin":false},"body":"The new field function allows to get a filter with the model and mode_id. The result is used to update the domain in the js.","created_at":"2015-03-11T15:41:54Z","updated_at":"2015-03-23T21:44:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"49e8d63cc89f97ea349ab67f98fbc612acd66b65","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OCA/knowledge/pulls/44/commits","review_comments_url":"https://api.github.com/repos/OCA/knowledge/pulls/44/comments","review_comment_url":"https://api.github.com/repos/OCA/knowledge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/knowledge/issues/44/comments","statuses_url":"https://api.github.com/repos/OCA/knowledge/statuses/ac7be2e40c1ad70576c9c46c12155ac705c5e2c0","head":{"label":"savoirfairelinux:7.0_document_multiple_record_add_field","ref":"7.0_document_multiple_record_add_field","sha":"ac7be2e40c1ad70576c9c46c12155ac705c5e2c0","user":{"login":"savoirfairelinux","id":2735545,"avatar_url":"https://avatars.githubusercontent.com/u/2735545?v=3","gravatar_id":"","url":"https://api.github.com/users/savoirfairelinux","html_url":"https://github.com/savoirfairelinux","followers_url":"https://api.github.com/users/savoirfairelinux/followers","following_url":"https://api.github.com/users/savoirfairelinux/following{/other_user}","gists_url":"https://api.github.com/users/savoirfairelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/savoirfairelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/savoirfairelinux/subscriptions","organizations_url":"https://api.github.com/users/savoirfairelinux/orgs","repos_url":"https://api.github.com/users/savoirfairelinux/repos","events_url":"https://api.github.com/users/savoirfairelinux/events{/privacy}","received_events_url":"https://api.github.com/users/savoirfairelinux/received_events","type":"Organization","site_admin":false},"repo":{"id":21992108,"name":"knowledge","full_name":"savoirfairelinux/knowledge","owner":{"login":"savoirfairelinux","id":2735545,"avatar_url":"https://avatars.githubusercontent.com/u/2735545?v=3","gravatar_id":"","url":"https://api.github.com/users/savoirfairelinux","html_url":"https://github.com/savoirfairelinux","followers_url":"https://api.github.com/users/savoirfairelinux/followers","following_url":"https://api.github.com/users/savoirfairelinux/following{/other_user}","gists_url":"https://api.github.com/users/savoirfairelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/savoirfairelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/savoirfairelinux/subscriptions","organizations_url":"https://api.github.com/users/savoirfairelinux/orgs","repos_url":"https://api.github.com/users/savoirfairelinux/repos","events_url":"https://api.github.com/users/savoirfairelinux/events{/privacy}","received_events_url":"https://api.github.com/users/savoirfairelinux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/savoirfairelinux/knowledge","description":"","fork":true,"url":"https://api.github.com/repos/savoirfairelinux/knowledge","forks_url":"https://api.github.com/repos/savoirfairelinux/knowledge/forks","keys_url":"https://api.github.com/repos/savoirfairelinux/knowledge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/savoirfairelinux/knowledge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/savoirfairelinux/knowledge/teams","hooks_url":"https://api.github.com/repos/savoirfairelinux/knowledge/hooks","issue_events_url":"https://api.github.com/repos/savoirfairelinux/knowledge/issues/events{/number}","events_url":"https://api.github.com/repos/savoirfairelinux/knowledge/events","assignees_url":"https://api.github.com/repos/savoirfairelinux/knowledge/assignees{/user}","branches_url":"https://api.github.com/repos/savoirfairelinux/knowledge/branches{/branch}","tags_url":"https://api.github.com/repos/savoirfairelinux/knowledge/tags","blobs_url":"https://api.github.com/repos/savoirfairelinux/knowledge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/savoirfairelinux/knowledge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/savoirfairelinux/knowledge/git/refs{/sha}","trees_url":"https://api.github.com/repos/savoirfairelinux/knowledge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/savoirfairelinux/knowledge/statuses/{sha}","languages_url":"https://api.github.com/repos/savoirfairelinux/knowledge/languages","stargazers_url":"https://api.github.com/repos/savoirfairelinux/knowledge/stargazers","contributors_url":"https://api.github.com/repos/savoirfairelinux/knowledge/contributors","subscribers_url":"https://api.github.com/repos/savoirfairelinux/knowledge/subscribers","subscription_url":"https://api.github.com/repos/savoirfairelinux/knowledge/subscription","commits_url":"https://api.github.com/repos/savoirfairelinux/knowledge/commits{/sha}","git_commits_url":"https://api.github.com/repos/savoirfairelinux/knowledge/git/commits{/sha}","comments_url":"https://api.github.com/repos/savoirfairelinux/knowledge/comments{/number}","issue_comment_url":"https://api.github.com/repos/savoirfairelinux/knowledge/issues/comments{/number}","contents_url":"https://api.github.com/repos/savoirfairelinux/knowledge/contents/{+path}","compare_url":"https://api.github.com/repos/savoirfairelinux/knowledge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/savoirfairelinux/knowledge/merges","archive_url":"https://api.github.com/repos/savoirfairelinux/knowledge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/savoirfairelinux/knowledge/downloads","issues_url":"https://api.github.com/repos/savoirfairelinux/knowledge/issues{/number}","pulls_url":"https://api.github.com/repos/savoirfairelinux/knowledge/pulls{/number}","milestones_url":"https://api.github.com/repos/savoirfairelinux/knowledge/milestones{/number}","notifications_url":"https://api.github.com/repos/savoirfairelinux/knowledge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/savoirfairelinux/knowledge/labels{/name}","releases_url":"https://api.github.com/repos/savoirfairelinux/knowledge/releases{/id}","created_at":"2014-07-18T19:37:22Z","updated_at":"2014-07-08T13:11:58Z","pushed_at":"2015-03-18T16:00:36Z","git_url":"git://github.com/savoirfairelinux/knowledge.git","ssh_url":"git@github.com:savoirfairelinux/knowledge.git","clone_url":"https://github.com/savoirfairelinux/knowledge.git","svn_url":"https://github.com/savoirfairelinux/knowledge","homepage":null,"size":1464,"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":"master"}},"base":{"label":"OCA:7.0","ref":"7.0","sha":"26d6c6b126aaedb41bcd0f5a23a0dfa437093353","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":20894051,"name":"knowledge","full_name":"OCA/knowledge","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/knowledge","description":"Odoo Document & Knowledge Management","fork":false,"url":"https://api.github.com/repos/OCA/knowledge","forks_url":"https://api.github.com/repos/OCA/knowledge/forks","keys_url":"https://api.github.com/repos/OCA/knowledge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/knowledge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/knowledge/teams","hooks_url":"https://api.github.com/repos/OCA/knowledge/hooks","issue_events_url":"https://api.github.com/repos/OCA/knowledge/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/knowledge/events","assignees_url":"https://api.github.com/repos/OCA/knowledge/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/knowledge/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/knowledge/tags","blobs_url":"https://api.github.com/repos/OCA/knowledge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/knowledge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/knowledge/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/knowledge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/knowledge/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/knowledge/languages","stargazers_url":"https://api.github.com/repos/OCA/knowledge/stargazers","contributors_url":"https://api.github.com/repos/OCA/knowledge/contributors","subscribers_url":"https://api.github.com/repos/OCA/knowledge/subscribers","subscription_url":"https://api.github.com/repos/OCA/knowledge/subscription","commits_url":"https://api.github.com/repos/OCA/knowledge/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/knowledge/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/knowledge/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/knowledge/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/knowledge/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/knowledge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/knowledge/merges","archive_url":"https://api.github.com/repos/OCA/knowledge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/knowledge/downloads","issues_url":"https://api.github.com/repos/OCA/knowledge/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/knowledge/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/knowledge/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/knowledge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/knowledge/labels{/name}","releases_url":"https://api.github.com/repos/OCA/knowledge/releases{/id}","created_at":"2014-06-16T17:40:10Z","updated_at":"2015-03-20T15:48:06Z","pushed_at":"2015-03-20T15:48:06Z","git_url":"git://github.com/OCA/knowledge.git","ssh_url":"git@github.com:OCA/knowledge.git","clone_url":"https://github.com/OCA/knowledge.git","svn_url":"https://github.com/OCA/knowledge","homepage":"http://www.odoo-community.org/project/22","size":1787,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":10,"forks":19,"open_issues":10,"watchers":4,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/knowledge/pulls/44"},"html":{"href":"https://github.com/OCA/knowledge/pull/44"},"issue":{"href":"https://api.github.com/repos/OCA/knowledge/issues/44"},"comments":{"href":"https://api.github.com/repos/OCA/knowledge/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/knowledge/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/knowledge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/knowledge/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/knowledge/statuses/ac7be2e40c1ad70576c9c46c12155ac705c5e2c0"}}}}