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

This commit is contained in:
Xavier-Do 2025-03-10 11:41:41 +01:00 committed by xdo
parent 26bd94170a
commit 8d6f484618
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -328,6 +328,7 @@
> >
<header> <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="%(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> </header>
<field name="name" optional="show" readonly="1"/> <field name="name" optional="show" readonly="1"/>
<field name="canonical_tags" optional="hide" readonly="1"/> <field name="canonical_tags" optional="hide" readonly="1"/>