[MERGE] lp:~openerp-dev/openobject-addons/trunk-wiz-remove-btn-tools-tpa

bzr revid: jam@tinyerp.com-20120619090140-90laxckmkq19h9us
This commit is contained in:
Jigar Amin - OpenERP 2012-06-19 14:31:40 +05:30
commit 1f54be8182
20 changed files with 49 additions and 86 deletions

View File

@ -9,18 +9,17 @@
<field name="inherit_id" ref="mail.email_compose_message_wizard_form"/>
<field name="arch" type="xml">
<data>
<xpath expr="//label[@name='placeholder']" position="before">
<xpath expr="//form/header/button" position="before">
<field name="use_template" invisible="1"/>
<button icon="gtk-paste" type="object" name="template_toggle"
string="" help="Use a message template" />
<button icon="gtk-save" type="object" name="save_as_template"
string="" help="Save as a new template"/>
</xpath>
<xpath expr="//form/notebook" position="after">
<group attrs="{'invisible':[('use_template','=',False)]}" colspan="4" col="4">
<field name="template_id" colspan="3"
on_change="on_change_template(use_template, template_id, email_from, email_to, context)"/>
<label string="" name="flexspace" colspan="1"/>
</group>
<group colspan="1" col="6">
<field name="use_template" invisible="1"/>
<button icon="gtk-paste" type="object" name="template_toggle"
string="" help="Use a message template" colspan="1"/>
<button icon="gtk-save" type="object" name="save_as_template"
string="" help="Save as a new template" colspan="1"/>
</group>
</xpath>
</data>

View File

@ -11,8 +11,7 @@
<field name="arch" type="xml">
<form string="Reset cashbox" version="7.0">
<header>
<button icon="gtk-ok" name="set_to_zero" string="Set to Zero" type="object"/>
<button icon="gtk-cancel" special="cancel" string="No"/>
<button icon="gtk-ok" name="set_to_zero" string="Set to Zero" type="object" class="oe_form_button_active_flow"/>
</header>
<label string="Are you sure you want to reset this cashbox ?"/>
</form>

View File

@ -11,8 +11,7 @@
<field name="arch" type="xml">
<form string="Cancel Order" version="7.0">
<header>
<button icon="gtk-ok" name="cancel" string="Yes" type="object"/>
<button icon="gtk-cancel" special="cancel" string="No"/>
<button icon="gtk-ok" name="cancel" string="Yes" type="object" class="oe_form_button_active_flow"/>
</header>
<group col="4" >
<label string="Are you sure you want to cancel this order ?"/>

View File

@ -11,8 +11,7 @@
<field name="arch" type="xml">
<form string="Confirm" version="7.0">
<header>
<button icon="gtk-ok" name="confirm" string="Confirm Order" type="object"/>
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
<button icon="gtk-ok" name="confirm" string="Confirm Order" type="object" class="oe_form_button_active_flow"/>
</header>
<group col="4">
<separator string="Orders Confirmation" colspan="4"/>

View File

@ -6,7 +6,10 @@
<field name="model">mail.compose.message</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Compose Email">
<form string="Compose Email" version="7.0">
<header>
<button icon="gtk-ok" name="send_mail" string="Send" type="object" class="oe_form_button_active_flow"/>
</header>
<group col="6" colspan="4">
<field name="model" invisible="1"/>
<field name="res_id" invisible="1"/>
@ -28,11 +31,6 @@
<field name="attachment_ids" colspan="4" nolabel="1"/>
</page>
</notebook>
<group col="4" colspan="4">
<label string="" name="placeholder" colspan="1"/>
<button icon="gtk-close" special="cancel" string="Cancel"/>
<button icon="gtk-ok" name="send_mail" string="Send" type="object"/>
</group>
</form>
</field>
</record>

View File

@ -8,8 +8,7 @@
<field name="arch" type="xml">
<form string="Configure Marketing" 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 col="4" string="Campaigns">

View File

@ -9,8 +9,7 @@
<field name="arch" type="xml">
<form string="Membership Invoice" version="7.0">
<header>
<button icon="gtk-apply" string="Join" name="membership_invoice" type="object"/>
<button icon="gtk-close" special="cancel" string="Close"/>
<button icon="gtk-apply" string="Join" name="membership_invoice" type="object" class="oe_form_button_active_flow"/>
</header>
<group>
<field name="product_id" domain="[('membership','=',True)]" widget="selection" on_change="onchange_product(product_id)"/>

View File

@ -77,11 +77,6 @@ class report_webkit_actions(osv.osv_memory):
if ids:
res['arch'] = '''<form string="Add Print Buttons">
<label string="Report Action already exist for this report."/>
<separator colspan="4"/>
<group col="2" colspan="4">
<button icon='gtk-cancel' special="cancel"
string="_Cancel" />
</group>
</form>
'''

View File

@ -9,8 +9,7 @@
<field name="arch" type="xml">
<form string="Add Print Buttons" col="4" version="7.0">
<header>
<button name="do_action" type="object" string="_Ok" icon="gtk-ok" />
<button string="_Cancel" icon="gtk-cancel" special="cancel" />
<button name="do_action" type="object" string="_Ok" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<group>
<field name="print_button"/>

View File

@ -9,8 +9,7 @@
<field name="arch" type="xml">
<form string="Sharing: preparation" version="7.0">
<header>
<button name="go_step_1" string="Next" type="object" icon="gtk-go-forward"/>
<button special="cancel" string="Cancel" icon='gtk-cancel'/>
<button name="go_step_1" string="Next" type="object" icon="gtk-go-forward" class="oe_form_button_active_flow"/>
</header>
<separator
string="Please select the action that opens the screen containing the data you want to share."/>
@ -31,8 +30,7 @@
<field name="arch" type="xml">
<form version="7.0">
<header>
<button name="go_step_2" string="Share" type="object" icon="gtk-go-forward"/>
<button special="cancel" string="Cancel" icon='gtk-cancel'/>
<button name="go_step_2" string="Share" type="object" icon="gtk-go-forward" class="oe_form_button_active_flow"/>
</header>
<field name="user_type" invisible="1"/>
<field name="invite" invisible="1"/>
@ -64,7 +62,6 @@
<field name="arch" type="xml">
<form string="Access granted!" version="7.0">
<header>
<button special="cancel" string="Close" icon='gtk-ok'/>
<field name="user_type" invisible="1"/>
<field name="access_mode" invisible="1"/>
</header>

View File

@ -13,8 +13,7 @@
<field name="arch" type="xml">
<form string="Survey" version="7.0">
<header>
<button icon="gtk-go-forward" name="action_next" string="Start" type="object"/>
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
<button icon="gtk-go-forward" name="action_next" string="Start" type="object" class="oe_form_button_active_flow"/>
</header>
<group col="4">
<separator colspan="4" string = "Select Survey and Related Answer"/>

View File

@ -11,8 +11,7 @@
<field name="arch" type="xml">
<form string="Survey Print" version="7.0">
<header>
<button colspan="1" icon="gtk-print" name="action_next" string="Print" type="object"/>
<button colspan="1" icon="gtk-cancel" special="cancel" string="Cancel"/>
<button colspan="1" icon="gtk-print" name="action_next" string="Print" type="object" class="oe_form_button_active_flow"/>
</header>
<group col="4">
<separator string="Survey" colspan="4"/>

View File

@ -11,8 +11,7 @@
<field name="arch" type="xml">
<form string="Print Answer" version="7.0">
<header>
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
<button icon="gtk-print" name="action_next" string="Print" type="object"/>
<button icon="gtk-print" name="action_next" string="Print" type="object" class="oe_form_button_active_flow"/>
</header>
<group col="4">
<separator string="Answer" colspan="4"/>

View File

@ -11,8 +11,7 @@
<field name="arch" type="xml">
<form string="Survey Print Statistics" version="7.0">
<header>
<button icon="gtk-print" name="action_next" string="Print" type="object"/>
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
<button icon="gtk-print" name="action_next" string="Print" type="object" class="oe_form_button_active_flow"/>
</header>
<field name="survey_ids"/>
</form>

View File

@ -12,8 +12,7 @@
<field name="arch" type="xml">
<form string="Survey" version="7.0">
<header>
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
<button icon="gtk-go-forward" name="action_next" string="Start" type="object"/>
<button icon="gtk-go-forward" name="action_next" string="Start" type="object" class="oe_form_button_active_flow"/>
</header>
<group string="Select Survey">
<field name="survey_id" on_change="on_change_survey(survey_id)"/>

View File

@ -11,8 +11,7 @@
<field name="arch" type="xml">
<form string="Send Invitation" version="7.0">
<header>
<button icon="gtk-go-forward" name="action_send" string="_Send" type="object"/>
<button icon="gtk-cancel" special="cancel" string="_Cancel"/>
<button icon="gtk-go-forward" name="action_send" string="_Send" type="object" class="oe_form_button_active_flow"/>
</header>
<group col="4">
<separator string="Select Partner" colspan="4"/>
@ -55,9 +54,6 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="User creation" version="7.0">
<header>
<button icon="gtk-ok" special="cancel" string="_Ok"/>
</header>
<group string="Results :">
<field name="note"/>
</group>

View File

@ -9,15 +9,14 @@
<field name="model">wiki.create.menu</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Create Menu">
<separator string="Menu Information" colspan="4" />
<form string="Create Menu" version="7.0">
<header>
<button name="wiki_menu_create" string="Create Menu" type="object" class="oe_form_button_active_flow"/>
</header>
<separator string="Menu Information" colspan="4" />
<field name="menu_name" />
<field name="menu_parent_id" />
<separator string="" colspan="4" />
<label string="" colspan="2" />
<button special="cancel" string="Cancel" />
<button name="wiki_menu_create" string="Create Menu" type="object"/>
</form>
</form>
</field>
</record>

View File

@ -9,16 +9,13 @@
<field name="model">wiki.make.index</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Create Menu">
<separator string="Menu Information" colspan="4"/>
<label string="Want to create a Index on Selected Pages ? "/>
<separator string="" colspan="6" />
<label string="" colspan="2"/>
<group>
<button special="cancel" string="Cancel" icon="gtk-cancel" />
<button name="wiki_do_index" string="Create Index" type="object" icon="gtk-ok"/>
</group>
</form>
<form string="Create Menu" version="7.0">
<header>
<button name="wiki_do_index" string="Create Index" type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<separator string="Menu Information" colspan="4"/>
<label string="Want to create a Index on Selected Pages ? "/>
</form>
</field>
</record>

View File

@ -9,14 +9,10 @@
<field name="model">wizard.wiki.history.show_diff</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Difference">
<separator colspan="4" string="Notes"/>
<field name="file_path" colspan="4" width="300"/>
<label string="" colspan="2" />
<group>
<button special="cancel" string="Close" icon="gtk-close" />
</group>
</form>
<form string="Difference">
<separator colspan="4" string="Notes"/>
<field name="file_path" colspan="4" width="300"/>
</form>
</field>
</record>

View File

@ -9,15 +9,12 @@
<field name="model">wiki.wiki.page.open</field>
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Open Page">
<separator string="" colspan="6" />
<label string="Want to open a wiki page? "/>
<separator string="" colspan="6" />
<label string="" colspan="2" />
<group>
<button special="cancel" string="Cancel" icon="gtk-cancel" />
<button name="open_wiki_page" string="Open Wiki Page" type="object" icon="gtk-ok"/>
</group>
<form string="Open Page" version="7.0">
<header>
<button name="open_wiki_page" string="Open Wiki Page" type="object" icon="gtk-ok" class="oe_form_button_active_flow"/>
</header>
<separator string="" colspan="6" />
<label string="Want to open a wiki page? "/>
</form>
</field>
</record>