{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/pulls/comments/90750053","pull_request_review_id":11270807,"id":90750053,"diff_hunk":"@@ -0,0 +1,47 @@\n+# -*- coding: utf-8 -*-\n+# Copyright 2016 Eficent Business and IT Consulting Services, S.L.\n+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).\n+\n+from openerp import models, fields, api\n+\n+\n+class StockWarehouseOrderpoint(models.Model):\n+    _inherit = 'stock.warehouse.orderpoint'\n+\n+    @api.multi\n+    @api.depends('product_stock_location_ids',\n+                 'product_stock_location_ids.product_location_qty',\n+                 'product_stock_location_ids.incoming_location_qty',\n+                 'product_stock_location_ids.outgoing_location_qty',\n+                 'product_stock_location_ids.virtual_location_qty'\n+                 )\n+    def _compute_product_available_qty(self):","path":"product_stock_location/models/stock_warehouse_orderpoint.py","position":18,"original_position":18,"commit_id":"6707c871882c31ab4bb3f3a09f2e989602b7d203","original_commit_id":"6707c871882c31ab4bb3f3a09f2e989602b7d203","user":{"login":"andhit-r","id":1947376,"avatar_url":"https://avatars.githubusercontent.com/u/1947376?v=3","gravatar_id":"","url":"https://api.github.com/users/andhit-r","html_url":"https://github.com/andhit-r","followers_url":"https://api.github.com/users/andhit-r/followers","following_url":"https://api.github.com/users/andhit-r/following{/other_user}","gists_url":"https://api.github.com/users/andhit-r/gists{/gist_id}","starred_url":"https://api.github.com/users/andhit-r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andhit-r/subscriptions","organizations_url":"https://api.github.com/users/andhit-r/orgs","repos_url":"https://api.github.com/users/andhit-r/repos","events_url":"https://api.github.com/users/andhit-r/events{/privacy}","received_events_url":"https://api.github.com/users/andhit-r/received_events","type":"User","site_admin":false},"body":"@jbeficent any reasons you redefined the computed fields? You don't make any changes in the computation.","created_at":"2016-12-03T03:41:21Z","updated_at":"2016-12-03T03:41:21Z","html_url":"https://github.com/OCA/stock-logistics-warehouse/pull/221#discussion_r90750053","pull_request_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/pulls/221","_links":{"self":{"href":"https://api.github.com/repos/OCA/stock-logistics-warehouse/pulls/comments/90750053"},"html":{"href":"https://github.com/OCA/stock-logistics-warehouse/pull/221#discussion_r90750053"},"pull_request":{"href":"https://api.github.com/repos/OCA/stock-logistics-warehouse/pulls/221"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/pulls/221","id":94419265,"html_url":"https://github.com/OCA/stock-logistics-warehouse/pull/221","diff_url":"https://github.com/OCA/stock-logistics-warehouse/pull/221.diff","patch_url":"https://github.com/OCA/stock-logistics-warehouse/pull/221.patch","issue_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/issues/221","number":221,"state":"open","locked":false,"title":"[8.0] [product_stock_location]","user":{"login":"jbeficent","id":7683926,"avatar_url":"https://avatars.githubusercontent.com/u/7683926?v=3","gravatar_id":"","url":"https://api.github.com/users/jbeficent","html_url":"https://github.com/jbeficent","followers_url":"https://api.github.com/users/jbeficent/followers","following_url":"https://api.github.com/users/jbeficent/following{/other_user}","gists_url":"https://api.github.com/users/jbeficent/gists{/gist_id}","starred_url":"https://api.github.com/users/jbeficent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbeficent/subscriptions","organizations_url":"https://api.github.com/users/jbeficent/orgs","repos_url":"https://api.github.com/users/jbeficent/repos","events_url":"https://api.github.com/users/jbeficent/events{/privacy}","received_events_url":"https://api.github.com/users/jbeficent/received_events","type":"User","site_admin":false},"body":"Product Stock Location\r\n======================\r\n\r\nThis modules dramatically improves the performance on the check of the stock\r\nlevels of each product by location, by storing the quantity on\r\nhand, incoming, outgoing and forecased for each product and at the affected location hierarchy, each time a stock move or quant changes, instead of having to compute them each time upon request by\r\nthe user.\r\n\r\nThe requests for stock levels will still be computed when the user wants to\r\nquery the stock for a specific lot, owner or package.\r\n\r\nUsage\r\n=====\r\n\r\n* From a product or product variant press the button \"Stock By Location\".\r\n* When the Technical Settings are activated you can display all records in\r\n'Warehouse / Traceability / Product Stock Location'.","created_at":"2016-11-18T19:12:05Z","updated_at":"2016-12-03T03:45:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f1371e70377b1c11417930a91c8b18ecc061ccd5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/pulls/221/commits","review_comments_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/pulls/221/comments","review_comment_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/issues/221/comments","statuses_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/statuses/6707c871882c31ab4bb3f3a09f2e989602b7d203","head":{"label":"Eficent:8.0-product_stock_location","ref":"8.0-product_stock_location","sha":"6707c871882c31ab4bb3f3a09f2e989602b7d203","user":{"login":"Eficent","id":7718403,"avatar_url":"https://avatars.githubusercontent.com/u/7718403?v=3","gravatar_id":"","url":"https://api.github.com/users/Eficent","html_url":"https://github.com/Eficent","followers_url":"https://api.github.com/users/Eficent/followers","following_url":"https://api.github.com/users/Eficent/following{/other_user}","gists_url":"https://api.github.com/users/Eficent/gists{/gist_id}","starred_url":"https://api.github.com/users/Eficent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eficent/subscriptions","organizations_url":"https://api.github.com/users/Eficent/orgs","repos_url":"https://api.github.com/users/Eficent/repos","events_url":"https://api.github.com/users/Eficent/events{/privacy}","received_events_url":"https://api.github.com/users/Eficent/received_events","type":"Organization","site_admin":false},"repo":{"id":46787116,"name":"stock-logistics-warehouse","full_name":"Eficent/stock-logistics-warehouse","owner":{"login":"Eficent","id":7718403,"avatar_url":"https://avatars.githubusercontent.com/u/7718403?v=3","gravatar_id":"","url":"https://api.github.com/users/Eficent","html_url":"https://github.com/Eficent","followers_url":"https://api.github.com/users/Eficent/followers","following_url":"https://api.github.com/users/Eficent/following{/other_user}","gists_url":"https://api.github.com/users/Eficent/gists{/gist_id}","starred_url":"https://api.github.com/users/Eficent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eficent/subscriptions","organizations_url":"https://api.github.com/users/Eficent/orgs","repos_url":"https://api.github.com/users/Eficent/repos","events_url":"https://api.github.com/users/Eficent/events{/privacy}","received_events_url":"https://api.github.com/users/Eficent/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Eficent/stock-logistics-warehouse","description":"Odoo Warehouse Management Addons","fork":true,"url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse","forks_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/forks","keys_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/teams","hooks_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/hooks","issue_events_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/issues/events{/number}","events_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/events","assignees_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/assignees{/user}","branches_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/branches{/branch}","tags_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/tags","blobs_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/git/refs{/sha}","trees_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/statuses/{sha}","languages_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/languages","stargazers_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/stargazers","contributors_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/contributors","subscribers_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/subscribers","subscription_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/subscription","commits_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/commits{/sha}","git_commits_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/git/commits{/sha}","comments_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/comments{/number}","issue_comment_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/issues/comments{/number}","contents_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/contents/{+path}","compare_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/merges","archive_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/downloads","issues_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/issues{/number}","pulls_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/pulls{/number}","milestones_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/milestones{/number}","notifications_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/labels{/name}","releases_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/releases{/id}","deployments_url":"https://api.github.com/repos/Eficent/stock-logistics-warehouse/deployments","created_at":"2015-11-24T11:23:19Z","updated_at":"2016-03-26T16:04:08Z","pushed_at":"2016-11-25T13:26:18Z","git_url":"git://github.com/Eficent/stock-logistics-warehouse.git","ssh_url":"git@github.com:Eficent/stock-logistics-warehouse.git","clone_url":"https://github.com/Eficent/stock-logistics-warehouse.git","svn_url":"https://github.com/Eficent/stock-logistics-warehouse","homepage":"","size":2666,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"9.0"}},"base":{"label":"OCA:8.0","ref":"8.0","sha":"2bfd70f5f1f3b1e3e7be398654b3be564efeb35a","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":20891354,"name":"stock-logistics-warehouse","full_name":"OCA/stock-logistics-warehouse","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-warehouse","description":"Odoo Warehouse Management Addons","fork":false,"url":"https://api.github.com/repos/OCA/stock-logistics-warehouse","forks_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/forks","keys_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/teams","hooks_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/hooks","issue_events_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/events","assignees_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/tags","blobs_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/languages","stargazers_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/stargazers","contributors_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/contributors","subscribers_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/subscribers","subscription_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/subscription","commits_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/merges","archive_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/downloads","issues_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/labels{/name}","releases_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/releases{/id}","deployments_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/deployments","created_at":"2014-06-16T16:08:03Z","updated_at":"2016-10-24T10:46:15Z","pushed_at":"2016-12-02T07:55:15Z","git_url":"git://github.com/OCA/stock-logistics-warehouse.git","ssh_url":"git@github.com:OCA/stock-logistics-warehouse.git","clone_url":"https://github.com/OCA/stock-logistics-warehouse.git","svn_url":"https://github.com/OCA/stock-logistics-warehouse","homepage":"","size":4697,"stargazers_count":36,"watchers_count":36,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":136,"mirror_url":null,"open_issues_count":44,"forks":136,"open_issues":44,"watchers":36,"default_branch":"10.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/stock-logistics-warehouse/pulls/221"},"html":{"href":"https://github.com/OCA/stock-logistics-warehouse/pull/221"},"issue":{"href":"https://api.github.com/repos/OCA/stock-logistics-warehouse/issues/221"},"comments":{"href":"https://api.github.com/repos/OCA/stock-logistics-warehouse/issues/221/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/stock-logistics-warehouse/pulls/221/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/stock-logistics-warehouse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/stock-logistics-warehouse/pulls/221/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/stock-logistics-warehouse/statuses/6707c871882c31ab4bb3f3a09f2e989602b7d203"}}}}
{"actor":{"display_login":"andhit-r"}}