diff --git a/runbot/models/commit.py b/runbot/models/commit.py index f8257756..95886d7d 100644 --- a/runbot/models/commit.py +++ b/runbot/models/commit.py @@ -25,7 +25,7 @@ class Commit(models.Model): ) ] name = fields.Char('SHA') - tree_hash = fields.Char('Tree hash') + tree_hash = fields.Char('Tree hash', readonly=True) repo_id = fields.Many2one('runbot.repo', string='Repo group') date = fields.Datetime('Commit date') author = fields.Char('Author') diff --git a/runbot/templates/commit.xml b/runbot/templates/commit.xml index c3422ed1..12591537 100644 --- a/runbot/templates/commit.xml +++ b/runbot/templates/commit.xml @@ -36,6 +36,12 @@ +