[FIX] hr_payroll: payslip line color is blue when total is 0

bzr revid: ara@tinyerp.com-20110425094142-w0hjdx79bq84r920
This commit is contained in:
ARA (OpenERP) 2011-04-25 15:11:42 +05:30
parent 2dad28d4fd
commit 9f2709ccd0
1 changed files with 2 additions and 2 deletions

View File

@ -135,7 +135,7 @@
<field name="model">hr.payslip.line</field>
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Salary Structure" editable="bottom">
<tree string="Salary Structure" editable="bottom" colors="blue:total == 0">
<field name="category_id"/>
<field name="employee_id" invisible="1"/>
<field name="sequence" groups="base.group_extended"/>
@ -242,7 +242,7 @@
<notebook colspan="4">
<page string="Salary Computation" >
<field name="line_ids" colspan="4" nolabel="1">
<tree string="Salary Structure" editable="bottom">
<tree string="Salary Structure" editable="bottom" colors="blue:total == 0">
<field name="name"/>
<field name="code"/>
<field name="category_id"/>