{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/stock-logistics-reporting/pulls/comments/123174104","pull_request_review_id":45349789,"id":123174104,"diff_hunk":"@@ -0,0 +1,40 @@\n+# -*- coding: utf-8 -*-\n+# Copyright 2014 Pedro M. Baeza - Tecnativa <pedro.baeza@tecnativa.com>\n+# Copyright 2015 Antonio Espinosa - Tecnativa <antonio.espinosa@tecnativa.com>\n+# Copyright 2016 Carlos Dauden - Tecnativa <carlos.dauden@tecnativa.com>\n+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).\n+\n+from openerp import api, fields, models\n+\n+\n+class StockPicking(models.Model):\n+    _inherit = \"stock.picking\"\n+\n+    valued = fields.Boolean(related='partner_id.valued_picking')\n+    currency_id = fields.Many2one(\n+        related='sale_id.currency_id',\n+        string='Currency')\n+    amount_untaxed = fields.Monetary(\n+        compute='_amount_all',\n+        string='Untaxed Amount')\n+    amount_tax = fields.Monetary(\n+        compute='_amount_all',\n+        string='Taxes')\n+    amount_total = fields.Monetary(\n+        compute='_amount_all',","path":"stock_valued_picking_report/models/stock_picking.py","position":24,"original_position":24,"commit_id":"9fe37b0c3c1216598f1350a8930cca7b2cc9ae2a","original_commit_id":"9fe37b0c3c1216598f1350a8930cca7b2cc9ae2a","user":{"login":"cubells","id":4386443,"avatar_url":"https://avatars3.githubusercontent.com/u/4386443?v=3","gravatar_id":"","url":"https://api.github.com/users/cubells","html_url":"https://github.com/cubells","followers_url":"https://api.github.com/users/cubells/followers","following_url":"https://api.github.com/users/cubells/following{/other_user}","gists_url":"https://api.github.com/users/cubells/gists{/gist_id}","starred_url":"https://api.github.com/users/cubells/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cubells/subscriptions","organizations_url":"https://api.github.com/users/cubells/orgs","repos_url":"https://api.github.com/users/cubells/repos","events_url":"https://api.github.com/users/cubells/events{/privacy}","received_events_url":"https://api.github.com/users/cubells/received_events","type":"User","site_admin":false},"body":"compute method must start with \"_compute\"","created_at":"2017-06-21T07:41:55Z","updated_at":"2017-06-21T07:42:35Z","html_url":"https://github.com/OCA/stock-logistics-reporting/pull/31#discussion_r123174104","pull_request_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/OCA/stock-logistics-reporting/pulls/comments/123174104"},"html":{"href":"https://github.com/OCA/stock-logistics-reporting/pull/31#discussion_r123174104"},"pull_request":{"href":"https://api.github.com/repos/OCA/stock-logistics-reporting/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/stock-logistics-reporting/pulls/31","id":99477985,"html_url":"https://github.com/OCA/stock-logistics-reporting/pull/31","diff_url":"https://github.com/OCA/stock-logistics-reporting/pull/31.diff","patch_url":"https://github.com/OCA/stock-logistics-reporting/pull/31.patch","issue_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/issues/31","number":31,"state":"open","locked":false,"title":"[9.0][NEW] stock_valued_picking_report","user":{"login":"carlosdauden","id":7701001,"avatar_url":"https://avatars0.githubusercontent.com/u/7701001?v=3","gravatar_id":"","url":"https://api.github.com/users/carlosdauden","html_url":"https://github.com/carlosdauden","followers_url":"https://api.github.com/users/carlosdauden/followers","following_url":"https://api.github.com/users/carlosdauden/following{/other_user}","gists_url":"https://api.github.com/users/carlosdauden/gists{/gist_id}","starred_url":"https://api.github.com/users/carlosdauden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carlosdauden/subscriptions","organizations_url":"https://api.github.com/users/carlosdauden/orgs","repos_url":"https://api.github.com/users/carlosdauden/repos","events_url":"https://api.github.com/users/carlosdauden/events{/privacy}","received_events_url":"https://api.github.com/users/carlosdauden/received_events","type":"User","site_admin":false},"body":"New module to print valued pickings.\r\n\r\n@Tecnativa","created_at":"2016-12-27T19:54:02Z","updated_at":"2017-06-21T07:42:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"795aa4452d6b59c7a8dec7a411f7c2c71a4aabaa","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/pulls/31/commits","review_comments_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/pulls/31/comments","review_comment_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/issues/31/comments","statuses_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/statuses/9fe37b0c3c1216598f1350a8930cca7b2cc9ae2a","head":{"label":"Tecnativa:9.0-stock_valued_picking_report","ref":"9.0-stock_valued_picking_report","sha":"9fe37b0c3c1216598f1350a8930cca7b2cc9ae2a","user":{"login":"Tecnativa","id":18120193,"avatar_url":"https://avatars1.githubusercontent.com/u/18120193?v=3","gravatar_id":"","url":"https://api.github.com/users/Tecnativa","html_url":"https://github.com/Tecnativa","followers_url":"https://api.github.com/users/Tecnativa/followers","following_url":"https://api.github.com/users/Tecnativa/following{/other_user}","gists_url":"https://api.github.com/users/Tecnativa/gists{/gist_id}","starred_url":"https://api.github.com/users/Tecnativa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tecnativa/subscriptions","organizations_url":"https://api.github.com/users/Tecnativa/orgs","repos_url":"https://api.github.com/users/Tecnativa/repos","events_url":"https://api.github.com/users/Tecnativa/events{/privacy}","received_events_url":"https://api.github.com/users/Tecnativa/received_events","type":"Organization","site_admin":false},"repo":{"id":76061232,"name":"stock-logistics-reporting","full_name":"Tecnativa/stock-logistics-reporting","owner":{"login":"Tecnativa","id":18120193,"avatar_url":"https://avatars1.githubusercontent.com/u/18120193?v=3","gravatar_id":"","url":"https://api.github.com/users/Tecnativa","html_url":"https://github.com/Tecnativa","followers_url":"https://api.github.com/users/Tecnativa/followers","following_url":"https://api.github.com/users/Tecnativa/following{/other_user}","gists_url":"https://api.github.com/users/Tecnativa/gists{/gist_id}","starred_url":"https://api.github.com/users/Tecnativa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tecnativa/subscriptions","organizations_url":"https://api.github.com/users/Tecnativa/orgs","repos_url":"https://api.github.com/users/Tecnativa/repos","events_url":"https://api.github.com/users/Tecnativa/events{/privacy}","received_events_url":"https://api.github.com/users/Tecnativa/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Tecnativa/stock-logistics-reporting","description":null,"fork":true,"url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting","forks_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/forks","keys_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/teams","hooks_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/hooks","issue_events_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/issues/events{/number}","events_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/events","assignees_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/assignees{/user}","branches_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/branches{/branch}","tags_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/tags","blobs_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/statuses/{sha}","languages_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/languages","stargazers_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/stargazers","contributors_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/contributors","subscribers_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/subscribers","subscription_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/subscription","commits_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/contents/{+path}","compare_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/merges","archive_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/downloads","issues_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/issues{/number}","pulls_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/pulls{/number}","milestones_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/milestones{/number}","notifications_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/labels{/name}","releases_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/releases{/id}","deployments_url":"https://api.github.com/repos/Tecnativa/stock-logistics-reporting/deployments","created_at":"2016-12-09T18:43:32Z","updated_at":"2016-12-09T18:43:33Z","pushed_at":"2017-06-20T17:35:00Z","git_url":"git://github.com/Tecnativa/stock-logistics-reporting.git","ssh_url":"git@github.com:Tecnativa/stock-logistics-reporting.git","clone_url":"https://github.com/Tecnativa/stock-logistics-reporting.git","svn_url":"https://github.com/Tecnativa/stock-logistics-reporting","homepage":null,"size":268,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"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":"10.0"}},"base":{"label":"OCA:9.0","ref":"9.0","sha":"77b032d92537f7cfcefb9506b461432b6d170722","user":{"login":"OCA","id":7600578,"avatar_url":"https://avatars2.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":20891392,"name":"stock-logistics-reporting","full_name":"OCA/stock-logistics-reporting","owner":{"login":"OCA","id":7600578,"avatar_url":"https://avatars2.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-reporting","description":null,"fork":false,"url":"https://api.github.com/repos/OCA/stock-logistics-reporting","forks_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/forks","keys_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/teams","hooks_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/hooks","issue_events_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/events","assignees_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/tags","blobs_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/languages","stargazers_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/stargazers","contributors_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/contributors","subscribers_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/subscribers","subscription_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/subscription","commits_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/merges","archive_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/downloads","issues_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/labels{/name}","releases_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/releases{/id}","deployments_url":"https://api.github.com/repos/OCA/stock-logistics-reporting/deployments","created_at":"2014-06-16T16:09:19Z","updated_at":"2017-01-02T10:28:52Z","pushed_at":"2017-06-20T17:35:02Z","git_url":"git://github.com/OCA/stock-logistics-reporting.git","ssh_url":"git@github.com:OCA/stock-logistics-reporting.git","clone_url":"https://github.com/OCA/stock-logistics-reporting.git","svn_url":"https://github.com/OCA/stock-logistics-reporting","homepage":null,"size":267,"stargazers_count":11,"watchers_count":11,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":10,"forks":41,"open_issues":10,"watchers":11,"default_branch":"10.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/stock-logistics-reporting/pulls/31"},"html":{"href":"https://github.com/OCA/stock-logistics-reporting/pull/31"},"issue":{"href":"https://api.github.com/repos/OCA/stock-logistics-reporting/issues/31"},"comments":{"href":"https://api.github.com/repos/OCA/stock-logistics-reporting/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/stock-logistics-reporting/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/stock-logistics-reporting/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/stock-logistics-reporting/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/stock-logistics-reporting/statuses/9fe37b0c3c1216598f1350a8930cca7b2cc9ae2a"}}}}
{"actor":{"display_login":"cubells"}}