[IMP] Account: don't display the analytic account in red if there is no date end defined on it but in black => red should only be when there is a date end which is overpassed

bzr revid: mra@mra-laptop-20100828065250-00006o4cx4hceiq4
This commit is contained in:
MRA(OpenERP), MTR(OpenERP) 2010-08-28 12:22:50 +05:30 committed by Mustufa Rangwala
parent 8a0d82b6f9
commit 446655fae0
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@
<field name="type">tree</field>
<field name="field_parent">child_ids</field>
<field name="arch" type="xml">
<tree toolbar="True" colors="red:(date&lt;=current_date);black:(date&gt;current_date)" string="Analytic account">
<tree toolbar="True" colors="red:(date&lt;current_date);black:(date&gt;=current_date);black:(date==False)" string="Analytic account">
<field name="name"/>
<field name="code"/>
<field name="quantity"/>