[FIX] hr_payroll: payslip line color is blue when total is 0
bzr revid: ara@tinyerp.com-20110425102544-ivqy6vu4fb14z68u
This commit is contained in:
@@ -144,6 +144,7 @@
|
||||
<field name="amount_select"/>
|
||||
<field name="amount_fix"/>
|
||||
<field name="amount_percentage"/>
|
||||
<field name="total" invisible="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
@@ -280,7 +281,7 @@
|
||||
<!-- TODO: put me back -->
|
||||
<page string="Details By Salary Head">
|
||||
<field name="details_by_salary_head" context="{'group_by':'category_id'}" domain="[('appears_on_payslip', '=', True)]" nolabel="1">
|
||||
<tree string="Payslip Lines">
|
||||
<tree string="Payslip Lines" colors="blue:total == 0">
|
||||
<field name="category_id"/>
|
||||
<field name="name"/>
|
||||
<field name="code"/>
|
||||
|
||||
Reference in New Issue
Block a user