[IMP] improved the sequence of buttons and made act_window for the wizard
bzr revid: bde@tinyerp.com-20110907062143-rqiki92mbciomfhn
This commit is contained in:
parent
7101e8134f
commit
6d97d0922e
|
@ -8,11 +8,10 @@
|
||||||
<field name="type">form</field>
|
<field name="type">form</field>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<form string="Launch Map">
|
<form string="Launch Map">
|
||||||
<group colspan="4">
|
<separator string="This wizard will launch Google Map" colspan="4"/>
|
||||||
<separator string="Launch Map"/>
|
<group colspan="4" col="2">
|
||||||
<newline/>
|
|
||||||
<button name="launch_wizard" string="Map" type="object" icon="gtk-zoom-in"/>
|
|
||||||
<button string="Cancel" icon="gtk-cancel" special="cancel"/>
|
<button string="Cancel" icon="gtk-cancel" special="cancel"/>
|
||||||
|
<button name="launch_wizard" string="Map" type="object" icon="gtk-zoom-in"/>
|
||||||
</group>
|
</group>
|
||||||
</form>
|
</form>
|
||||||
</field>
|
</field>
|
||||||
|
@ -27,5 +26,13 @@
|
||||||
<field name="view_id" ref="view_google_map_launch_form"/>
|
<field name="view_id" ref="view_google_map_launch_form"/>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
<act_window
|
||||||
|
name="Launch Google Map"
|
||||||
|
id="view_google_map_launch_form"
|
||||||
|
res_model="launch.map"
|
||||||
|
src_model="res.partner.address"
|
||||||
|
view_mode="form"
|
||||||
|
target="new"
|
||||||
|
key2="client_action_multi"/>
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</openerp>
|
||||||
|
|
Loading…
Reference in New Issue