[IMP] runbot: add show contents action in list view

This commit is contained in:
Xavier-Do 2025-03-10 11:41:41 +01:00
parent 92e5b6c4e5
commit faaa664757
2 changed files with 2 additions and 1 deletions

View File

@ -359,7 +359,7 @@ class BuildError(models.Model):
'type': 'ir.actions.act_window',
'views': [(False, 'list'), (False, 'form')],
'res_model': 'runbot.build.error.content',
'domain': [('error_id', '=', self.id)],
'domain': [('error_id', 'in', self.ids)],
'context': {'active_test': False},
'target': 'current',
}

View File

@ -323,6 +323,7 @@
>
<header>
<button name="%(runbot.runbot_open_bulk_wizard)d" string="Bulk Update" type="action" groups="runbot.group_runbot_admin,runbot.group_runbot_error_manager"/>
<button name="action_view_errors" string="See all linked errors" type="object" class="oe_highlight"/>
</header>
<field name="name" optional="show" readonly="1"/>
<field name="description" optional="hide" readonly="1"/>