diff --git a/runbot/models/branch.py b/runbot/models/branch.py index cfcd6561..e70225ba 100644 --- a/runbot/models/branch.py +++ b/runbot/models/branch.py @@ -135,7 +135,7 @@ class Branch(models.Model): if branch.is_pr: branch.branch_url = "https://%s/pull/%s" % (branch.remote_id.base_url, branch.name) else: - branch.branch_url = "https://%s/tree/%s" % (branch.remote_id.base_url, branch.name) + branch.branch_url = "https://%s/list/%s" % (branch.remote_id.base_url, branch.name) else: branch.branch_url = '' diff --git a/runbot/models/build_error.py b/runbot/models/build_error.py index c2b4569e..51e5d318 100644 --- a/runbot/models/build_error.py +++ b/runbot/models/build_error.py @@ -235,7 +235,7 @@ class BuildError(models.Model): def action_view_errors(self): return { 'type': 'ir.actions.act_window', - 'views': [(False, 'tree'), (False, 'form')], + 'views': [(False, 'list'), (False, 'form')], 'res_model': 'runbot.build.error.content', 'domain': [('error_id', '=', self.id)], 'context': {'active_test': False}, @@ -311,7 +311,7 @@ class BuildError(models.Model): window_action = { "type": "ir.actions.act_window", "res_model": "runbot.build.error", - "views": [[False, "tree"]], + "views": [[False, "list"]], "domain": [('id', 'in', build_error_contents.ids)] } if len(build_error_contents) == 1: @@ -576,7 +576,7 @@ class BuildErrorContent(models.Model): "domain": [('id', 'in', duplicate_ids)], "context": {"create": False, 'group_by': ['fingerprint']}, "name": "Duplicate Error contents", - 'view_mode': 'tree,form' + 'view_mode': 'list,form' } def action_qualify(self): diff --git a/runbot/templates/badge.xml b/runbot/templates/badge.xml index 98f3f289..39ab5d69 100644 --- a/runbot/templates/badge.xml +++ b/runbot/templates/badge.xml @@ -3,7 +3,7 @@