mirror of
https://github.com/odoo/runbot.git
synced 2025-03-27 13:25:47 +07:00
[ADD] add a graph view for runbot builds
This commit is contained in:
parent
019cee7f54
commit
40f68b81be
@ -155,6 +155,15 @@
|
|||||||
</tree>
|
</tree>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
<record id="view_build_graph" model="ir.ui.view">
|
||||||
|
<field name="model">runbot.build</field>
|
||||||
|
<field name="arch" type="xml">
|
||||||
|
<graph string="Builds" type="pivot">
|
||||||
|
<field name="repo_id" type="row"/>
|
||||||
|
<field name="state" type="col"/>
|
||||||
|
</graph>
|
||||||
|
</field>
|
||||||
|
</record>
|
||||||
<record id="view_build_search" model="ir.ui.view">
|
<record id="view_build_search" model="ir.ui.view">
|
||||||
<field name="model">runbot.build</field>
|
<field name="model">runbot.build</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
@ -185,6 +194,7 @@
|
|||||||
<field name="type">ir.actions.act_window</field>
|
<field name="type">ir.actions.act_window</field>
|
||||||
<field name="res_model">runbot.build</field>
|
<field name="res_model">runbot.build</field>
|
||||||
<field name="view_type">form</field>
|
<field name="view_type">form</field>
|
||||||
|
<field name="view_mode">tree,form,graph</field>
|
||||||
</record>
|
</record>
|
||||||
<menuitem id="menu_build" action="action_build" parent="menu_runbot"/>
|
<menuitem id="menu_build" action="action_build" parent="menu_runbot"/>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user