[IMP] base_module_doc_rst: simplify wizard actions in xml
bzr revid: rco@openerp.com-20120202142824-1b8trrv4l3m8k95p
This commit is contained in:
parent
e30d5e8320
commit
9eb78435ad
|
@ -14,25 +14,15 @@
|
|||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="action_generate_relationship_graph" model="ir.actions.act_window">
|
||||
<field name="name">Generate Relationship Graph</field>
|
||||
<field name="type">ir.actions.act_window</field>
|
||||
<field name="res_model">create.relation.graph</field>
|
||||
<field name="view_type">form</field>
|
||||
<field name="view_mode">form</field>
|
||||
<field name="view_id" ref="view_relationship_graph"/>
|
||||
<field name="target">new</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.values" id="generate_relationship_graph_values">
|
||||
<field name="model_id" ref="model_create_relation_graph" />
|
||||
<field name="name">Generate Relationship Graph</field>
|
||||
<field name="key2">client_action_multi</field>
|
||||
<field name="value" eval="'ir.actions.act_window,' + str(ref('action_generate_relationship_graph'))" />
|
||||
<field name="key">action</field>
|
||||
<field name="model">ir.module.module</field>
|
||||
</record>
|
||||
|
||||
<act_window id="generate_relationship_graph_values"
|
||||
name="Generate Relationship Graph"
|
||||
src_model="ir.module.module"
|
||||
res_model="create.relation.graph"
|
||||
view_mode="form"
|
||||
view_id="view_relationship_graph"
|
||||
target="new"
|
||||
key2="client_action_multi"/>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
|
||||
<record id="view_technical_guide" model="ir.ui.view">
|
||||
<field name="name">tech.guide.rst.form</field>
|
||||
<field name="model">tech.guide.rst</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<field name="model">tech.guide.rst</field>
|
||||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Create Technical Guide in rst format">
|
||||
<separator string="Technical Guide in rst format" colspan="4"/>
|
||||
<label string="Please choose a file where the Technical Guide will be written." colspan="4"/>
|
||||
|
@ -15,15 +15,15 @@
|
|||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<act_window
|
||||
id="wiz_tech_guide_rst"
|
||||
multi="True"
|
||||
key2="client_action_multi" name="Create RST Technical Guide2"
|
||||
res_model="tech.guide.rst" src_model="ir.module.module"
|
||||
view_mode="form" target="new" view_type="form"
|
||||
view_id="view_technical_guide"/>
|
||||
|
||||
|
||||
<act_window id="wiz_tech_guide_rst"
|
||||
name="Create RST Technical Guide2"
|
||||
src_model="ir.module.module"
|
||||
res_model="tech.guide.rst"
|
||||
view_mode="form"
|
||||
view_id="view_technical_guide"
|
||||
target="new"
|
||||
key2="client_action_multi"/>
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
|
Loading…
Reference in New Issue