[IMP] hr_evaluation: remove cancel button from wizard and improved view.

bzr revid: tpa@tinyerp.com-20120618052653-2h7c92yhcftksizo
This commit is contained in:
Turkesh Patel (Open ERP) 2012-06-18 10:56:53 +05:30
parent fe12a1ead7
commit 86d52c4e73
2 changed files with 5 additions and 8 deletions

View File

@ -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" />

View File

@ -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>