{"action":"created","comment":{"url":"https://api.github.com/repos/odoo/odoo/pulls/comments/46265988","id":46265988,"diff_hunk":"@@ -1,137 +1,66 @@\n # -*- coding: utf-8 -*-\n # Part of Odoo. See LICENSE file for full copyright and licensing details.\n \n-from functools import partial\n+from odoo import api, fields, models, _\n+from odoo.exceptions import UserError\n \n-from openerp import SUPERUSER_ID\n-from openerp.osv import osv, fields\n \n-\n-class report_paperformat(osv.Model):\n+class ReportPaperformat(models.Model):\n     _name = \"report.paperformat\"\n     _description = \"Allows customization of a report.\"\n \n-    _columns = {'name': fields.char('Name', required=True),\n-                'default': fields.boolean('Default paper format ?'),\n-                'format': fields.selection([('A0', 'A0  5   841 x 1189 mm'),\n-                                            ('A1', 'A1  6   594 x 841 mm'),\n-                                            ('A2', 'A2  7   420 x 594 mm'),\n-                                            ('A3', 'A3  8   297 x 420 mm'),\n-                                            ('A4', 'A4  0   210 x 297 mm, 8.26 x 11.69 inches'),\n-                                            ('A5', 'A5  9   148 x 210 mm'),\n-                                            ('A6', 'A6  10  105 x 148 mm'),\n-                                            ('A7', 'A7  11  74 x 105 mm'),\n-                                            ('A8', 'A8  12  52 x 74 mm'),\n-                                            ('A9', 'A9  13  37 x 52 mm'),\n-                                            ('B0', 'B0  14  1000 x 1414 mm'),\n-                                            ('B1', 'B1  15  707 x 1000 mm'),\n-                                            ('B2', 'B2  17  500 x 707 mm'),\n-                                            ('B3', 'B3  18  353 x 500 mm'),\n-                                            ('B4', 'B4  19  250 x 353 mm'),\n-                                            ('B5', 'B5  1   176 x 250 mm, 6.93 x 9.84 inches'),\n-                                            ('B6', 'B6  20  125 x 176 mm'),\n-                                            ('B7', 'B7  21  88 x 125 mm'),\n-                                            ('B8', 'B8  22  62 x 88 mm'),\n-                                            ('B9', 'B9  23  33 x 62 mm'),\n-                                            ('B10', ':B10    16  31 x 44 mm'),\n-                                            ('C5E', 'C5E 24  163 x 229 mm'),\n-                                            ('Comm10E', 'Comm10E 25  105 x 241 mm, U.S. '\n-                                             'Common 10 Envelope'),\n-                                            ('DLE', 'DLE 26 110 x 220 mm'),\n-                                            ('Executive', 'Executive 4   7.5 x 10 inches, '\n-                                             '190.5 x 254 mm'),\n-                                            ('Folio', 'Folio 27  210 x 330 mm'),\n-                                            ('Ledger', 'Ledger  28  431.8 x 279.4 mm'),\n-                                            ('Legal', 'Legal    3   8.5 x 14 inches, '\n-                                             '215.9 x 355.6 mm'),\n-                                            ('Letter', 'Letter 2 8.5 x 11 inches, '\n-                                             '215.9 x 279.4 mm'),\n-                                            ('Tabloid', 'Tabloid 29 279.4 x 431.8 mm'),\n-                                            ('custom', 'Custom')],\n-                                           'Paper size',\n-                                           help=\"Select Proper Paper size\"),\n-                'margin_top': fields.float('Top Margin (mm)'),\n-                'margin_bottom': fields.float('Bottom Margin (mm)'),\n-                'margin_left': fields.float('Left Margin (mm)'),\n-                'margin_right': fields.float('Right Margin (mm)'),\n-                'page_height': fields.integer('Page height (mm)'),\n-                'page_width': fields.integer('Page width (mm)'),\n-                'orientation': fields.selection([('Landscape', 'Landscape'),\n-                                                 ('Portrait', 'Portrait')],\n-                                                'Orientation'),\n-                'header_line': fields.boolean('Display a header line'),\n-                'header_spacing': fields.integer('Header spacing'),\n-                'dpi': fields.integer('Output DPI', required=True),\n-                'report_ids': fields.one2many('ir.actions.report.xml',\n-                                              'paperformat_id',\n-                                              'Associated reports',\n-                                              help=\"Explicitly associated reports\")\n-                }\n-\n-    def _check_format_or_page(self, cr, uid, ids, context=None):\n-        for paperformat in self.browse(cr, uid, ids, context=context):\n-            if paperformat.format != 'custom' and (paperformat.page_width or paperformat.page_height):\n-                return False\n-        return True\n-\n-    _constraints = [\n-        (_check_format_or_page, 'Error ! You cannot select a format AND speficic '\n-                                'page width/height.', ['format']),\n-    ]\n-\n-    _defaults = {\n-        'format': 'A4',\n-        'margin_top': 40,\n-        'margin_bottom': 20,\n-        'margin_left': 7,\n-        'margin_right': 7,\n-        'page_height': False,\n-        'page_width': False,\n-        'orientation': 'Landscape',\n-        'header_line': False,\n-        'header_spacing': 35,\n-        'dpi': 90,\n-    }\n-\n-\n-class res_company(osv.Model):\n-    _inherit = 'res.company'\n-\n-    _columns = {'paperformat_id': fields.many2one('report.paperformat', 'Paper format')}\n-\n-    def init(self, cr):\n-        # set a default paperformat based on rml one.\n-        ref = partial(self.pool['ir.model.data'].xmlid_to_res_id, cr, SUPERUSER_ID)\n-\n-        ids = self.search(cr, SUPERUSER_ID, [('paperformat_id', '=', False)])\n-        for company in self.browse(cr, SUPERUSER_ID, ids):\n-            paperformat_id = {\n-                'a4': ref('report.paperformat_euro'),\n-                'us_letter': ref('report.paperformat_us'),\n-            }.get(company.rml_paper_format) or ref('report.paperformat_euro')\n-\n-            if paperformat_id:\n-                company.write({'paperformat_id': paperformat_id})\n-\n-        sup = super(res_company, self)\n-        if hasattr(sup, 'init'):\n-            sup.init(cr)\n-\n-\n-class ir_actions_report(osv.Model):\n-    _inherit = 'ir.actions.report.xml'\n-\n-    def associated_view(self, cr, uid, ids, context):\n-        \"\"\"Used in the ir.actions.report.xml form view in order to search naively after the view(s)\n-        used in the rendering.\n-        \"\"\"\n-        try:\n-            report_name = self.browse(cr, uid, ids[0], context).report_name\n-            act_window_obj = self.pool.get('ir.actions.act_window')\n-            view_action = act_window_obj.for_xml_id(cr, uid, 'base', 'action_ui_view', context=context)\n-            view_action['domain'] = [('name', 'ilike', report_name.split('.')[1]), ('type', '=', 'qweb')]\n-            return view_action\n-        except:\n-            return False\n-\n-    _columns = {'paperformat_id': fields.many2one('report.paperformat', 'Paper format')}\n+    name = fields.Char(required=True)\n+    default = fields.Boolean('Default paper format ?')\n+    page_format = fields.Selection([('A0', 'A0  5   841 x 1189 mm'),\n+                                        ('A1', 'A1  6   594 x 841 mm'),\n+                                        ('A2', 'A2  7   420 x 594 mm'),\n+                                        ('A3', 'A3  8   297 x 420 mm'),\n+                                        ('A4', 'A4  0   210 x 297 mm, 8.26 x 11.69 inches'),\n+                                        ('A5', 'A5  9   148 x 210 mm'),\n+                                        ('A6', 'A6  10  105 x 148 mm'),\n+                                        ('A7', 'A7  11  74 x 105 mm'),\n+                                        ('A8', 'A8  12  52 x 74 mm'),\n+                                        ('A9', 'A9  13  37 x 52 mm'),\n+                                        ('B0', 'B0  14  1000 x 1414 mm'),\n+                                        ('B1', 'B1  15  707 x 1000 mm'),\n+                                        ('B2', 'B2  17  500 x 707 mm'),\n+                                        ('B3', 'B3  18  353 x 500 mm'),\n+                                        ('B4', 'B4  19  250 x 353 mm'),\n+                                        ('B5', 'B5  1   176 x 250 mm, 6.93 x 9.84 inches'),\n+                                        ('B6', 'B6  20  125 x 176 mm'),\n+                                        ('B7', 'B7  21  88 x 125 mm'),\n+                                        ('B8', 'B8  22  62 x 88 mm'),\n+                                        ('B9', 'B9  23  33 x 62 mm'),\n+                                        ('B10', ':B10    16  31 x 44 mm'),\n+                                        ('C5E', 'C5E 24  163 x 229 mm'),\n+                                        ('Comm10E', 'Comm10E 25  105 x 241 mm, U.S. '\n+                                         'Common 10 Envelope'),\n+                                        ('DLE', 'DLE 26 110 x 220 mm'),\n+                                        ('Executive', 'Executive 4   7.5 x 10 inches, '\n+                                         '190.5 x 254 mm'),\n+                                        ('Folio', 'Folio 27  210 x 330 mm'),\n+                                        ('Ledger', 'Ledger  28  431.8 x 279.4 mm'),\n+                                        ('Legal', 'Legal    3   8.5 x 14 inches, '\n+                                         '215.9 x 355.6 mm'),\n+                                        ('Letter', 'Letter 2 8.5 x 11 inches, '\n+                                         '215.9 x 279.4 mm'),\n+                                        ('Tabloid', 'Tabloid 29 279.4 x 431.8 mm'),\n+                                        ('custom', 'Custom')], 'Paper size', help=\"Select Proper Paper size\", default='A4', oldname='format')\n+    margin_top = fields.Float('Top Margin (mm)', default=40)\n+    margin_bottom = fields.Float('Bottom Margin (mm)', default=20)\n+    margin_left = fields.Float('Left Margin (mm)', default=7)\n+    margin_right = fields.Float('Right Margin (mm)', default=7)\n+    page_height = fields.Integer('Page height (mm)', default=False)\n+    page_width = fields.Integer('Page width (mm)', default=False)\n+    orientation = fields.Selection([('Landscape', 'Landscape'), ('Portrait', 'Portrait')], 'Orientation', default='Landscape')\n+    header_line = fields.Boolean('Display a header line', default=False)","path":"addons/report/models/report_paperformat.py","position":185,"original_position":185,"commit_id":"c1fa547b4eec63897b33543eab922246fc4e8369","original_commit_id":"c1fa547b4eec63897b33543eab922246fc4e8369","user":{"login":"atp-odoo","id":7599410,"avatar_url":"https://avatars.githubusercontent.com/u/7599410?v=3","gravatar_id":"","url":"https://api.github.com/users/atp-odoo","html_url":"https://github.com/atp-odoo","followers_url":"https://api.github.com/users/atp-odoo/followers","following_url":"https://api.github.com/users/atp-odoo/following{/other_user}","gists_url":"https://api.github.com/users/atp-odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/atp-odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atp-odoo/subscriptions","organizations_url":"https://api.github.com/users/atp-odoo/orgs","repos_url":"https://api.github.com/users/atp-odoo/repos","events_url":"https://api.github.com/users/atp-odoo/events{/privacy}","received_events_url":"https://api.github.com/users/atp-odoo/received_events","type":"User","site_admin":false},"body":"is it required to set boolean value False... ? boolean field default value is False. ","created_at":"2015-12-01T11:13:40Z","updated_at":"2015-12-01T11:13:40Z","html_url":"https://github.com/odoo/odoo/pull/9661#discussion_r46265988","pull_request_url":"https://api.github.com/repos/odoo/odoo/pulls/9661","_links":{"self":{"href":"https://api.github.com/repos/odoo/odoo/pulls/comments/46265988"},"html":{"href":"https://github.com/odoo/odoo/pull/9661#discussion_r46265988"},"pull_request":{"href":"https://api.github.com/repos/odoo/odoo/pulls/9661"}}},"pull_request":{"url":"https://api.github.com/repos/odoo/odoo/pulls/9661","id":51359205,"html_url":"https://github.com/odoo/odoo/pull/9661","diff_url":"https://github.com/odoo/odoo/pull/9661.diff","patch_url":"https://github.com/odoo/odoo/pull/9661.patch","issue_url":"https://api.github.com/repos/odoo/odoo/issues/9661","number":9661,"state":"open","locked":false,"title":"Master report new api rka","user":{"login":"rka-odoo","id":10609138,"avatar_url":"https://avatars.githubusercontent.com/u/10609138?v=3","gravatar_id":"","url":"https://api.github.com/users/rka-odoo","html_url":"https://github.com/rka-odoo","followers_url":"https://api.github.com/users/rka-odoo/followers","following_url":"https://api.github.com/users/rka-odoo/following{/other_user}","gists_url":"https://api.github.com/users/rka-odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/rka-odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rka-odoo/subscriptions","organizations_url":"https://api.github.com/users/rka-odoo/orgs","repos_url":"https://api.github.com/users/rka-odoo/repos","events_url":"https://api.github.com/users/rka-odoo/events{/privacy}","received_events_url":"https://api.github.com/users/rka-odoo/received_events","type":"User","site_admin":false},"body":"<b>Task:https://www.odoo.com/web?#id=20822&view_type=form&model=project.task&menu_id=3942&action=327</b>\r\n<b>Pad:https://pad.odoo.com/p/r.FoSeBu6SUT61ojIp</b>","created_at":"2015-11-20T14:00:12Z","updated_at":"2015-12-01T11:13:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"88a67773b39816515851dc2bebf7373a6bedd517","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/odoo/odoo/pulls/9661/commits","review_comments_url":"https://api.github.com/repos/odoo/odoo/pulls/9661/comments","review_comment_url":"https://api.github.com/repos/odoo/odoo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/9661/comments","statuses_url":"https://api.github.com/repos/odoo/odoo/statuses/c1fa547b4eec63897b33543eab922246fc4e8369","head":{"label":"odoo-dev:master-report-new-api-rka","ref":"master-report-new-api-rka","sha":"c1fa547b4eec63897b33543eab922246fc4e8369","user":{"login":"odoo-dev","id":7466976,"avatar_url":"https://avatars.githubusercontent.com/u/7466976?v=3","gravatar_id":"","url":"https://api.github.com/users/odoo-dev","html_url":"https://github.com/odoo-dev","followers_url":"https://api.github.com/users/odoo-dev/followers","following_url":"https://api.github.com/users/odoo-dev/following{/other_user}","gists_url":"https://api.github.com/users/odoo-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/odoo-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoo-dev/subscriptions","organizations_url":"https://api.github.com/users/odoo-dev/orgs","repos_url":"https://api.github.com/users/odoo-dev/repos","events_url":"https://api.github.com/users/odoo-dev/events{/privacy}","received_events_url":"https://api.github.com/users/odoo-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":19853934,"name":"odoo","full_name":"odoo-dev/odoo","owner":{"login":"odoo-dev","id":7466976,"avatar_url":"https://avatars.githubusercontent.com/u/7466976?v=3","gravatar_id":"","url":"https://api.github.com/users/odoo-dev","html_url":"https://github.com/odoo-dev","followers_url":"https://api.github.com/users/odoo-dev/followers","following_url":"https://api.github.com/users/odoo-dev/following{/other_user}","gists_url":"https://api.github.com/users/odoo-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/odoo-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoo-dev/subscriptions","organizations_url":"https://api.github.com/users/odoo-dev/orgs","repos_url":"https://api.github.com/users/odoo-dev/repos","events_url":"https://api.github.com/users/odoo-dev/events{/privacy}","received_events_url":"https://api.github.com/users/odoo-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/odoo-dev/odoo","description":"RD Dev Repository","fork":true,"url":"https://api.github.com/repos/odoo-dev/odoo","forks_url":"https://api.github.com/repos/odoo-dev/odoo/forks","keys_url":"https://api.github.com/repos/odoo-dev/odoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odoo-dev/odoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odoo-dev/odoo/teams","hooks_url":"https://api.github.com/repos/odoo-dev/odoo/hooks","issue_events_url":"https://api.github.com/repos/odoo-dev/odoo/issues/events{/number}","events_url":"https://api.github.com/repos/odoo-dev/odoo/events","assignees_url":"https://api.github.com/repos/odoo-dev/odoo/assignees{/user}","branches_url":"https://api.github.com/repos/odoo-dev/odoo/branches{/branch}","tags_url":"https://api.github.com/repos/odoo-dev/odoo/tags","blobs_url":"https://api.github.com/repos/odoo-dev/odoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odoo-dev/odoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odoo-dev/odoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/odoo-dev/odoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odoo-dev/odoo/statuses/{sha}","languages_url":"https://api.github.com/repos/odoo-dev/odoo/languages","stargazers_url":"https://api.github.com/repos/odoo-dev/odoo/stargazers","contributors_url":"https://api.github.com/repos/odoo-dev/odoo/contributors","subscribers_url":"https://api.github.com/repos/odoo-dev/odoo/subscribers","subscription_url":"https://api.github.com/repos/odoo-dev/odoo/subscription","commits_url":"https://api.github.com/repos/odoo-dev/odoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/odoo-dev/odoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/odoo-dev/odoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/odoo-dev/odoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/odoo-dev/odoo/contents/{+path}","compare_url":"https://api.github.com/repos/odoo-dev/odoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odoo-dev/odoo/merges","archive_url":"https://api.github.com/repos/odoo-dev/odoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odoo-dev/odoo/downloads","issues_url":"https://api.github.com/repos/odoo-dev/odoo/issues{/number}","pulls_url":"https://api.github.com/repos/odoo-dev/odoo/pulls{/number}","milestones_url":"https://api.github.com/repos/odoo-dev/odoo/milestones{/number}","notifications_url":"https://api.github.com/repos/odoo-dev/odoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odoo-dev/odoo/labels{/name}","releases_url":"https://api.github.com/repos/odoo-dev/odoo/releases{/id}","created_at":"2014-05-16T11:16:19Z","updated_at":"2015-11-23T04:22:05Z","pushed_at":"2015-12-01T10:58:20Z","git_url":"git://github.com/odoo-dev/odoo.git","ssh_url":"git@github.com:odoo-dev/odoo.git","clone_url":"https://github.com/odoo-dev/odoo.git","svn_url":"https://github.com/odoo-dev/odoo","homepage":"https://www.odoo.com","size":1139129,"stargazers_count":63,"watchers_count":63,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":0,"forks":27,"open_issues":0,"watchers":63,"default_branch":"master"}},"base":{"label":"odoo:master","ref":"master","sha":"23a4adc1995174347df30208dff9f0426d6444bf","user":{"login":"odoo","id":6368483,"avatar_url":"https://avatars.githubusercontent.com/u/6368483?v=3","gravatar_id":"","url":"https://api.github.com/users/odoo","html_url":"https://github.com/odoo","followers_url":"https://api.github.com/users/odoo/followers","following_url":"https://api.github.com/users/odoo/following{/other_user}","gists_url":"https://api.github.com/users/odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoo/subscriptions","organizations_url":"https://api.github.com/users/odoo/orgs","repos_url":"https://api.github.com/users/odoo/repos","events_url":"https://api.github.com/users/odoo/events{/privacy}","received_events_url":"https://api.github.com/users/odoo/received_events","type":"Organization","site_admin":false},"repo":{"id":19745004,"name":"odoo","full_name":"odoo/odoo","owner":{"login":"odoo","id":6368483,"avatar_url":"https://avatars.githubusercontent.com/u/6368483?v=3","gravatar_id":"","url":"https://api.github.com/users/odoo","html_url":"https://github.com/odoo","followers_url":"https://api.github.com/users/odoo/followers","following_url":"https://api.github.com/users/odoo/following{/other_user}","gists_url":"https://api.github.com/users/odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoo/subscriptions","organizations_url":"https://api.github.com/users/odoo/orgs","repos_url":"https://api.github.com/users/odoo/repos","events_url":"https://api.github.com/users/odoo/events{/privacy}","received_events_url":"https://api.github.com/users/odoo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/odoo/odoo","description":"Odoo (formerly OpenERP). Open Source Apps To Grow Your Business.","fork":false,"url":"https://api.github.com/repos/odoo/odoo","forks_url":"https://api.github.com/repos/odoo/odoo/forks","keys_url":"https://api.github.com/repos/odoo/odoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odoo/odoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odoo/odoo/teams","hooks_url":"https://api.github.com/repos/odoo/odoo/hooks","issue_events_url":"https://api.github.com/repos/odoo/odoo/issues/events{/number}","events_url":"https://api.github.com/repos/odoo/odoo/events","assignees_url":"https://api.github.com/repos/odoo/odoo/assignees{/user}","branches_url":"https://api.github.com/repos/odoo/odoo/branches{/branch}","tags_url":"https://api.github.com/repos/odoo/odoo/tags","blobs_url":"https://api.github.com/repos/odoo/odoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odoo/odoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odoo/odoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/odoo/odoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odoo/odoo/statuses/{sha}","languages_url":"https://api.github.com/repos/odoo/odoo/languages","stargazers_url":"https://api.github.com/repos/odoo/odoo/stargazers","contributors_url":"https://api.github.com/repos/odoo/odoo/contributors","subscribers_url":"https://api.github.com/repos/odoo/odoo/subscribers","subscription_url":"https://api.github.com/repos/odoo/odoo/subscription","commits_url":"https://api.github.com/repos/odoo/odoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/odoo/odoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/odoo/odoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/odoo/odoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/odoo/odoo/contents/{+path}","compare_url":"https://api.github.com/repos/odoo/odoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odoo/odoo/merges","archive_url":"https://api.github.com/repos/odoo/odoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odoo/odoo/downloads","issues_url":"https://api.github.com/repos/odoo/odoo/issues{/number}","pulls_url":"https://api.github.com/repos/odoo/odoo/pulls{/number}","milestones_url":"https://api.github.com/repos/odoo/odoo/milestones{/number}","notifications_url":"https://api.github.com/repos/odoo/odoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odoo/odoo/labels{/name}","releases_url":"https://api.github.com/repos/odoo/odoo/releases{/id}","created_at":"2014-05-13T15:38:58Z","updated_at":"2015-12-01T10:00:11Z","pushed_at":"2015-12-01T11:03:42Z","git_url":"git://github.com/odoo/odoo.git","ssh_url":"git@github.com:odoo/odoo.git","clone_url":"https://github.com/odoo/odoo.git","svn_url":"https://github.com/odoo/odoo","homepage":"https://www.odoo.com","size":1216642,"stargazers_count":3449,"watchers_count":3449,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3145,"mirror_url":null,"open_issues_count":2894,"forks":3145,"open_issues":2894,"watchers":3449,"default_branch":"9.0"}},"_links":{"self":{"href":"https://api.github.com/repos/odoo/odoo/pulls/9661"},"html":{"href":"https://github.com/odoo/odoo/pull/9661"},"issue":{"href":"https://api.github.com/repos/odoo/odoo/issues/9661"},"comments":{"href":"https://api.github.com/repos/odoo/odoo/issues/9661/comments"},"review_comments":{"href":"https://api.github.com/repos/odoo/odoo/pulls/9661/comments"},"review_comment":{"href":"https://api.github.com/repos/odoo/odoo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/odoo/odoo/pulls/9661/commits"},"statuses":{"href":"https://api.github.com/repos/odoo/odoo/statuses/c1fa547b4eec63897b33543eab922246fc4e8369"}}}}