mirror of
https://github.com/odoo/runbot.git
synced 2025-03-26 21:05:49 +07:00

Shove a bunch of stuff in notebook tabs, add a few affordances (e.g. github and frontend links, links from m2m), surface a few missing fields. Hopefully makes the backend form both easier to navigate and easier to administrate from.
63 lines
3.1 KiB
XML
63 lines
3.1 KiB
XML
<odoo>
|
|
<record id="runbot_merge_batch_form" model="ir.ui.view">
|
|
<field name="name">Batch form</field>
|
|
<field name="model">runbot_merge.batch</field>
|
|
<field name="arch" type="xml">
|
|
<form>
|
|
<sheet>
|
|
<div class="oe_title"><h1><field name="name"/></h1></div>
|
|
<group>
|
|
<group>
|
|
<field name="target"/>
|
|
<field name="merge_date"/>
|
|
<field name="priority" attrs="{'invisible': [('merge_date', '!=', False)]}"/>
|
|
<field name="skipchecks" widget="boolean_toggle" attrs="{'invisible': [('merge_date', '!=', False)]}"/>
|
|
<field name="cancel_staging" widget="boolean_toggle" attrs="{'invisible': [('merge_date', '!=', False)]}"/>
|
|
<field name="fw_policy"/>
|
|
</group>
|
|
<group>
|
|
<field name="blocked"/>
|
|
</group>
|
|
</group>
|
|
<group string="Pull Requests">
|
|
<group colspan="4">
|
|
<field name="all_prs" nolabel="1" readonly="1">
|
|
<tree>
|
|
<button type="object" name="get_formview_action" icon="fa-external-link"/>
|
|
<field name="display_name"/>
|
|
<field name="repository"/>
|
|
<field name="state"/>
|
|
</tree>
|
|
</field>
|
|
</group>
|
|
</group>
|
|
<group string="Genealogy">
|
|
<group colspan="4">
|
|
<field name="genealogy_ids" nolabel="1" readonly="1">
|
|
<tree decoration-muted="id == parent.id">
|
|
<button type="object" name="get_formview_action" icon="fa-external-link"/>
|
|
<field name="name"/>
|
|
<field name="target"/>
|
|
<field name="all_prs" widget="many2many_tags"/>
|
|
</tree>
|
|
</field>
|
|
</group>
|
|
</group>
|
|
<group string="Stagings">
|
|
<group colspan="4">
|
|
<field name="staging_ids" nolabel="1" readonly="1">
|
|
<tree>
|
|
<button type="object" name="get_formview_action" icon="fa-external-link"/>
|
|
<field name="staged_at"/>
|
|
<field name="state"/>
|
|
<field name="reason"/>
|
|
</tree>
|
|
</field>
|
|
</group>
|
|
</group>
|
|
</sheet>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
</odoo>
|