[IMP] hr_payroll: Improve the view

bzr revid: sbh@tinyerp.com-20100701062503-rw4885decztd3upn
This commit is contained in:
sbh (Open ERP)
2010-07-01 11:55:03 +05:30
parent 953a317809
commit 90aadf6958
2 changed files with 26 additions and 16 deletions
@@ -7,16 +7,21 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Year Salary">
<group width="500">
<field name="fiscalyear_id" />
<separator string="Employee" colspan="4"/>
<field name="employee_ids" nolabel="1" colspan="2" />
<group col="4" colspan="4" width="600">
<group col="2" colspan="1">
<field name="fiscalyear_id" align="1.0" />
<newline/>
<separator string="Employee" colspan="4"/>
<field name="employee_ids" nolabel="1" colspan="2" />
</group>
<newline/>
<group col="2" colspan="1">
<button icon='gtk-cancel' special="cancel"
string="Close" />
<button name="print_report" string="Print Report"
type="object" icon="gtk-print" />
</group>
</group>
</form>
</field>
</record>
@@ -8,19 +8,24 @@
<field name="arch" type="xml">
<form string="Year Salary">
<group col="4" colspan="4" width="600">
<field name="fiscalyear_id" select="1" colspan="2"/>
<group col="3" colspan="1">
<field name="fiscalyear_id" select="1" colspan="2"/>
<newline/>
<separator string="Employee" colspan="4"/>
<field name="employee_ids" nolabel="1" colspan="2"/>
<newline/>
<separator string="Salary Deposit Date Option?" colspan="2"/>
<newline/>
<field name="salary_on"/>
</group>
<newline/>
<field name="employee_ids" colspan="2"/>
<newline/>
<separator string="Salary Deposit Date Option?" colspan="2"/>
<newline/>
<field name="salary_on"/>
<newline/>
<button icon='gtk-cancel' special="cancel"
string="Close" />
<button name="print_report" string="Print Report"
type="object" icon="gtk-print" />
</group>
<group>
<button icon='gtk-cancel' special="cancel"
string="Close" />
<button name="print_report" string="Print Report"
type="object" icon="gtk-print" />
</group>
</group>
</form>
</field>
</record>