Log Access Model Attribute In Odoo || Remove Create and Write Fields From Odoo Models

Опубликовано: 28 Июль 2026
на канале: Odoo Mates
2,931
61

𝐕𝐢𝐝𝐞𝐨 𝐍𝐨: 𝟏𝟎6
Working of log access attribute in Odoo. Remove magic fields from Odoo Models. How to remove create_uid, create_date, write_date and write_uid fields from odoo models. Log_access model attribute in Odoo. Odoo Model attributes.

Access Log fields
These fields are automatically set and updated if _log_access is enabled. It can be disabled to avoid creating or updating those fields on tables for which they are not useful.

By default, _log_access is set to the same value as _auto

odoo.fields.create_date
Stores when the record was created, Datetime

odoo.fields.create_uid
Stores who created the record, Many2one to a res.users.

odoo.fields.write_date
Stores when the record was last updated, Datetime

odoo.fields.write_uid
Stores who last updated the record, Many2one to a res.users.

NOTE: _log_access must be enabled on TransientModel.

Odoo 15 Playlist:    • How To Configure Odoo15 With Pycharm || Od...  

Website: https://www.odoomates.tech/
Instgram:   / odoomates  
Github: https://github.com/odoomates
Email : [email protected]
Facebook:   / odoomate  
Twitter:   / odoomates  
Support Us in Ko Fi : https://ko-fi.com/odoomates