[IMP] hr_payroll:improved payslip line view,removed fields that are used to calculate the total

bzr revid: mtr@mtr-20110425103718-r80y25vatlik17z4
This commit is contained in:
mtr 2011-04-25 16:07:18 +05:30
parent 2dad28d4fd
commit eac6fb073c
1 changed files with 7 additions and 24 deletions

View File

@ -250,30 +250,13 @@
<field name="total"/>
</tree>
<form string="Payslip Line">
<group col="6" colspan="4">
<field name="name" colspan="4" select="1"/>
<field name="code" select="1"/>
<field name="appears_on_payslip"/>
<field name="salary_rule_id"/>
<group>
<field name="name" select="1"/>
<field name="code" select="1"/>
<field name="category_id"/>
<field name="sequence" groups="base.group_extended"/>
<field name="total"/>
</group>
<group col="2" colspan="2">
<separator colspan="4" string="Calculations"/>
<field name="category_id"/>
<field name="amount_select"/>
<field name="amount_fix" attrs="{'readonly':[('amount_select','&lt;&gt;','fix')]}"/>
<field name="amount_percentage" attrs="{'readonly':[('amount_select','=','percentage')]}"/>
<field name="sequence" groups="base.group_extended"/>
</group>
<group col="2" colspan="2">
<separator colspan="4" string="Company contribution"/>
<field name="company_contrib"/>
</group>
<notebook colspan="4">
<page string="Description">
<separator colspan="4" string="Description"/>
<field name="note" colspan="4" nolabel="1"/>
</page>
</notebook>
</form>
</field>
</page>
@ -291,7 +274,7 @@
<page string="Worked Days">
<field name="input_line_ids" colspan="4" nolabel="1" mode="tree">
<tree editable="bottom">
<tree string="Worked Days" editable="bottom">
<field name="name"/>
<field name="code"/>
<field name="number_of_days" sum="Total Working Days"/>