[REM] : Remove cancel button from wizard

bzr revid: aja@tinyerp.com-20120618124511-362td1pd82io8sxr
This commit is contained in:
ajay javiya (OpenERP) 2012-06-18 18:15:11 +05:30
parent 73c9a9d20d
commit 25bcae09f8
35 changed files with 127 additions and 242 deletions

View File

@ -11,8 +11,7 @@
<field name="arch" type="xml">
<form string="Audit Logs" version="7.0">
<header>
<button icon="gtk-cancel" special="cancel" string="Cancel" />
<button icon="gtk-open" string="Open Logs" name="log_open_window" type="object" />
<button icon="gtk-open" string="Open Logs" name="log_open_window" type="object" class="oe_form_button_active_flow" />
</header>
<group col="4">
<field name="from"/>

View File

@ -9,7 +9,10 @@
<field name="model">base_calendar.invite.attendee</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Invite People">
<form string="Invite People" version="7.0">
<header>
<button name="do_invite" string="Invite" type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<separator string="Invite People" colspan="4"/>
<field name="type"/>
<field name="send_mail"/>
@ -31,10 +34,6 @@
</group>
</page>
</notebook>
<group col="4" colspan="4">
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
<button name="do_invite" string="Invite" type="object" icon="gtk-ok"/>
</group>
</form>
</field>
</record>

View File

@ -7,10 +7,11 @@
<field name="model">create.relation.graph</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Generate Relationship Graph">
<form string="Generate Relationship Graph" version="7.0">
<header>
<button name="get_graph" string="Create Graphs" type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<separator string="Relationship Graphs" colspan="6"/>
<button special="cancel" string="Cancel" icon="gtk-cancel"/>
<button name="get_graph" string="Create Graphs" type="object" icon="gtk-ok"/>
</form>
</field>
</record>

View File

@ -7,18 +7,16 @@
<field name="model">base.module.data</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Data Recording">
<form string="Data Recording" version="7.0">
<header>
<button name="record_objects" icon="gtk-ok" string="Record" type="object" class="oe_form_button_active_flow"/>
</header>
<field name="check_date"/>
<newline/>
<field name="filter_cond"/>
<separator string="Choose objects to record" colspan="4"/>
<field name="objects" colspan="4" nolabel="1"/>
<group><field name="info_yaml"/></group>
<separator colspan="4"/>
<group colspan="4" col="2">
<button icon="gtk-cancel" string="Cancel" special="cancel"/>
<button name="record_objects" icon="gtk-ok" string="Record" type="object"/>
</group>
</form>
</field>
</record>
@ -57,11 +55,6 @@
<form string="Data Recording">
<separator string="Result, paste this to your module's xml" colspan="4" />
<field name="res_text" nolabel="1" colspan="4"/>
<separator colspan="4"/>
<group colspan="4" col="2">
<label string=""/>
<button icon="gtk-close" string="Close" special="cancel"/>
</group>
</form>
</field>
</record>

View File

@ -7,18 +7,16 @@
<field name="model">base.module.record</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Objects Recording">
<form string="Objects Recording" version="7.0">
<header>
<button name="record_objects" icon="gtk-ok" string="Record" type="object" class="oe_form_button_active_flow"/>
</header>
<field name="check_date"/>
<newline/>
<field name="filter_cond"/>
<separator string="Choose objects to record" colspan="4"/>
<field name="objects" colspan="4" nolabel="1"/>
<group><field name="info_yaml"/></group>
<separator colspan="4"/>
<group colspan="4" col="2">
<button icon="gtk-cancel" string="Cancel" special="cancel"/>
<button name="record_objects" icon="gtk-ok" string="Record" type="object"/>
</group>
</form>
</field>
</record>
@ -66,11 +64,6 @@
<separator string="Information" colspan="4"/>
<label string="If you think your module could interest other people, we'd like you to publish it on http://www.openerp.com, in the 'Modules' section. You can do it through the website or using features of the 'base_module_publish' module." colspan="4" align="0.0"/>
<label string="Thanks in advance for your contribution." colspan="4" align="0.0"/>
<separator colspan="4"/>
<group colspan="4" col="2">
<label string=""/>
<button icon="gtk-close" string="Close" special="cancel"/>
</group>
</form>
</field>
</record>
@ -89,7 +82,10 @@
<field name="model">base.module.record.objects</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Module Recording">
<form string="Module Recording" version="7.0">
<header>
<button string="Continue" name="inter_call" type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<separator string="Module Information" colspan="4"/>
<field name="name"/>
<field name="directory_name"/>
@ -100,11 +96,6 @@
<field name="data_kind"/>
<newline/>
<field name="description" colspan="4"/>
<separator colspan="4"/>
<group colspan="4" col="2">
<button icon="gtk-cancel" string="Cancel" special="cancel"/>
<button string="Continue" name="inter_call" type="object" icon="gtk-ok"/>
</group>
</form>
</field>
</record>
@ -116,11 +107,6 @@
<field name="arch" type="xml">
<form string="Module Recording">
<label string="Thanks For using Module Recorder" colspan="4" align="0.0"/>
<separator string="" colspan="4"/>
<group colspan="4" col="2">
<label string=""/>
<button icon="gtk-ok" string="OK" special="cancel"/>
</group>
</form>
</field>
</record>
@ -134,11 +120,6 @@
<separator string="YAML file successfully created !" colspan="4"/>
<newline/>
<field name="yaml_file" filename="module_filename"/>
<separator colspan="4"/>
<group colspan="4" col="2">
<label string=""/>
<button icon="gtk-close" string="Close" special="cancel"/>
</group>
</form>
</field>
</record>

View File

@ -7,16 +7,14 @@
<field name="model">base.module.save</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Module Recording">
<form string="Module Recording" version="7.0">
<header>
<button name="record_save" icon="gtk-ok" string="Continue" type="object" class="oe_form_button_active_flow"/>
</header>
<separator string="Recording Information" colspan="4"/>
<field name="info_status"/>
<field name="info_text" colspan="4" nolabel="1"/>
<field name="info_yaml" colspan="4"/>
<separator colspan="4"/>
<group colspan="4" col="2">
<button icon="gtk-cancel" string="Cancel" special="cancel"/>
<button name="record_save" icon="gtk-ok" string="Continue" type="object"/>
</group>
</form>
</field>
</record>

View File

@ -8,19 +8,18 @@
<field name="inherit_id" ref="base.res_config_installer"/>
<field name="arch" type="xml">
<data>
<form position="attributes">
<form position="attributes" version="7.0">
<header>
<xpath expr="//button[@string='Install Modules']" position="replace">
<button name="action_next" icon="gtk-go-forward" type="object" string="Configure" colspan="1" invisible="context.get('menu',False)" class="oe_form_button_active_flow"/>
</xpath>
</header>
<attribute name="string">OpenERP Report Designer Configuration</attribute>
</form>
<separator string="title" position="before">
<label string="This plug-in allows you to create/modify OpenERP Reports into OpenOffice Writer."/>
</separator>
<xpath expr="//button[@string='Install Modules']" position="replace">
<button colspan="1" icon="gtk-close" special="cancel" string="_Close" invisible="not context.get('menu',False)"/>
<button name="action_next" icon="gtk-go-forward" type="object" string="Configure" colspan="1" invisible="context.get('menu',False)"/>
</xpath>
<xpath expr="//button[@string='Cancel']" position="replace">
<button name="action_skip" icon="gtk-jump-to" special="cancel" type="object" string="Cancel" colspan="1" invisible="context.get('menu',False)"/>
</xpath>
<xpath expr="//separator[@string='title']" position="after">
<group colspan="8" height="450" width="750">
<field name="name" invisible="1"/>

View File

@ -1,19 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="view_base_report_sxw" model="ir.ui.view">
<field name="name">Base Report sxw</field>
<field name="model">base.report.sxw</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Get a report">
<form string="Get a report" version="7.0">
<header>
<button name="get_report" string="Continue" type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
<button name="upload_report" string="Upload the modified report" type="object" icon="gtk-go-forward" class="oe_form_button_active_flow"/>
</header>
<separator string="Select your report" colspan="4"/>
<field name="report_id"/>
<separator string="" colspan="4"/>
<button special="cancel" string="Cancel" icon="gtk-cancel"/>
<button name="get_report" string="Continue" type="object" icon="gtk-ok"/>
</form>
</field>
</record>
@ -41,10 +40,6 @@
<field name="file_sxw_upload"/>
<newline/>
<label colspan="4" string="This is the template of your requested report.&#10;Save it as a .SXW file and open it with OpenOffice.&#10;Don't forget to install the OpenERP SA OpenOffice package to modify it.&#10;Once it is modified, re-upload it in OpenERP using this wizard." align="0.0"/>
<separator string="" colspan="4"/>
<button special="cancel" string="Cancel" icon="gtk-cancel"/>
<button name="upload_report" string="Upload the modified report" type="object" icon="gtk-go-forward"/>
</form>
</field>
</record>
@ -53,13 +48,10 @@
<field name="model">base.report.rml.save</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Save RML FIle">
<separator string="The RML Report" colspan="4"/>
<field name="file_rml"/>
<newline/>
<separator string="" colspan="4"/>
<button special="cancel" string="Cancel" icon="gtk-cancel"/>
</form>
<form string="Save RML FIle">
<separator string="The RML Report" colspan="4"/>
<field name="file_rml"/>
</form>
</field>
</record>

View File

@ -39,8 +39,7 @@
<field name="arch" type="xml">
<form string="Configure Sales" version="7.0">
<header>
<button string="Apply" type="object" name="execute"/>
<button string="Cancel" special="cancel"/>
<button string="Apply" type="object" name="execute" class="oe_form_button_active_flow"/>
</header>
<sheet>
<group>

View File

@ -8,8 +8,7 @@
<field name="arch" type="xml">
<form string="General Settings" version="7.0">
<header>
<button string="Apply" type="object" name="execute"/>
<button string="Cancel" special="cancel"/>
<button string="Apply" type="object" name="execute" class="oe_form_button_active_flow"/>
</header>
<group>
<group string="Company Settings">

View File

@ -11,8 +11,7 @@
<field name="arch" type="xml">
<form string="Create Menu For Dashboard" version="7.0">
<header>
<button icon="gtk-save" string="Create Menu" name="board_menu_create" type="object" />
<button icon="gtk-cancel" special="cancel" string="Cancel" />
<button icon="gtk-save" string="Create Menu" name="board_menu_create" type="object" class="oe_form_button_active_flow"/>
</header>
<group colspan="4" string="Menu Information">
<field name="menu_name"/>

View File

@ -13,11 +13,6 @@
<field name="url" colspan="4" />
<separator string="Description" colspan="4"/>
<field name="description" colspan="4" nolabel="1"/>
<separator colspan="4"/>
<group col="4" colspan="4">
<label string="" colspan="2"/>
<button special="cancel" string="_Close" icon="gtk-close"/>
</group>
</group>
</form>
</field>
@ -28,18 +23,16 @@
<field name="model">user.preference</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Caldav's host name configuration">
<form string="Caldav's host name configuration" version="7.0">
<header>
<button name="next_window" string="Next" type="object" icon="gtk-go-forward" class="oe_form_button_active_flow"/>
</header>
<label string="Configure your openerp hostname. For example : " colspan="4"></label>
<newline/>
<label string="database.my.openerp.com or companyserver.com" colspan="4"/>
<newline/>
<separator colspan="4"/>
<field name="host_name" colspan="4" width="250" />
<separator colspan="4"/>
<group col="4" colspan="4">
<button special="cancel" string="_Cancel" icon="gtk-cancel"/>
<button name="next_window" string="Next" type="object" icon="gtk-go-forward"/>
</group>
</form>
</field>
</record>
@ -49,19 +42,15 @@
<field name="model">user.preference</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="User Preference">
<form string="User Preference" version="7.0">
<header>
<button name="open_window" string="_Open" type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<separator string="" colspan="4"/>
<field name="service" colspan="4" width="250" readonly="1"/>
<field name="collection" colspan="4" width="250" invisible="1" />
<field name="calendar" colspan="4" width="250" domain="[('collection_id','=', collection)]" readonly="1"/>
<field name="device" colspan="4" width="250" />
<separator colspan="4"/>
<group col="4" colspan="4">
<label string="" colspan="2"/>
<button special="cancel" string="_Cancel" icon="gtk-cancel"/>
<button name="open_window" string="_Open" type="object" icon="gtk-ok"/>
</group>
</form>
</field>
</record>

View File

@ -11,11 +11,6 @@
<field name="name"/>
<field name="file_path" colspan="4" width="300"/>
</group>
<separator string="" colspan="4" />
<group colspan="4" col="6">
<label string=""/>
<button icon="gtk-close" special="cancel" string="_Close"/>
</group>
</form>
</field>
</record>

View File

@ -6,16 +6,15 @@
<field name="model">calendar.event.import</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Import ICS">
<form string="Import ICS" version="7.0">
<header>
<button icon="gtk-ok" name="process_imp_ics" string="_Import" type="object" class=
"oe_form_button_active_flow"/>
</header>
<group colspan="4" >
<separator string="Select ICS File"/>
<field name="file_path" colspan="4" width="500" nolabel="1"/>
</group>
<separator string="" colspan="4" />
<group colspan="4" col="6">
<button icon="gtk-cancel" special="cancel" string="_Cancel"/>
<button icon="gtk-ok" name="process_imp_ics" string="_Import" type="object"/>
</group>
</form>
</field>
</record>
@ -29,10 +28,6 @@
<group colspan="4" >
<field name="msg" colspan="4" width="300" nolabel="1"/>
</group>
<separator string="" colspan="4" />
<group colspan="4">
<button icon="gtk-ok" special="cancel" string="Ok"/>
</group>
</form>
</field>
</record>
@ -42,6 +37,5 @@
res_model="calendar.event.import" src_model="basic.calendar"
view_id="view_calendar_event_import"
view_mode="form" target="new" view_type="form" />
</data>
</openerp>

View File

@ -6,16 +6,14 @@
<field name="model">calendar.event.subscribe</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Subscribe to Remote Calendar">
<form string="Subscribe to Remote Calendar" version="7.0">
<header>
<button icon="gtk-ok" name="process_imp_ics" string="_Subscribe" type="object" class="oe_form_button_active_flow"/>
</header>
<group colspan="4" >
<separator string="Provide Path for Remote Calendar"/>
<field name="url_path" colspan="4" width="300" nolabel="1" widget="url"/>
</group>
<separator string="" colspan="4" />
<group colspan="4" col="6">
<button icon="gtk-cancel" special="cancel" string="_Cancel"/>
<button icon="gtk-ok" name="process_imp_ics" string="_Subscribe" type="object"/>
</group>
</form>
</field>
</record>
@ -29,10 +27,6 @@
<group colspan="4" >
<field name="msg" colspan="4" width="300" nolabel="1"/>
</group>
<separator string="" colspan="4" />
<group colspan="4">
<button icon="gtk-ok" special="cancel" string="Ok"/>
</group>
</form>
</field>
</record>

View File

@ -11,8 +11,7 @@
<field name="arch" type="xml">
<form string="Add Note" version="7.0">
<header>
<button name="action_add" type="object" string="_Add" icon="gtk-ok" />
<button string="_Cancel" icon="gtk-close" special="cancel" />
<button name="action_add" type="object" string="_Add" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<separator string="Add Note"/>
<field name="body"/>

View File

@ -1,37 +1,31 @@
<openerp>
<data>
<record id="view_crm_lead2opportunity_partner" model="ir.ui.view">
<field name="name">crm.lead2opportunity.partner.form</field>
<field name="model">crm.lead2opportunity.partner</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Convert to Opportunity">
<field name="action"/>
<group attrs="{'invisible':[('action','!=','exist')]}">
<field name="partner_id" attrs="{'required': [('action', '=', 'exist')]}"/>
</group>
<separator string="Convert to Opportunity" colspan="4"/>
<field name="name" colspan="4"/>
<group col="4" colspan="4" attrs="{'invisible': [('name', '=', 'convert')]}" >
<separator string="Select Opportunities" colspan="4" />
</group>
<field name="opportunity_ids" colspan="4" nolabel="1" attrs="{'invisible': [('name', '=', 'convert')]}">
<tree>
<field name="name" />
<field name="partner_id" />
<field name="user_id" />
<field name="section_id" />
</tree>
</field>
<separator string="" colspan="4" />
<group col="4" colspan="4">
<button special="cancel" string="Cancel" icon="gtk-cancel"/>
<button name="action_apply" string="Create Opportunity" type="object" icon="gtk-ok"/>
</group>
<form string="Convert to Opportunity" version="7.0">
<header>
<button name="action_apply" string="Create Opportunity" type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<field name="action"/>
<group attrs="{'invisible':[('action','!=','exist')]}">
<field name="partner_id" attrs="{'required': [('action', '=', 'exist')]}"/>
</group>
<separator string="Convert to Opportunity" colspan="4"/>
<field name="name" colspan="4"/>
<group col="4" colspan="4" attrs="{'invisible': [('name', '=', 'convert')]}" >
<separator string="Select Opportunities" colspan="4" />
</group>
<field name="opportunity_ids" colspan="4" nolabel="1" attrs="{'invisible': [('name', '=', 'convert')]}">
<tree>
<field name="name" />
<field name="partner_id" />
<field name="user_id" />
<field name="section_id" />
</tree>
</field>
</form>
</field>
</record>
@ -41,27 +35,22 @@
<field name="model">crm.lead2opportunity.partner.mass</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Convert to Opportunity">
<field name="action"/>
<field name="name" colspan="4"/>
<separator string="Assigned Opportunities to" colspan="4" />
<field name="section_id" />
<group col="4" colspan="4">
<separator string="Select Salesman" colspan="4" />
</group>
<field name="user_ids" nolabel="1" colspan="4">
<tree>
<field name="name" />
</tree>
</field>
<separator string="" colspan="4" />
<group col="4" colspan="4">
<button special="cancel" string="Cancel" icon="gtk-cancel"/>
<button name="mass_convert" string="Convert into Opportunities" type="object" icon="gtk-ok"/>
</group>
<form string="Convert to Opportunity" version="7.0">
<header>
<button name="mass_convert" string="Convert into Opportunities" type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<field name="action"/>
<field name="name" colspan="4"/>
<separator string="Assigned Opportunities to" colspan="4" />
<field name="section_id" />
<group col="4" colspan="4">
<separator string="Select Salesman" colspan="4" />
</group>
<field name="user_ids" nolabel="1" colspan="4">
<tree>
<field name="name" />
</tree>
</field>
</form>
</field>
</record>

View File

@ -10,8 +10,7 @@
<field name="arch" type="xml">
<form string="Create a Partner" version="7.0">
<header>
<button special="cancel" string="Cancel" icon="gtk-cancel"/>
<button name="make_partner" string="Continue" type="object" icon="gtk-ok"/>
<button name="make_partner" string="Continue" type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<separator string="Create a Partner"/>
<group col="4">

View File

@ -11,8 +11,7 @@
<field name="arch" type="xml">
<form string="Merge Opportunities" version="7.0">
<header>
<button name="action_merge" type="object" string="_Merge" icon="gtk-ok" />
<button string="_Cancel" icon="gtk-cancel" special="cancel" />
<button name="action_merge" type="object" string="_Merge" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<separator string="Select Opportunities"/>
<field name="opportunity_ids">

View File

@ -11,9 +11,8 @@
<field name="arch" type="xml">
<form string="Schedule/Log a Call" layout="manual" version="7.0">
<header>
<button name="action_schedule" type="object" string="Log call" icon="gtk-ok" attrs="{'invisible' : [('action', '!=', 'log')]}" />
<button name="action_schedule" type="object" string="Schedule Call" icon="gtk-ok" attrs="{'invisible' : [('action', '!=', 'schedule')]}" />
<button name="action_cancel" string="_Cancel" icon="gtk-cancel" special="cancel" />
<button name="action_schedule" type="object" string="Log call" icon="gtk-ok" attrs="{'invisible' : [('action', '!=', 'log')]}" class="oe_form_button_active_flow"/>
<button name="action_schedule" type="object" string="Schedule Call" icon="gtk-ok" attrs="{'invisible' : [('action', '!=', 'schedule')]}" class="oe_form_button_active_flow"/>
</header>
<group>
<group>

View File

@ -10,8 +10,7 @@
<field name="arch" type="xml">
<form string="Create Opportunity" version="7.0">
<header>
<button special="cancel" string="Cancel" icon="gtk-cancel"/>
<button name="make_opportunity" string="Create Opportunity" type="object" icon="gtk-ok"/>
<button name="make_opportunity" string="Create Opportunity" type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<group col="4">
<field name="name"/>

View File

@ -10,12 +10,10 @@
<field name="model">crm.phonecall2meeting</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Convert To Meeting">
<form string="Convert To Meeting" version="7.0">
<header>
<button name="action_cancel" string="_Cancel"
icon="gtk-cancel" special="cancel" />
<button name="action_make_meeting" type="object"
string="_Schedule" icon="gtk-go-forward" />
string="_Schedule" icon="gtk-go-forward" class="oe_form_button_active_flow"/>
</header>
<label string="Are you sure to schedule a Meeting for this Phonecall?"/>
</form>

View File

@ -11,8 +11,7 @@
<field name="arch" type="xml">
<form string="Convert To Opportunity " version="7.0">
<header>
<button name="action_cancel" string="_Cancel" icon="gtk-cancel" special="cancel" />
<button name="make_opportunity" type="object" string="_Convert" icon="gtk-convert" />
<button name="make_opportunity" type="object" string="_Convert" icon="gtk-convert" class="oe_form_button_active_flow"/>
</header>
<group col="4">
<field name="name"/>

View File

@ -11,7 +11,6 @@
<form string="Create a Partner" version="7.0">
<header>
<button name="open_create_partner" string="Create Partner" type="object" icon="gtk-ok" groups="base.group_partner_manager"/>
<button special="cancel" string="Cancel" icon="gtk-cancel"/>
</header>
<label string="Are you sure you want to create a partner based on this Phonecall ?"/>
<label string="You may have to verify that this partner does not exist already."/>
@ -28,8 +27,7 @@
<field name="arch" type="xml">
<form string="Create a Partner" version="7.0">
<header>
<button name="make_partner" string="Continue" type="object" icon="gtk-ok"/>
<button special="cancel" string="Cancel" icon="gtk-cancel"/>
<button name="make_partner" string="Continue" type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<group>
<field name="action"/>
@ -49,7 +47,5 @@
<field name="view_id" ref="view_crm_phonecall2partner_create"/>
<field name="target">new</field>
</record>
</data>
</openerp>

View File

@ -11,9 +11,8 @@
<field name="arch" type="xml">
<form string="Schedule/Log a Call" version="7.0">
<header>
<button name="action_cancel" string="_Cancel" icon="gtk-cancel" special="cancel" />
<button name="action_schedule" type="object" string="Log Call" icon="gtk-ok" attrs="{'invisible' : [('action', '!=', 'log')]}" />
<button name="action_schedule" type="object" string="Schedule Call" icon="gtk-ok" attrs="{'invisible' : [('action', '!=', 'schedule')]}" />
<button name="action_schedule" type="object" string="Log Call" icon="gtk-ok" attrs="{'invisible' : [('action', '!=', 'log')]}" class="oe_form_button_active_flow"/>
<button name="action_schedule" type="object" string="Schedule Call" icon="gtk-ok" attrs="{'invisible' : [('action', '!=', 'schedule')]}" class="oe_form_button_active_flow"/>
</header>
<group col="4">
<separator string="Schedule/Log a Call" colspan="4"/>

View File

@ -8,7 +8,10 @@
<field name="model">crm.lead.forward.to.partner</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Send Mail">
<form string="Send Mail" version="7.0">
<header>
<button name="action_forward" string="Send" type="object" icon="gtk-go-forward" class="oe_form_button_active_flow"/>
</header>
<separator string="Forward to Partner" colspan="4" />
<group col="4" colspan="6">
<field name="history" colspan="2" on_change="on_change_history(history, context)"/>
@ -41,11 +44,6 @@
<field name="attachment_ids" colspan="4" nolabel="1"/>
</page>
</notebook>
<group col="4" colspan="4">
<label string="" colspan="1"/>
<button icon="gtk-close" special="cancel" string="Close"/>
<button name="action_forward" string="Send" type="object" icon="gtk-go-forward"/>
</group>
</form>
</field>
</record>

View File

@ -9,8 +9,7 @@
<field name="arch" type="xml">
<form string="Questionnaires" version="7.0">
<header>
<button name="build_form" string="Open Questionnaire" icon="terp-camera_test" type="object"/>
<button special="cancel" icon="gtk-cancel" string="Cancel"/>
<button name="build_form" string="Open Questionnaire" icon="terp-camera_test" type="object" class="oe_form_button_active_flow"/>
</header>
<group>
<field name="questionnaire_id"/>
@ -34,14 +33,11 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form version="7.0">
<header>
<button name="questionnaire_compute" string="Save Data" icon="terp-stock_format-scientific" colspan="1" type="object" class="oe_form_button_active_flow"/>
</header>
<separator colspan="4" string="Questionnaire"/>
<field name="question_ans_ids" colspan="4" nolabel="1" mode="tree,form" width="550" height="200"/>
<separator string="" colspan="4" />
<label string="" colspan="2"/>
<group col="2" colspan="2">
<button icon='gtk-cancel' special="cancel" string="_Cancel" />
<button name="questionnaire_compute" string="Save Data" icon="terp-stock_format-scientific" colspan="1" type="object"/>
</group>
</form>
</field>
</record>

View File

@ -8,8 +8,7 @@
<field name="arch" type="xml">
<form string="Browse Document" version="7.0">
<header>
<button name="browse_ftp" string="_Browse" type="object" icon="gtk-ok"/>
<button special="cancel" string="_Cancel" icon="gtk-cancel"/>
<button name="browse_ftp" string="_Browse" type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<separator string="Browse Document"/>
<group>

View File

@ -28,11 +28,6 @@
</notebook>
</group>
<field name="report_name" colspan="4" readonly="1"/>
<separator colspan="4"/>
<group col="4" colspan="4">
<label string=""/>
<button icon="gtk-ok" special="cancel" string="Close" colspan="1"/>
</group>
</form>
</field>
</record>

View File

@ -9,8 +9,7 @@
<field name="arch" type="xml">
<form string="Event Confirmation" version="7.0">
<header>
<button icon="gtk-ok" name="confirm" string="Confirm Anyway" type="object"/>
<button icon="gtk-close" special="cancel" string="Close"/>
<button icon="gtk-ok" name="confirm" string="Confirm Anyway" type="object" class="oe_form_button_active_flow"/>
</header>
<label string="Warning: This Event has not reached its Minimum Registration Limit. Are you sure you want to confirm it?"/>
</form>

View File

@ -6,7 +6,11 @@
<field name="model">event.moodle.config.wiz</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Configure Moodle">
<form string="Configure Moodle" version="7.0">
<header>
<button type="object" name="configure_moodle"
string="Configure Moodle" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<group>
<separator string="Server" colspan="4"/>
<field name="server_moodle"/>
@ -20,11 +24,6 @@
<field name="moodle_username"/>
<field name="moodle_password"/>
</group>
<newline/>
<button type="special" special="cancel"
string="Cancel" icon="gtk-cancel"/>
<button type="object" name="configure_moodle"
string="Configure Moodle" icon="gtk-ok"/>
</form>
</field>
</record>

View File

@ -9,8 +9,7 @@
<field name="arch" type="xml">
<form string="Retro-Planning" version="7.0">
<header>
<button icon="gtk-ok" name="create_duplicate" string="Ok" type="object"/>
<button icon="gtk-close" special="cancel" string="Close"/>
<button icon="gtk-ok" name="create_duplicate" string="Ok" type="object" class="oe_form_button_active_flow"/>
</header>
<group col="4">
<field name="project_id" colspan="4"/>

View File

@ -8,8 +8,7 @@
<field name="arch" type="xml">
<form string="Google login" version="7.0">
<header>
<button special="cancel" string="_Cancel" icon="gtk-cancel"/>
<button name="login" string="_Login" type="object" icon="terp-check"/>
<button name="login" string="_Login" type="object" icon="terp-check" class="oe_form_button_active_flow"/>
</header>
<group>
<field name="user" placeholder="user@gmail.com"/>

View File

@ -14,9 +14,6 @@
<separator string="title" position="before">
<label string="This plug-in allows you to create and link outlook emails with openerp objects."/>
</separator>
<xpath expr="//button[@string='Install Modules']" position="replace">
<button colspan="1" icon="gtk-close" special="cancel" string="_Close"/>
</xpath>
<xpath expr="//button[@string='Cancel']" position="replace">
</xpath>
<xpath expr="//separator[@string='title']" position="after">

View File

@ -14,9 +14,6 @@
<separator string="title" position="before">
<label string="This plug-in allows you to link your e-mail to OpenERP's documents. You can attach it to any existing one in OpenERP or create a new one."/>
</separator>
<xpath expr="//button[@string='Install Modules']" position="replace">
<button colspan="1" icon="gtk-close" special="cancel" string="_Close"/>
</xpath>
<xpath expr="//button[@string='Cancel']" position="replace"></xpath>
<xpath expr="//separator[@string='title']" position="after">
<group colspan="8" height="450" width="750">