{"action":"created","comment":{"url":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/comments/23835186","id":23835186,"diff_hunk":"@@ -81,92 +87,125 @@ def action_compute(self, properties=None):\n                     project = project_obj.create(project_vals)\n                 record.project_id = project.id\n                 record.analytic_account_id = project.analytic_account_id.id\n-            record._calculate_production_estimated_cost()\n         return res\n \n-    def _calculate_production_estimated_cost(self):\n+    @api.multi\n+    def action_show_estimated_costs(self):\n+        self.ensure_one()\n         analytic_line_obj = self.env['account.analytic.line']\n-        cond = [('mrp_production_id', '=', self.id)]\n-        analytic_line_obj.search(cond).unlink()\n-        journal = self.env.ref(\n-            'mrp_production_project_estimated_cost.analytic_journal_materials',\n-            False)\n-        for line in self.product_lines:\n-            name = _('%s-%s' % (self.name, line.work_order.name or ''))\n-            vals = self._catch_information_estimated_cost(\n-                journal, name, self, line.work_order, line.product_id,\n-                line.product_qty)\n-            analytic_line_obj.create(vals)\n-        journal = self.env.ref(\n-            'mrp_production_project_estimated_cost.analytic_journal_machines',\n-            False)\n-        for line in self.workcenter_lines:\n-            workcenter = line.workcenter_id\n-            for op_workcenter in line.routing_wc_line.op_wc_lines:\n-                if line.workcenter_id == op_workcenter.workcenter:\n-                    workcenter = op_workcenter\n-                    break\n-            time_start = workcenter.time_start\n-            time_stop = workcenter.time_stop\n-            op_number = workcenter.op_number\n-            op_avg_cost = workcenter.op_avg_cost\n-            if (time_start and line.workcenter_id.pre_op_product):\n-                name = (_('%s-%s Pre-operation') %\n-                        (self.name, line.workcenter_id.name))\n-                vals = self._catch_information_estimated_cost(\n-                    journal, name, self, line,\n-                    line.workcenter_id.pre_op_product, time_start)\n-                vals.update({'amount':\n-                             line.workcenter_id.pre_op_product.standard_price})\n-                analytic_line_obj.create(vals)\n-            if (time_stop and line.workcenter_id.post_op_product):\n-                name = (_('%s-%s Post-operation') %\n-                        (self.name, line.workcenter_id.name))\n-                vals = self._catch_information_estimated_cost(\n-                    journal, name, self, line,\n-                    line.workcenter_id.post_op_product, time_stop)\n-                vals.update(\n-                    {'amount':\n-                     line.workcenter_id.post_op_product.standard_price})\n-                analytic_line_obj.create(vals)\n-            if line.cycle and line.workcenter_id.product_id:\n-                name = (_('%s-%s-C-%s') %\n-                        (self.name, line.routing_wc_line.operation.code,\n-                         line.workcenter_id.name))\n-                vals = self._catch_information_estimated_cost(\n-                    journal, name, self, line,\n-                    line.workcenter_id.product_id, line.cycle)\n-                analytic_line_obj.create(vals)\n-            if line.hour and line.workcenter_id.product_id:\n-                name = (_('%s-%s-H-%s') %\n-                        (self.name, line.routing_wc_line.operation.code,\n-                         line.workcenter_id.name))\n-                vals = self._catch_information_estimated_cost(\n-                    journal, name, self, line,\n-                    line.workcenter_id.product_id, line.hour)\n-                analytic_line_obj.create(vals)\n-            if op_number > 0:\n-                journal_wk = self.env.ref(\n-                    'mrp_production_project_estimated_cost.analytic_journal_'\n-                    'operators', False)\n-                name = (_('%s-%s-%s') %\n-                        (self.name, line.routing_wc_line.operation.code,\n-                         line.workcenter_id.product_id.name))\n-                vals = self._catch_information_estimated_cost(\n-                    journal_wk, name, self, line,\n-                    line.workcenter_id.product_id, op_number)\n-                vals.update({\n-                    'estim_average_cost': op_number * op_avg_cost,\n-                    'estim_standard_cost': op_number * op_avg_cost,\n-                })\n+        id2 = self.env.ref(\n+            'mrp_production_project_estimated_cost.estimated_cost_list_view')\n+        search_view = self.env.ref('mrp_project_link.account_analytic_line'\n+                                   '_mrp_search_view')\n+        analytic_line_list = analytic_line_obj.search(\n+            [('mrp_production_id', '=', self.id),\n+             ('task_id', '=', False)])\n+        self = self.with_context(search_default_group_production=1,\n+                                 search_default_group_workorder=1,\n+                                 search_default_group_journal=1)\n+        return {\n+            'view_type': 'form',\n+            'view_mode': 'tree',\n+            'res_model': 'account.analytic.line',\n+            'views': [(id2.id, 'tree')],\n+            'search_view_id': search_view.id,\n+            'view_id': False,\n+            'type': 'ir.actions.act_window',\n+            'target': 'new',\n+            'domain': \"[('id','in',[\" +\n+            ','.join(map(str, analytic_line_list.ids)) + \"])]\",\n+            'context': self.env.context\n+            }\n+\n+    @api.multi\n+    def calculate_production_estimated_cost(self):\n+        analytic_line_obj = self.env['account.analytic.line']\n+        for record in self:\n+            cond = [('mrp_production_id', '=', record.id)]\n+            analytic_line_obj.search(cond).unlink()\n+            journal = record.env.ref('mrp_production_project_estimated_cost.'\n+                                     'analytic_journal_materials', False)\n+            for line in record.product_lines:\n+                name = _('%s-%s' % (record.name, line.work_order.name or ''))\n+                vals = record._prepare_estim_cost_analytic_line(\n+                    journal, name, record, line.work_order, line.product_id,\n+                    line.product_qty)\n                 analytic_line_obj.create(vals)\n+            journal = record.env.ref('mrp_production_project_estimated_cost.'\n+                                     'analytic_journal_machines', False)\n+            for line in record.workcenter_lines:\n+                op_wc_lines = line.routing_wc_line.op_wc_lines\n+                wc = op_wc_lines.filtered(lambda r: r.workcenter ==\n+                                          line.workcenter_id) or \\\n+                    line.workcenter_id\n+                if (wc.time_start and line.workcenter_id.pre_op_product):\n+                    name = (_('%s-%s Pre-operation') %\n+                            (record.name, line.workcenter_id.name))\n+                    vals = record._prepare_estim_cost_analytic_line(\n+                        journal, name, record, line,\n+                        line.workcenter_id.pre_op_product, wc.time_start)\n+                    amount = line.workcenter_id.pre_op_product.standard_price\n+                    vals['amount'] = amount\n+                    analytic_line_obj.create(vals)\n+                if (wc.time_stop and line.workcenter_id.post_op_product):\n+                    name = (_('%s-%s Post-operation') %\n+                            (record.name, line.workcenter_id.name))\n+                    vals = record._prepare_estim_cost_analytic_line(\n+                        journal, name, record, line,\n+                        line.workcenter_id.post_op_product, wc.time_stop)\n+                    amount = line.workcenter_id.post_op_product.standard_price\n+                    vals['amount'] = amount\n+                    analytic_line_obj.create(vals)\n+                if line.cycle:\n+                    name = (_('%s-%s-C-%s') %\n+                            (record.name, line.routing_wc_line.operation.code,\n+                             line.workcenter_id.name))\n+                    vals = record._prepare_estim_cost_analytic_line(\n+                        journal, name, record, line,\n+                        line.workcenter_id.product_id, line.cycle)","path":"mrp_production_project_estimated_cost/models/mrp_production.py","position":167,"original_position":167,"commit_id":"af324d13df2f4610e40f8e3e16556a772b74585e","original_commit_id":"9d7b19d8e2f335c06721d66b05488083ebfff028","user":{"login":"agaldona","id":8297237,"avatar_url":"https://avatars.githubusercontent.com/u/8297237?v=3","gravatar_id":"","url":"https://api.github.com/users/agaldona","html_url":"https://github.com/agaldona","followers_url":"https://api.github.com/users/agaldona/followers","following_url":"https://api.github.com/users/agaldona/following{/other_user}","gists_url":"https://api.github.com/users/agaldona/gists{/gist_id}","starred_url":"https://api.github.com/users/agaldona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agaldona/subscriptions","organizations_url":"https://api.github.com/users/agaldona/orgs","repos_url":"https://api.github.com/users/agaldona/repos","events_url":"https://api.github.com/users/agaldona/events{/privacy}","received_events_url":"https://api.github.com/users/agaldona/received_events","type":"User","site_admin":false},"body":"Entonces hago eso? el caso de por ciclo lo añado en un elsif ??","created_at":"2015-01-30T10:50:29Z","updated_at":"2015-01-30T10:50:29Z","html_url":"https://github.com/odoomrp/odoomrp-wip/pull/617#discussion_r23835186","pull_request_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/617","_links":{"self":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/comments/23835186"},"html":{"href":"https://github.com/odoomrp/odoomrp-wip/pull/617#discussion_r23835186"},"pull_request":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/617"}}},"pull_request":{"url":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/617","id":28206559,"html_url":"https://github.com/odoomrp/odoomrp-wip/pull/617","diff_url":"https://github.com/odoomrp/odoomrp-wip/pull/617.diff","patch_url":"https://github.com/odoomrp/odoomrp-wip/pull/617.patch","issue_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/617","number":617,"state":"open","locked":false,"title":"[IMP] Costes estimados","user":{"login":"agaldona","id":8297237,"avatar_url":"https://avatars.githubusercontent.com/u/8297237?v=3","gravatar_id":"","url":"https://api.github.com/users/agaldona","html_url":"https://github.com/agaldona","followers_url":"https://api.github.com/users/agaldona/followers","following_url":"https://api.github.com/users/agaldona/following{/other_user}","gists_url":"https://api.github.com/users/agaldona/gists{/gist_id}","starred_url":"https://api.github.com/users/agaldona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agaldona/subscriptions","organizations_url":"https://api.github.com/users/agaldona/orgs","repos_url":"https://api.github.com/users/agaldona/repos","events_url":"https://api.github.com/users/agaldona/events{/privacy}","received_events_url":"https://api.github.com/users/agaldona/received_events","type":"User","site_admin":false},"body":"Issues que se han tenido en cuenta:: #607 #614\r\n\r\n- Modificaciones en calculo de numero de ciclos y horas de una workorder.\r\n- Modificaciones en imputaciones analiticas estimadas.\r\n- Tree de costes desde una OF - lo saco en modo vista tree, pero no he sido capaz de agruparlo, creo que tenemos que darle una vuelta.\r\n- Se ha sacado el proceso de costes estimados de action_compute. Se ha añadido un botón para lanzar el proceso manualmente y además se ha programado de forma que cuando se confirme una OF se lance el mismo proceso.\r\n","created_at":"2015-01-28T16:21:24Z","updated_at":"2015-01-30T10:50:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f7fe3b82b94e28ad7c26c361491a34105f5217d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/617/commits","review_comments_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/617/comments","review_comment_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/comments/{number}","comments_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/617/comments","statuses_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/statuses/af324d13df2f4610e40f8e3e16556a772b74585e","head":{"label":"agaldona:8.0-mrp_estimated_costs","ref":"8.0-mrp_estimated_costs","sha":"af324d13df2f4610e40f8e3e16556a772b74585e","user":{"login":"agaldona","id":8297237,"avatar_url":"https://avatars.githubusercontent.com/u/8297237?v=3","gravatar_id":"","url":"https://api.github.com/users/agaldona","html_url":"https://github.com/agaldona","followers_url":"https://api.github.com/users/agaldona/followers","following_url":"https://api.github.com/users/agaldona/following{/other_user}","gists_url":"https://api.github.com/users/agaldona/gists{/gist_id}","starred_url":"https://api.github.com/users/agaldona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agaldona/subscriptions","organizations_url":"https://api.github.com/users/agaldona/orgs","repos_url":"https://api.github.com/users/agaldona/repos","events_url":"https://api.github.com/users/agaldona/events{/privacy}","received_events_url":"https://api.github.com/users/agaldona/received_events","type":"User","site_admin":false},"repo":{"id":24679974,"name":"odoomrp-wip-1","full_name":"agaldona/odoomrp-wip-1","owner":{"login":"agaldona","id":8297237,"avatar_url":"https://avatars.githubusercontent.com/u/8297237?v=3","gravatar_id":"","url":"https://api.github.com/users/agaldona","html_url":"https://github.com/agaldona","followers_url":"https://api.github.com/users/agaldona/followers","following_url":"https://api.github.com/users/agaldona/following{/other_user}","gists_url":"https://api.github.com/users/agaldona/gists{/gist_id}","starred_url":"https://api.github.com/users/agaldona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agaldona/subscriptions","organizations_url":"https://api.github.com/users/agaldona/orgs","repos_url":"https://api.github.com/users/agaldona/repos","events_url":"https://api.github.com/users/agaldona/events{/privacy}","received_events_url":"https://api.github.com/users/agaldona/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/agaldona/odoomrp-wip-1","description":"WIP of OdooMRP","fork":true,"url":"https://api.github.com/repos/agaldona/odoomrp-wip-1","forks_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/forks","keys_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/teams","hooks_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/hooks","issue_events_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/issues/events{/number}","events_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/events","assignees_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/assignees{/user}","branches_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/branches{/branch}","tags_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/tags","blobs_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/statuses/{sha}","languages_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/languages","stargazers_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/stargazers","contributors_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/contributors","subscribers_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/subscribers","subscription_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/subscription","commits_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/issues/comments/{number}","contents_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/contents/{+path}","compare_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/merges","archive_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/downloads","issues_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/issues{/number}","pulls_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/pulls{/number}","milestones_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/milestones{/number}","notifications_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/labels{/name}","releases_url":"https://api.github.com/repos/agaldona/odoomrp-wip-1/releases{/id}","created_at":"2014-10-01T13:44:53Z","updated_at":"2015-01-29T11:57:15Z","pushed_at":"2015-01-29T16:41:14Z","git_url":"git://github.com/agaldona/odoomrp-wip-1.git","ssh_url":"git@github.com:agaldona/odoomrp-wip-1.git","clone_url":"https://github.com/agaldona/odoomrp-wip-1.git","svn_url":"https://github.com/agaldona/odoomrp-wip-1","homepage":"http://www.odoomrp.com","size":3134,"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":"odoomrp:8.0","ref":"8.0","sha":"0e8e0c20432a0b99e0d2ff09a7150569cfb8a6b9","user":{"login":"odoomrp","id":7858947,"avatar_url":"https://avatars.githubusercontent.com/u/7858947?v=3","gravatar_id":"","url":"https://api.github.com/users/odoomrp","html_url":"https://github.com/odoomrp","followers_url":"https://api.github.com/users/odoomrp/followers","following_url":"https://api.github.com/users/odoomrp/following{/other_user}","gists_url":"https://api.github.com/users/odoomrp/gists{/gist_id}","starred_url":"https://api.github.com/users/odoomrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoomrp/subscriptions","organizations_url":"https://api.github.com/users/odoomrp/orgs","repos_url":"https://api.github.com/users/odoomrp/repos","events_url":"https://api.github.com/users/odoomrp/events{/privacy}","received_events_url":"https://api.github.com/users/odoomrp/received_events","type":"Organization","site_admin":false},"repo":{"id":22124768,"name":"odoomrp-wip","full_name":"odoomrp/odoomrp-wip","owner":{"login":"odoomrp","id":7858947,"avatar_url":"https://avatars.githubusercontent.com/u/7858947?v=3","gravatar_id":"","url":"https://api.github.com/users/odoomrp","html_url":"https://github.com/odoomrp","followers_url":"https://api.github.com/users/odoomrp/followers","following_url":"https://api.github.com/users/odoomrp/following{/other_user}","gists_url":"https://api.github.com/users/odoomrp/gists{/gist_id}","starred_url":"https://api.github.com/users/odoomrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoomrp/subscriptions","organizations_url":"https://api.github.com/users/odoomrp/orgs","repos_url":"https://api.github.com/users/odoomrp/repos","events_url":"https://api.github.com/users/odoomrp/events{/privacy}","received_events_url":"https://api.github.com/users/odoomrp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/odoomrp/odoomrp-wip","description":"WIP of OdooMRP","fork":false,"url":"https://api.github.com/repos/odoomrp/odoomrp-wip","forks_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/forks","keys_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/teams","hooks_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/hooks","issue_events_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/events{/number}","events_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/events","assignees_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/assignees{/user}","branches_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/branches{/branch}","tags_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/tags","blobs_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/git/refs{/sha}","trees_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/statuses/{sha}","languages_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/languages","stargazers_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/stargazers","contributors_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/contributors","subscribers_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/subscribers","subscription_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/subscription","commits_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/commits{/sha}","git_commits_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/git/commits{/sha}","comments_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/comments{/number}","issue_comment_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/comments/{number}","contents_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/contents/{+path}","compare_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/merges","archive_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/downloads","issues_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues{/number}","pulls_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls{/number}","milestones_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/milestones{/number}","notifications_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/labels{/name}","releases_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/releases{/id}","created_at":"2014-07-22T23:29:59Z","updated_at":"2015-01-29T15:58:27Z","pushed_at":"2015-01-29T15:58:27Z","git_url":"git://github.com/odoomrp/odoomrp-wip.git","ssh_url":"git@github.com:odoomrp/odoomrp-wip.git","clone_url":"https://github.com/odoomrp/odoomrp-wip.git","svn_url":"https://github.com/odoomrp/odoomrp-wip","homepage":"http://www.odoomrp.com","size":6802,"stargazers_count":21,"watchers_count":21,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":25,"forks":33,"open_issues":25,"watchers":21,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/617"},"html":{"href":"https://github.com/odoomrp/odoomrp-wip/pull/617"},"issue":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/617"},"comments":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/617/comments"},"review_comments":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/617/comments"},"review_comment":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/617/commits"},"statuses":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/statuses/af324d13df2f4610e40f8e3e16556a772b74585e"}}}}