mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
[IMP] runbot: improve team form and build frontend page
* Hide useless pages on backend team form * Add a team exceptions page on team form * Show fixed errors as fixed on front build page
This commit is contained in:
parent
356843c680
commit
76cc74fcd9
@ -313,7 +313,7 @@
|
||||
</t>
|
||||
</td>
|
||||
</tr>
|
||||
<t t-if="l.error_id">
|
||||
<t t-if="l.with_context(active_test=False).error_id">
|
||||
<t t-set="icon" t-value="'list'"/>
|
||||
<t t-set="error" t-value="l.error_id"/>
|
||||
<t t-set="size" t-value=""/>
|
||||
@ -324,8 +324,8 @@
|
||||
</t>
|
||||
<tr>
|
||||
<td/><td/><td/>
|
||||
<td t-attf-class="bg-info-light {{size}}">
|
||||
This error is already known.
|
||||
<td t-attf-class="bg-{{'info' if error.active else 'success'}}-light {{size}}">
|
||||
This error is already <t t-esc="'known' if error.active else 'fixed'"/>.
|
||||
<a groups="runbot.group_user" t-attf-href="/web#id={{l.error_id.id}}&view_type=form&model=runbot.build.error&menu_id={{env.ref('runbot.runbot_menu_root').id}}" title="View in Backend" target="new">
|
||||
<i t-attf-class="fa fa-{{icon}}"/>
|
||||
</a>
|
||||
|
@ -24,7 +24,7 @@
|
||||
</tree>
|
||||
</field>
|
||||
</page>
|
||||
<page string="Team Errors">
|
||||
<page string="Errors" attrs="{'invisible': [('build_error_ids', '=', [])]}">
|
||||
<field name="build_error_ids" nolabel="1" widget="many2many" options="{'not_delete': True, 'no_create': True}"/>
|
||||
</page>
|
||||
<page string="Modules">
|
||||
@ -39,10 +39,13 @@
|
||||
<field name="codeowner_ids">
|
||||
</field>
|
||||
</page>
|
||||
<page string="Followed triggers">
|
||||
<page string="Followed triggers" attrs="{'invisible': [('trigger_ids', '=', [])]}">
|
||||
<field name="trigger_ids">
|
||||
</field>
|
||||
</page>
|
||||
<page string="Exceptions" attrs="{'invisible': [('upgrade_exception_ids', '=', [])]}">
|
||||
<field name="upgrade_exception_ids" readonly="1"/>
|
||||
</page>
|
||||
</notebook>
|
||||
</sheet>
|
||||
<div class="oe_chatter">
|
||||
|
Loading…
Reference in New Issue
Block a user