{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/account-invoicing/pulls/comments/86668624","pull_request_review_id":7317505,"id":86668624,"diff_hunk":"@@ -0,0 +1,16 @@\n+# -*- coding: utf-8 -*-\n+# Copyright 2016 Jairo Llopis <jairo.llopis@tecnativa.com>\n+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).\n+\n+from openerp import fields, models\n+\n+\n+class StockMove(models.Model):\n+    _inherit = \"stock.move\"\n+\n+    to_refund_so = fields.Boolean(\n+        \"To Refund in SO\",\n+        default=False,","path":"sale_stock_picking_return_invoicing/models/stock_move.py","position":13,"original_position":13,"commit_id":"0ca34b5cafc9499036e559262b9bc1955caaf42a","original_commit_id":"0ca34b5cafc9499036e559262b9bc1955caaf42a","user":{"login":"pedrobaeza","id":7165771,"avatar_url":"https://avatars.githubusercontent.com/u/7165771?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrobaeza","html_url":"https://github.com/pedrobaeza","followers_url":"https://api.github.com/users/pedrobaeza/followers","following_url":"https://api.github.com/users/pedrobaeza/following{/other_user}","gists_url":"https://api.github.com/users/pedrobaeza/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrobaeza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrobaeza/subscriptions","organizations_url":"https://api.github.com/users/pedrobaeza/orgs","repos_url":"https://api.github.com/users/pedrobaeza/repos","events_url":"https://api.github.com/users/pedrobaeza/events{/privacy}","received_events_url":"https://api.github.com/users/pedrobaeza/received_events","type":"User","site_admin":false},"body":"This default is not need","created_at":"2016-11-05T16:32:14Z","updated_at":"2016-11-05T16:33:59Z","html_url":"https://github.com/OCA/account-invoicing/pull/201#discussion_r86668624","pull_request_url":"https://api.github.com/repos/OCA/account-invoicing/pulls/201","_links":{"self":{"href":"https://api.github.com/repos/OCA/account-invoicing/pulls/comments/86668624"},"html":{"href":"https://github.com/OCA/account-invoicing/pull/201#discussion_r86668624"},"pull_request":{"href":"https://api.github.com/repos/OCA/account-invoicing/pulls/201"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/account-invoicing/pulls/201","id":91009360,"html_url":"https://github.com/OCA/account-invoicing/pull/201","diff_url":"https://github.com/OCA/account-invoicing/pull/201.diff","patch_url":"https://github.com/OCA/account-invoicing/pull/201.patch","issue_url":"https://api.github.com/repos/OCA/account-invoicing/issues/201","number":201,"state":"open","locked":false,"title":"[9.0][ADD]sale_stock_picking_return_invoicing: Refund sale return pickings.","user":{"login":"Yajo","id":973709,"avatar_url":"https://avatars.githubusercontent.com/u/973709?v=3","gravatar_id":"","url":"https://api.github.com/users/Yajo","html_url":"https://github.com/Yajo","followers_url":"https://api.github.com/users/Yajo/followers","following_url":"https://api.github.com/users/Yajo/following{/other_user}","gists_url":"https://api.github.com/users/Yajo/gists{/gist_id}","starred_url":"https://api.github.com/users/Yajo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yajo/subscriptions","organizations_url":"https://api.github.com/users/Yajo/orgs","repos_url":"https://api.github.com/users/Yajo/repos","events_url":"https://api.github.com/users/Yajo/events{/privacy}","received_events_url":"https://api.github.com/users/Yajo/received_events","type":"User","site_admin":false},"body":"Without this addon, when some customer returns some items to you and that\nreturn picking is associated with a sale order, and then you invoice the sale\norder, the returned items are never deducted from the total amount of delivered\nproducts.\n\nAlso, if you already invoiced the sales order and again you get a refundable\nreturn picking associated to it, you have no option to make a refund customer\ninvoice.\n\nThis addon enables both possibilities, by partially backporting this\nfunctionality implementation from v10.\n\n@Tecnativa\n","created_at":"2016-10-26T13:56:09Z","updated_at":"2016-11-05T16:33:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"089fe88cf8567f8a12c2acc7701fbb2866263730","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/OCA/account-invoicing/pulls/201/commits","review_comments_url":"https://api.github.com/repos/OCA/account-invoicing/pulls/201/comments","review_comment_url":"https://api.github.com/repos/OCA/account-invoicing/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/account-invoicing/issues/201/comments","statuses_url":"https://api.github.com/repos/OCA/account-invoicing/statuses/0ca34b5cafc9499036e559262b9bc1955caaf42a","head":{"label":"Tecnativa:9.0-sale_stock_refund_picking-add","ref":"9.0-sale_stock_refund_picking-add","sha":"0ca34b5cafc9499036e559262b9bc1955caaf42a","user":{"login":"Tecnativa","id":18120193,"avatar_url":"https://avatars.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":59533057,"name":"account-invoicing","full_name":"Tecnativa/account-invoicing","owner":{"login":"Tecnativa","id":18120193,"avatar_url":"https://avatars.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/account-invoicing","description":"Odoo Invoicing Extension Addons","fork":true,"url":"https://api.github.com/repos/Tecnativa/account-invoicing","forks_url":"https://api.github.com/repos/Tecnativa/account-invoicing/forks","keys_url":"https://api.github.com/repos/Tecnativa/account-invoicing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tecnativa/account-invoicing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tecnativa/account-invoicing/teams","hooks_url":"https://api.github.com/repos/Tecnativa/account-invoicing/hooks","issue_events_url":"https://api.github.com/repos/Tecnativa/account-invoicing/issues/events{/number}","events_url":"https://api.github.com/repos/Tecnativa/account-invoicing/events","assignees_url":"https://api.github.com/repos/Tecnativa/account-invoicing/assignees{/user}","branches_url":"https://api.github.com/repos/Tecnativa/account-invoicing/branches{/branch}","tags_url":"https://api.github.com/repos/Tecnativa/account-invoicing/tags","blobs_url":"https://api.github.com/repos/Tecnativa/account-invoicing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tecnativa/account-invoicing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tecnativa/account-invoicing/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tecnativa/account-invoicing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tecnativa/account-invoicing/statuses/{sha}","languages_url":"https://api.github.com/repos/Tecnativa/account-invoicing/languages","stargazers_url":"https://api.github.com/repos/Tecnativa/account-invoicing/stargazers","contributors_url":"https://api.github.com/repos/Tecnativa/account-invoicing/contributors","subscribers_url":"https://api.github.com/repos/Tecnativa/account-invoicing/subscribers","subscription_url":"https://api.github.com/repos/Tecnativa/account-invoicing/subscription","commits_url":"https://api.github.com/repos/Tecnativa/account-invoicing/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tecnativa/account-invoicing/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tecnativa/account-invoicing/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tecnativa/account-invoicing/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tecnativa/account-invoicing/contents/{+path}","compare_url":"https://api.github.com/repos/Tecnativa/account-invoicing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tecnativa/account-invoicing/merges","archive_url":"https://api.github.com/repos/Tecnativa/account-invoicing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tecnativa/account-invoicing/downloads","issues_url":"https://api.github.com/repos/Tecnativa/account-invoicing/issues{/number}","pulls_url":"https://api.github.com/repos/Tecnativa/account-invoicing/pulls{/number}","milestones_url":"https://api.github.com/repos/Tecnativa/account-invoicing/milestones{/number}","notifications_url":"https://api.github.com/repos/Tecnativa/account-invoicing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tecnativa/account-invoicing/labels{/name}","releases_url":"https://api.github.com/repos/Tecnativa/account-invoicing/releases{/id}","deployments_url":"https://api.github.com/repos/Tecnativa/account-invoicing/deployments","created_at":"2016-05-24T02:13:53Z","updated_at":"2016-05-24T02:13:55Z","pushed_at":"2016-11-02T10:18:07Z","git_url":"git://github.com/Tecnativa/account-invoicing.git","ssh_url":"git@github.com:Tecnativa/account-invoicing.git","clone_url":"https://github.com/Tecnativa/account-invoicing.git","svn_url":"https://github.com/Tecnativa/account-invoicing","homepage":"","size":1506,"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":"9.0"}},"base":{"label":"OCA:9.0","ref":"9.0","sha":"6445783d16b55f9baa94043f02a8fb3f578d0bdf","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":20881777,"name":"account-invoicing","full_name":"OCA/account-invoicing","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/account-invoicing","description":"Odoo Invoicing Extension Addons","fork":false,"url":"https://api.github.com/repos/OCA/account-invoicing","forks_url":"https://api.github.com/repos/OCA/account-invoicing/forks","keys_url":"https://api.github.com/repos/OCA/account-invoicing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/account-invoicing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/account-invoicing/teams","hooks_url":"https://api.github.com/repos/OCA/account-invoicing/hooks","issue_events_url":"https://api.github.com/repos/OCA/account-invoicing/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/account-invoicing/events","assignees_url":"https://api.github.com/repos/OCA/account-invoicing/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/account-invoicing/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/account-invoicing/tags","blobs_url":"https://api.github.com/repos/OCA/account-invoicing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/account-invoicing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/account-invoicing/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/account-invoicing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/account-invoicing/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/account-invoicing/languages","stargazers_url":"https://api.github.com/repos/OCA/account-invoicing/stargazers","contributors_url":"https://api.github.com/repos/OCA/account-invoicing/contributors","subscribers_url":"https://api.github.com/repos/OCA/account-invoicing/subscribers","subscription_url":"https://api.github.com/repos/OCA/account-invoicing/subscription","commits_url":"https://api.github.com/repos/OCA/account-invoicing/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/account-invoicing/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/account-invoicing/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/account-invoicing/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/account-invoicing/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/account-invoicing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/account-invoicing/merges","archive_url":"https://api.github.com/repos/OCA/account-invoicing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/account-invoicing/downloads","issues_url":"https://api.github.com/repos/OCA/account-invoicing/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/account-invoicing/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/account-invoicing/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/account-invoicing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/account-invoicing/labels{/name}","releases_url":"https://api.github.com/repos/OCA/account-invoicing/releases{/id}","deployments_url":"https://api.github.com/repos/OCA/account-invoicing/deployments","created_at":"2014-06-16T10:59:46Z","updated_at":"2016-11-01T18:47:53Z","pushed_at":"2016-11-04T06:16:19Z","git_url":"git://github.com/OCA/account-invoicing.git","ssh_url":"git@github.com:OCA/account-invoicing.git","clone_url":"https://github.com/OCA/account-invoicing.git","svn_url":"https://github.com/OCA/account-invoicing","homepage":"","size":3907,"stargazers_count":26,"watchers_count":26,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":138,"mirror_url":null,"open_issues_count":68,"forks":138,"open_issues":68,"watchers":26,"default_branch":"10.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/account-invoicing/pulls/201"},"html":{"href":"https://github.com/OCA/account-invoicing/pull/201"},"issue":{"href":"https://api.github.com/repos/OCA/account-invoicing/issues/201"},"comments":{"href":"https://api.github.com/repos/OCA/account-invoicing/issues/201/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/account-invoicing/pulls/201/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/account-invoicing/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/account-invoicing/pulls/201/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/account-invoicing/statuses/0ca34b5cafc9499036e559262b9bc1955caaf42a"}}}}
{"actor":{"display_login":"pedrobaeza"}}