{"action":"created","issue":{"url":"https://api.github.com/repos/OCA/OCB/issues/204","labels_url":"https://api.github.com/repos/OCA/OCB/issues/204/labels{/name}","comments_url":"https://api.github.com/repos/OCA/OCB/issues/204/comments","events_url":"https://api.github.com/repos/OCA/OCB/issues/204/events","html_url":"https://github.com/OCA/OCB/pull/204","id":69540494,"number":204,"title":"[FIX] Allows to write log_access fields","user":{"login":"antespi","id":1881111,"avatar_url":"https://avatars.githubusercontent.com/u/1881111?v=3","gravatar_id":"","url":"https://api.github.com/users/antespi","html_url":"https://github.com/antespi","followers_url":"https://api.github.com/users/antespi/followers","following_url":"https://api.github.com/users/antespi/following{/other_user}","gists_url":"https://api.github.com/users/antespi/gists{/gist_id}","starred_url":"https://api.github.com/users/antespi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antespi/subscriptions","organizations_url":"https://api.github.com/users/antespi/orgs","repos_url":"https://api.github.com/users/antespi/repos","events_url":"https://api.github.com/users/antespi/events{/privacy}","received_events_url":"https://api.github.com/users/antespi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-04-20T08:59:35Z","updated_at":"2015-06-09T14:12:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OCA/OCB/pulls/204","html_url":"https://github.com/OCA/OCB/pull/204","diff_url":"https://github.com/OCA/OCB/pull/204.diff","patch_url":"https://github.com/OCA/OCB/pull/204.patch"},"body":"Adds a new method to BaseModel, called log_access_write, that allows to write log_access fields: ```'create_uid', 'create_date', 'write_uid', 'write_date'```"},"comment":{"url":"https://api.github.com/repos/OCA/OCB/issues/comments/110368080","html_url":"https://github.com/OCA/OCB/pull/204#issuecomment-110368080","issue_url":"https://api.github.com/repos/OCA/OCB/issues/204","id":110368080,"user":{"login":"antespi","id":1881111,"avatar_url":"https://avatars.githubusercontent.com/u/1881111?v=3","gravatar_id":"","url":"https://api.github.com/users/antespi","html_url":"https://github.com/antespi","followers_url":"https://api.github.com/users/antespi/followers","following_url":"https://api.github.com/users/antespi/following{/other_user}","gists_url":"https://api.github.com/users/antespi/gists{/gist_id}","starred_url":"https://api.github.com/users/antespi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antespi/subscriptions","organizations_url":"https://api.github.com/users/antespi/orgs","repos_url":"https://api.github.com/users/antespi/repos","events_url":"https://api.github.com/users/antespi/events{/privacy}","received_events_url":"https://api.github.com/users/antespi/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T14:12:20Z","updated_at":"2015-06-09T14:12:20Z","body":"@StefanRijnhart \r\nIf I add this method in a model, using Odoo inheritance model, I'll have this feature available only for that model.\r\nHow do i implement this method to be available for all models at once?\r\n\r\n@gurneyalex, As we can read in Odoo v8 ORM API doc: https://www.odoo.com/documentation/8.0/reference/orm.html#porting-from-the-old-api-to-the-new-api\r\n> remove explicit definition of create_uid, create_date, write_uid and write_date fields: they are now created as regular \"legitimate\" fields, and can be read and written like any other field out-of-the-box\r\n\r\nSo, as I understand, Odoo is not considering this feature as a way for abusing. But I understand that regular web UI user should not change this values througth a view. XML-RPC is not user-friendly, is script-friendly.\r\n\r\nBTW, i've just issued this to Odoo in https://github.com/odoo/odoo/issues/7005 in order to hear their opinion"}}