[FIX] hr* added special cancel link button

bzr revid: jam@tinyerp.com-20120627123017-bei5cjpghhzn1vr8
This commit is contained in:
Jigar Amin - OpenERP 2012-06-27 18:00:17 +05:30
parent 7c645856fe
commit 282b172739
17 changed files with 72 additions and 25 deletions

View File

@ -9,7 +9,9 @@
<field name="arch" type="xml">
<form string="Print Attendance Report Monthly" version="7.0">
<header>
<button name="print_report" string="Print" type="object" icon="gtk-print" class="oe_highlight_on_dirty" />
<button name="print_report" string="Print" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group col="4">
<field name="month"/>

View File

@ -8,7 +8,9 @@
<field name="arch" type="xml">
<form string="Print Attendance Report Weekly" version="7.0">
<header>
<button name="print_report" string="Print" type="object" icon="gtk-print" class="oe_highlight_on_dirty" />
<button name="print_report" string="Print" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group>
<field name="init_date"/>

View File

@ -9,7 +9,9 @@
<field name="arch" type="xml">
<form string="Print Attendance Report Error" version="7.0">
<header>
<button name="print_report" string="Print" type="object" icon="gtk-print" class="oe_highlight_on_dirty" />
<button name="print_report" string="Print" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group string="Analysis Information" col="4">
<field name="init_date"/>

View File

@ -8,8 +8,11 @@
<field name="arch" type="xml">
<form string="Sign in / Sign out" version="7.0">
<header>
<button icon="terp-gtk-jump-to-ltr" string="Sign in" name="si_check" type="object" class="oe_highlight_on_dirty" />
<button icon="terp-gtk-jump-to-rtl" string="Sign out" name="so_check" type="object" class="oe_highlight_on_dirty" />
<button string="Sign in" name="si_check" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Sign out" name="so_check" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group>
<separator colspan="4" string="Sign in / Sign out"/>
@ -55,7 +58,9 @@
<field name="arch" type="xml">
<form string="hr.sign.out.ask" version="7.0">
<header>
<button icon="gtk-go-back" string="Sign in" name="sign_in" type="object" class="oe_highlight_on_dirty" />
<button string="Sign in" name="sign_in" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group colspan="4" >
<separator string="You did not sign out the last time. Please enter the date and time you signed out." colspan="4" />
@ -73,7 +78,9 @@
<field name="arch" type="xml">
<form string="hr.sign.in.out.ask" version="7.0">
<header>
<button icon="gtk-go-back" string="Sign out" name="sign_out" type="object" class="oe_highlight_on_dirty" />
<button string="Sign out" name="sign_out" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group colspan="4" >
<separator string="You did not sign in the last time. Please enter the date and time you signed in." colspan="4" />

View File

@ -9,7 +9,9 @@
<field name="arch" type="xml">
<form string="Evaluation Reminders" version="7.0">
<header>
<button name="send_mail" string="Send Mail" type="object" icon="gtk-ok" class="oe_highlight_on_dirty" />
<button name="send_mail" string="Send Mail" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group string="Send Evaluation Reminder">
<field name="evaluation_id"/>

View File

@ -9,7 +9,9 @@
<field name="arch" type="xml">
<form string="Leaves by Department" version="7.0">
<header>
<button icon="gtk-print" name="print_report" string="Print" type="object" class="oe_highlight_on_dirty" />
<button name="print_report" string="Print" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group>
<field name="date_from" />

View File

@ -9,7 +9,9 @@
<field name="arch" type="xml">
<form string="Leaves Summary" version="7.0">
<header>
<button name="print_report" string="Print" colspan="1" type="object" icon="gtk-print" class="oe_highlight_on_dirty" />
<button name="print_report" string="Print" colspan="1" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group col="4" colspan="6">
<field name="date_from"/>

View File

@ -9,7 +9,9 @@
<field name="arch" type="xml">
<form string="Convert To Partner" version="7.0">
<header>
<button name="make_order" string="Create Contact" colspan="1" type="object" icon="gtk-execute" groups="base.group_partner_manager" class="oe_highlight_on_dirty" />
<button name="make_order" string="Create Contact" colspan="1" type="object" groups="base.group_partner_manager" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group col="4" colspan="6">
<label string="Are you sure you want to create a contact based on this job request ?"/>

View File

@ -9,8 +9,11 @@
<field name="arch" type="xml">
<form string="Create New Employee" version="7.0">
<header>
<button name="case_close_with_emp" string="Yes" colspan="1" type="object" icon="terp-camera_test" class="oe_highlight_on_dirty" />
<button name="case_close" string="No" icon='gtk-no' type="object"/>
<button name="case_close_with_emp" string="Yes" colspan="1" type="object" class="oe_highlight_on_dirty" />
or
<button name="case_close" string="No" type="object"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group>
<label string="Would you like to create an employee ?" colspan="4" />

View File

@ -9,7 +9,9 @@
<field name="arch" type="xml">
<form string="Schedule Phone Call" version="7.0">
<header>
<button name="make_phonecall" string="Schedule Phone Call" colspan="1" type="object" icon="gtk-execute" class="oe_highlight_on_dirty" />
<button name="make_phonecall" string="Schedule Phone Call" colspan="1" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group col="4" colspan="6">
<separator string="Phone Call Description" colspan="4" />

View File

@ -10,7 +10,9 @@
<field name="arch" type="xml">
<form string="Monthly Employee Timesheet" version="7.0">
<header>
<button icon="gtk-print" string="Print" name="print_report" type="object" class="oe_highlight_on_dirty" />
<button string="Print" name="print_report" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group colspan="4">
<field name="month"/>
@ -44,7 +46,9 @@
<field name="arch" type="xml">
<form string="Print My Timesheet" version="7.0">
<header>
<button icon="gtk-print" string="Print" name="print_report" type="object" class="oe_highlight_on_dirty" />
<button string="Print" name="print_report" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group colspan="4">
<separator string="This wizard will print monthly timesheet" colspan="4"/>

View File

@ -10,7 +10,9 @@
<field name="arch" type="xml">
<form string="Monthly Employees Timesheet" version="7.0">
<header>
<button icon="gtk-print" string="Print" name="print_report" type="object" class="oe_highlight_on_dirty" />
<button string="Print" name="print_report" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group height="260" width="460">
<group colspan="4">

View File

@ -8,7 +8,9 @@
<field name="arch" type="xml">
<form string="Sign In/Out by Project" version="7.0">
<header>
<button icon="gtk-ok" string="Sign in / Sign out" name="check_state" type="object" class="oe_highlight_on_dirty" />
<button string="Sign in / Sign out" name="check_state" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group>
<separator colspan="4" string="Sign In/Out by Project"/>
@ -25,7 +27,9 @@
<field name="arch" type="xml">
<form string="Sign In/Out by Project" version="7.0">
<header>
<button icon="gtk-ok" string="Start Working" name="sign_in_result" type="object" class="oe_highlight_on_dirty" />
<button string="Start Working" name="sign_in_result" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group colspan="4" >
<separator string="Sign in" colspan="4"/>
@ -57,8 +61,11 @@
<field name="arch" type="xml">
<form string="Sign In/Out by Project" version="7.0">
<header>
<button icon="gtk-ok" string="Change Work" name="sign_out_result" type="object" class="oe_highlight_on_dirty" />
<button icon="gtk-ok" string="Stop Working" name="sign_out_result_end" type="object" class="oe_highlight_on_dirty" />
<button string="Change Work" name="sign_out_result" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Stop Working" name="sign_out_result_end" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group colspan="4" >
<separator string="General Information" colspan="4" />

View File

@ -9,7 +9,9 @@
<field name="arch" type="xml">
<form string="Timesheet Profit" version="7.0">
<header>
<button name="print_report" string="Print" colspan="1" type="object" icon="gtk-print" class="oe_highlight_on_dirty" />
<button name="print_report" string="Print" colspan="1" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group height="420" width="370">
<group col="4" colspan="4">

View File

@ -28,7 +28,9 @@
<field name="arch" type="xml">
<form string="Invoice contract" version="7.0">
<header>
<button name="do_create" string="Create Invoice" type="object" icon="terp-gtk-go-back-rtl" class="oe_highlight_on_dirty" />
<button name="do_create" string="Create Invoice" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<separator string="Do you want to display work details on the invoice?" colspan="4"/>
<field name="date"/>

View File

@ -9,7 +9,9 @@
<field name="arch" type="xml">
<form string="Create Invoice" version="7.0">
<header>
<button name="do_create" string="Create Invoices" type="object" icon="terp-gtk-go-back-rtl" class="oe_highlight_on_dirty" />
<button name="do_create" string="Create Invoices" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<notebook>
<page string="Billing Data">

View File

@ -8,7 +8,9 @@
<field name="arch" type="xml">
<form string="My Current Timesheet" version="7.0">
<header>
<button icon="terp-camera_test" name="open_timesheet" string="Open" type="object" class="oe_highlight_on_dirty" />
<button name="open_timesheet" string="Open" type="object" class="oe_highlight_on_dirty"/>
or
<button string="Cancel" class="oe_link" special="cancel" />
</header>
<group>
<separator string="It will open your current timesheet"/>