{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/3972","labels_url":"https://api.github.com/repos/odoo/odoo/issues/3972/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/3972/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/3972/events","html_url":"https://github.com/odoo/odoo/issues/3972","id":50513596,"number":3972,"title":"[8.0][regression] Problem with computed integer fields","user":{"login":"ludwiktrammer","id":5337669,"avatar_url":"https://avatars.githubusercontent.com/u/5337669?v=3","gravatar_id":"","url":"https://api.github.com/users/ludwiktrammer","html_url":"https://github.com/ludwiktrammer","followers_url":"https://api.github.com/users/ludwiktrammer/followers","following_url":"https://api.github.com/users/ludwiktrammer/following{/other_user}","gists_url":"https://api.github.com/users/ludwiktrammer/gists{/gist_id}","starred_url":"https://api.github.com/users/ludwiktrammer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludwiktrammer/subscriptions","organizations_url":"https://api.github.com/users/ludwiktrammer/orgs","repos_url":"https://api.github.com/users/ludwiktrammer/repos","events_url":"https://api.github.com/users/ludwiktrammer/events{/privacy}","received_events_url":"https://api.github.com/users/ludwiktrammer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"rco-odoo","id":7578141,"avatar_url":"https://avatars.githubusercontent.com/u/7578141?v=3","gravatar_id":"","url":"https://api.github.com/users/rco-odoo","html_url":"https://github.com/rco-odoo","followers_url":"https://api.github.com/users/rco-odoo/followers","following_url":"https://api.github.com/users/rco-odoo/following{/other_user}","gists_url":"https://api.github.com/users/rco-odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/rco-odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rco-odoo/subscriptions","organizations_url":"https://api.github.com/users/rco-odoo/orgs","repos_url":"https://api.github.com/users/rco-odoo/repos","events_url":"https://api.github.com/users/rco-odoo/events{/privacy}","received_events_url":"https://api.github.com/users/rco-odoo/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2014-12-01T11:26:29Z","updated_at":"2016-01-14T04:25:48Z","closed_at":"2015-01-05T10:32:07Z","body":"An regression exists introduced in commit f2e4a10e1a58c932f9a989e642771f5ae75d756a (on November 3th).\r\n\r\nI've got a model with a computed integer field:\r\n\r\n    class Foo(models.Model):\r\n        _name = 'my.foo'\r\n\r\n        # ...\r\n        age = fields.Integer(compute='compute_age')\r\n\r\n        @api.one\r\n        def compute_age(self):\r\n            self.age = 25  # simplified example ;)\r\n\r\nWhen I try to display objects of this model in kanban view (grouped by an entirely different field) I get the following error:\r\n\r\n    File \"/[snip]/odoo/openerp/models.py\", line 2101, in read_group\r\n        if getattr(self._fields[f].base_field.column, '_classic_write')\r\n    AttributeError: 'NoneType' object has no attribute '_classic_write'\r\n\r\nThe problem didn't exist before commit f2e4a10e1a58c932f9a989e642771f5ae75d756a. It seems that [this is the change that causes the problem](https://github.com/odoo/odoo/commit/f2e4a10e1a58c932f9a989e642771f5ae75d756a#diff-5cd113a636a42f726042abc6798a9efaR2131)."},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/171526887","html_url":"https://github.com/odoo/odoo/issues/3972#issuecomment-171526887","issue_url":"https://api.github.com/repos/odoo/odoo/issues/3972","id":171526887,"user":{"login":"nareshppts","id":12760344,"avatar_url":"https://avatars.githubusercontent.com/u/12760344?v=3","gravatar_id":"","url":"https://api.github.com/users/nareshppts","html_url":"https://github.com/nareshppts","followers_url":"https://api.github.com/users/nareshppts/followers","following_url":"https://api.github.com/users/nareshppts/following{/other_user}","gists_url":"https://api.github.com/users/nareshppts/gists{/gist_id}","starred_url":"https://api.github.com/users/nareshppts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nareshppts/subscriptions","organizations_url":"https://api.github.com/users/nareshppts/orgs","repos_url":"https://api.github.com/users/nareshppts/repos","events_url":"https://api.github.com/users/nareshppts/events{/privacy}","received_events_url":"https://api.github.com/users/nareshppts/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T04:25:48Z","updated_at":"2016-01-14T04:25:48Z","body":"fbf"}}