runbot/runbot/views/branch_views.xml
Xavier-Do d8609f7c6b [FIX] runbot: various fixes and ref
- clean thread username
- allow to write on params for debug (was mainly usefull to forbid it
at the beginning)
- imrpove some guidelines about method and actions naming/ ordering
- move some code for a cleaner organisation.
- remove some useless request.env.user (not useful anymore)
2023-09-20 14:19:54 +02:00

51 lines
1.6 KiB
XML

<odoo>
<data>
<record id="branch_form" model="ir.ui.view">
<field name="name">runbot.branch.form</field>
<field name="model">runbot.branch</field>
<field name="arch" type="xml">
<form>
<header>
<button name="action_recompute_infos" string="Recompute Infos" type="object" class="oe_highlight"/>
</header>
<sheet>
<group name="branch_group">
<field name="bundle_id" readonly='0'/>
<field name="remote_id"/>
<field name="name"/>
<field name="branch_url" widget="url"/>
<field name="is_pr"/>
<field name="pull_head_name"/>
<field name="target_branch_name"/>
<field name="head"/>
<field name="alive"/>
<field name="pr_title"/>
<field name="pr_body"/>
</group>
</sheet>
</form>
</field>
</record>
<record id="branch_view_tree" model="ir.ui.view">
<field name="name">runbot.branch.tree</field>
<field name="model">runbot.branch</field>
<field name="arch" type="xml">
<tree string="Branches">
<field name="create_date"/>
<field name="remote_id"/>
<field name="name"/>
</tree>
</field>
</record>
<record id="open_view_branch_tree" model="ir.actions.act_window">
<field name="name">Branches</field>
<field name="res_model">runbot.branch</field>
<field name="view_mode">tree,form</field>
</record>
</data>
</odoo>