[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="arch" type="xml">
|
||||
<form string="Launch Map">
|
||||
<group colspan="4">
|
||||
<separator string="Launch Map"/>
|
||||
<newline/>
|
||||
<button name="launch_wizard" string="Map" type="object" icon="gtk-zoom-in"/>
|
||||
<separator string="This wizard will launch Google Map" colspan="4"/>
|
||||
<group colspan="4" col="2">
|
||||
<button string="Cancel" icon="gtk-cancel" special="cancel"/>
|
||||
<button name="launch_wizard" string="Map" type="object" icon="gtk-zoom-in"/>
|
||||
</group>
|
||||
</form>
|
||||
</field>
|
||||
|
@ -27,5 +26,13 @@
|
|||
<field name="view_id" ref="view_google_map_launch_form"/>
|
||||
</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>
|
||||
</openerp>
|
||||
|
|
Loading…
Reference in New Issue