[IMP] base_module_doc_rst: simplify wizard actions in xml
[odoo/odoo.git] / addons / base_module_doc_rst / wizard / generate_relation_graph_view.xml
1 <?xml version="1.0"?>
2 <openerp>
3     <data>
4
5         <record id="view_relationship_graph" model="ir.ui.view">
6             <field name="name">create.relation.graph.form</field>
7             <field name="model">create.relation.graph</field>
8             <field name="type">form</field>
9             <field name="arch" type="xml">
10                 <form string="Generate Relationship Graph">
11                     <separator string="Relationship Graphs" colspan="6"/>
12                     <button special="cancel" string="Cancel" icon="gtk-cancel"/>
13                     <button name="get_graph" string="Create Graphs" type="object" icon="gtk-ok"/>
14                 </form>
15             </field>
16         </record>
17
18         <act_window id="generate_relationship_graph_values"
19             name="Generate Relationship Graph"
20             src_model="ir.module.module"
21             res_model="create.relation.graph"
22             view_mode="form"
23             view_id="view_relationship_graph"
24             target="new"
25             key2="client_action_multi"/>
26
27     </data>
28 </openerp>