diff options
| author | Raphael Collet <rco@odoo.com> | 2018-09-05 14:22:37 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@odoo.com> | 2018-09-11 17:25:07 +0200 |
| commit | fa6774b899cd68c1e4d2b9a9776d89fbf6bbbe5d (patch) | |
| tree | 5b16d65715c47e81510a9d5f8c5091d4692ac5dd /addons/project/models/project.py | |
| parent | 9823fe6f075559657f85a905f95641e2409a2737 (diff) | |
[FIX] models: make log_access fields readonly, and remove useless definitions
Diffstat (limited to 'addons/project/models/project.py')
| -rw-r--r-- | addons/project/models/project.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/project/models/project.py b/addons/project/models/project.py index 18f49389878..b050188cdfd 100644 --- a/addons/project/models/project.py +++ b/addons/project/models/project.py @@ -451,8 +451,8 @@ class Task(models.Model): ('blocked', 'Red')], string='Kanban State', copy=False, default='normal', required=True) kanban_state_label = fields.Char(compute='_compute_kanban_state_label', string='Kanban State Label', track_visibility='onchange') - create_date = fields.Datetime(index=True) - write_date = fields.Datetime(index=True) #not displayed in the view but it might be useful with base_automation module (and it needs to be defined first for that) + create_date = fields.Datetime("Created On", readonly=True, index=True) + write_date = fields.Datetime("Last Updated On", readonly=True, index=True) date_start = fields.Datetime(string='Starting Date', default=fields.Datetime.now, index=True, copy=False) |
