mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[FIX] runbot: custom log_access fields shouldn't be automatic
This commit is contained in:
parent
02ed33c498
commit
3f2bf0112f
@ -19,10 +19,10 @@ class runbot_event(models.Model):
|
|||||||
_order = 'id'
|
_order = 'id'
|
||||||
_log_access = False
|
_log_access = False
|
||||||
|
|
||||||
create_uid = fields.Many2one('res.users', string='Created by', automatic=True, readonly=True)
|
create_uid = fields.Many2one('res.users', string='Created by', readonly=True)
|
||||||
create_date = fields.Datetime(string='Created on', automatic=True, readonly=True)
|
create_date = fields.Datetime(string='Created on', readonly=True)
|
||||||
write_uid = fields.Many2one('res.users', string='Last Updated by', automatic=True, readonly=True)
|
write_uid = fields.Many2one('res.users', string='Last Updated by', readonly=True)
|
||||||
write_date = fields.Datetime(string='Last Updated on', automatic=True, readonly=True)
|
write_date = fields.Datetime(string='Last Updated on', readonly=True)
|
||||||
|
|
||||||
build_id = fields.Many2one('runbot.build', 'Build', index=True, ondelete='cascade')
|
build_id = fields.Many2one('runbot.build', 'Build', index=True, ondelete='cascade')
|
||||||
active_step_id = fields.Many2one('runbot.build.config.step', 'Active step', index=True)
|
active_step_id = fields.Many2one('runbot.build.config.step', 'Active step', index=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user