{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/sale-reporting/pulls/comments/26850852","id":26850852,"diff_hunk":"@@ -0,0 +1,39 @@\n+# -*- encoding: utf-8 -*-\n+##############################################################################\n+#\n+#    OpenERP, Open Source Management Solution\n+#    This module copyright (C) 2015 Savoir-faire Linux\n+#    (<http://www.savoirfairelinux.com>).\n+#\n+#    This program is free software: you can redistribute it and/or modify\n+#    it under the terms of the GNU Affero General Public License as\n+#    published by the Free Software Foundation, either version 3 of the\n+#    License, or (at your option) any later version.\n+#\n+#    This program is distributed in the hope that it will be useful,\n+#    but WITHOUT ANY WARRANTY; without even the implied warranty of\n+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+#    GNU Affero General Public License for more details.\n+#\n+#    You should have received a copy of the GNU Affero General Public License\n+#    along with this program. If not, see <http://www.gnu.org/licenses/>.\n+#\n+##############################################################################\n+\n+from openerp.osv import fields, orm\n+\n+\n+class sale(orm.Model):\n+    _inherit = 'sale.order'\n+\n+    def onchange_shop_id(self, cr, uid, ids, shop_id, context=None):","path":"sale_quotation_remove_default_pricelist/sale.py","position":29,"original_position":29,"commit_id":"720e650fb723897b4ffe977f8fa4621679f5ff41","original_commit_id":"b6dfc46b4ffb0e49508eadbde07e2409f7a18aee","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":"@joaoalf : yep","created_at":"2015-03-20T15:58:07Z","updated_at":"2015-03-20T15:58:07Z","html_url":"https://github.com/OCA/sale-reporting/pull/24#discussion_r26850852","pull_request_url":"https://api.github.com/repos/OCA/sale-reporting/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/OCA/sale-reporting/pulls/comments/26850852"},"html":{"href":"https://github.com/OCA/sale-reporting/pull/24#discussion_r26850852"},"pull_request":{"href":"https://api.github.com/repos/OCA/sale-reporting/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/sale-reporting/pulls/24","id":31551659,"html_url":"https://github.com/OCA/sale-reporting/pull/24","diff_url":"https://github.com/OCA/sale-reporting/pull/24.diff","patch_url":"https://github.com/OCA/sale-reporting/pull/24.patch","issue_url":"https://api.github.com/repos/OCA/sale-reporting/issues/24","number":24,"state":"open","locked":false,"title":"[Add] Remove the default price list in quotation/sale","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":"In quotaion/sale form view, display the configured price list\r\nfor the selected partner","created_at":"2015-03-19T18:25:43Z","updated_at":"2015-03-20T15:58:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"32d7133ea1e9157f322698c4827710cddebfb772","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OCA/sale-reporting/pulls/24/commits","review_comments_url":"https://api.github.com/repos/OCA/sale-reporting/pulls/24/comments","review_comment_url":"https://api.github.com/repos/OCA/sale-reporting/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/sale-reporting/issues/24/comments","statuses_url":"https://api.github.com/repos/OCA/sale-reporting/statuses/720e650fb723897b4ffe977f8fa4621679f5ff41","head":{"label":"savoirfairelinux:7.0_sale_quotation_default_pricelist","ref":"7.0_sale_quotation_default_pricelist","sha":"720e650fb723897b4ffe977f8fa4621679f5ff41","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":30880084,"name":"sale-reporting","full_name":"savoirfairelinux/sale-reporting","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/sale-reporting","description":"","fork":true,"url":"https://api.github.com/repos/savoirfairelinux/sale-reporting","forks_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/forks","keys_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/keys{/key_id}","collaborators_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/teams","hooks_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/hooks","issue_events_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/issues/events{/number}","events_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/events","assignees_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/assignees{/user}","branches_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/branches{/branch}","tags_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/tags","blobs_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/git/refs{/sha}","trees_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/git/trees{/sha}","statuses_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/statuses/{sha}","languages_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/languages","stargazers_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/stargazers","contributors_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/contributors","subscribers_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/subscribers","subscription_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/subscription","commits_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/commits{/sha}","git_commits_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/git/commits{/sha}","comments_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/comments{/number}","issue_comment_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/issues/comments{/number}","contents_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/contents/{+path}","compare_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/compare/{base}...{head}","merges_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/merges","archive_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/downloads","issues_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/issues{/number}","pulls_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/pulls{/number}","milestones_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/milestones{/number}","notifications_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/labels{/name}","releases_url":"https://api.github.com/repos/savoirfairelinux/sale-reporting/releases{/id}","created_at":"2015-02-16T17:44:01Z","updated_at":"2015-02-16T17:44:02Z","pushed_at":"2015-03-20T15:57:38Z","git_url":"git://github.com/savoirfairelinux/sale-reporting.git","ssh_url":"git@github.com:savoirfairelinux/sale-reporting.git","clone_url":"https://github.com/savoirfairelinux/sale-reporting.git","svn_url":"https://github.com/savoirfairelinux/sale-reporting","homepage":null,"size":256,"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":"8.0"}},"base":{"label":"OCA:7.0","ref":"7.0","sha":"5b43320ca4dc87c9e859663b6fb2895148be7ff1","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":20882492,"name":"sale-reporting","full_name":"OCA/sale-reporting","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/sale-reporting","description":"","fork":false,"url":"https://api.github.com/repos/OCA/sale-reporting","forks_url":"https://api.github.com/repos/OCA/sale-reporting/forks","keys_url":"https://api.github.com/repos/OCA/sale-reporting/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/sale-reporting/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/sale-reporting/teams","hooks_url":"https://api.github.com/repos/OCA/sale-reporting/hooks","issue_events_url":"https://api.github.com/repos/OCA/sale-reporting/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/sale-reporting/events","assignees_url":"https://api.github.com/repos/OCA/sale-reporting/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/sale-reporting/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/sale-reporting/tags","blobs_url":"https://api.github.com/repos/OCA/sale-reporting/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/sale-reporting/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/sale-reporting/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/sale-reporting/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/sale-reporting/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/sale-reporting/languages","stargazers_url":"https://api.github.com/repos/OCA/sale-reporting/stargazers","contributors_url":"https://api.github.com/repos/OCA/sale-reporting/contributors","subscribers_url":"https://api.github.com/repos/OCA/sale-reporting/subscribers","subscription_url":"https://api.github.com/repos/OCA/sale-reporting/subscription","commits_url":"https://api.github.com/repos/OCA/sale-reporting/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/sale-reporting/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/sale-reporting/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/sale-reporting/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/sale-reporting/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/sale-reporting/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/sale-reporting/merges","archive_url":"https://api.github.com/repos/OCA/sale-reporting/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/sale-reporting/downloads","issues_url":"https://api.github.com/repos/OCA/sale-reporting/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/sale-reporting/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/sale-reporting/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/sale-reporting/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/sale-reporting/labels{/name}","releases_url":"https://api.github.com/repos/OCA/sale-reporting/releases{/id}","created_at":"2014-06-16T11:30:02Z","updated_at":"2015-03-02T16:27:56Z","pushed_at":"2015-03-20T15:57:40Z","git_url":"git://github.com/OCA/sale-reporting.git","ssh_url":"git@github.com:OCA/sale-reporting.git","clone_url":"https://github.com/OCA/sale-reporting.git","svn_url":"https://github.com/OCA/sale-reporting","homepage":null,"size":533,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":2,"forks":17,"open_issues":2,"watchers":3,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/sale-reporting/pulls/24"},"html":{"href":"https://github.com/OCA/sale-reporting/pull/24"},"issue":{"href":"https://api.github.com/repos/OCA/sale-reporting/issues/24"},"comments":{"href":"https://api.github.com/repos/OCA/sale-reporting/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/sale-reporting/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/sale-reporting/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/sale-reporting/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/sale-reporting/statuses/720e650fb723897b4ffe977f8fa4621679f5ff41"}}}}