summaryrefslogtreecommitdiff
path: root/addons/hr_holidays/wizard
diff options
context:
space:
mode:
authorTurkesh Patel (Open ERP) <tpa@tinyerp.com>2012-06-18 10:56:53 +0530
committerTurkesh Patel (Open ERP) <tpa@tinyerp.com>2012-06-18 10:56:53 +0530
commit86d52c4e7381f9cdf82e840375ab98f36de70ca0 (patch)
treeade803287bffe81163c8090355309db98ea85722 /addons/hr_holidays/wizard
parentfe12a1ead7c9e2ccd6e8a937dd4ee72fcb63c041 (diff)
[IMP] hr_evaluation: remove cancel button from wizard and improved view.
bzr revid: tpa@tinyerp.com-20120618052653-2h7c92yhcftksizo
Diffstat (limited to 'addons/hr_holidays/wizard')
-rw-r--r--addons/hr_holidays/wizard/hr_holidays_summary_department_view.xml3
-rw-r--r--addons/hr_holidays/wizard/hr_holidays_summary_employees_view.xml10
2 files changed, 5 insertions, 8 deletions
diff --git a/addons/hr_holidays/wizard/hr_holidays_summary_department_view.xml b/addons/hr_holidays/wizard/hr_holidays_summary_department_view.xml
index 72844a58ccb..ac47342fc6e 100644
--- a/addons/hr_holidays/wizard/hr_holidays_summary_department_view.xml
+++ b/addons/hr_holidays/wizard/hr_holidays_summary_department_view.xml
@@ -9,8 +9,7 @@
<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"/>
- <button icon="gtk-cancel" special="cancel" string="Cancel"/>
+ <button icon="gtk-print" name="print_report" string="Print" type="object" class="oe_form_button_active_flow"/>
</header>
<group>
<field name="date_from" />
diff --git a/addons/hr_holidays/wizard/hr_holidays_summary_employees_view.xml b/addons/hr_holidays/wizard/hr_holidays_summary_employees_view.xml
index 1f330580c6e..5f4fae16cda 100644
--- a/addons/hr_holidays/wizard/hr_holidays_summary_employees_view.xml
+++ b/addons/hr_holidays/wizard/hr_holidays_summary_employees_view.xml
@@ -7,7 +7,10 @@
<field name="model">hr.holidays.summary.employee</field>
<field name="type">form</field>
<field name="arch" type="xml">
- <form string="Leaves Summary">
+ <form string="Leaves Summary" version="7.0">
+ <header>
+ <button name="print_report" string="Print" colspan="1" type="object" icon="gtk-print" class="oe_form_button_active_flow"/>
+ </header>
<group col="4" colspan="6">
<field name="date_from"/>
<newline/>
@@ -15,11 +18,6 @@
<newline/>
<field name="emp" invisible="True"/>
</group>
- <separator colspan="4"/>
- <group col="2" colspan="4">
- <button special="cancel" string="Cancel" icon='gtk-cancel'/>
- <button name="print_report" string="Print" colspan="1" type="object" icon="gtk-print"/>
- </group>
</form>
</field>
</record>