[IMP] import_google: remove cancel button from wizard.

bzr revid: tpa@tinyerp.com-20120615123348-0dy0c8hv1x6khxsl
This commit is contained in:
Turkesh Patel (Open ERP) 2012-06-15 18:03:48 +05:30
parent 3acfd51f80
commit 721a2d927f
2 changed files with 8 additions and 19 deletions

View File

@ -8,9 +8,6 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Import Google Data" version="7.0">
<header>
<button icon="gtk-ok" special="cancel" string="_Ok"/>
</header>
<group>
<field name='name'/>
</group>

View File

@ -6,7 +6,10 @@
<field name="model">synchronize.google.import</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Import contacts from a google account">
<form string="Import contacts from a google account" version="7.0">
<header>
<button name="import_google" string="_Import Contacts" type="object" icon="terp-personal+" class="oe_form_button_active_flow"/>
</header>
<group colspan="4" col="4" width="430">
<field name="group_name" colspan="4"/>
<separator string="Import Options" colspan="4"/>
@ -18,13 +21,6 @@
<field name="supplier" colspan="4"/>
</group>
</group>
<separator string="" colspan="4"/>
<group colspan="4" col="4">
<group colspan="2" col="2">
<button special="cancel" string="_Cancel" icon="gtk-cancel"/>
<button name="import_google" string="_Import Contacts" type="object" icon="terp-personal+"/>
</group>
</group>
</form>
</field>
</record>
@ -36,17 +32,13 @@
<field name="model">synchronize.google.import</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Import Google Calendar Events">
<form string="Import Google Calendar Events" version="7.0">
<header>
<button name="import_google" string="_Import Events" type="object" icon="terp-calendar" class="oe_form_button_active_flow"/>
</header>
<group colspan="4" col="4" width="320">
<field name="calendar_name" />
</group>
<separator string="" colspan="4"/>
<group colspan="4" col="4">
<group colspan="2" col="2">
<button special="cancel" string="_Cancel" icon="gtk-cancel"/>
<button name="import_google" string="_Import Events" type="object" icon="terp-calendar"/>
</group>
</group>
</form>
</field>
</record>