[FIX] project: fixed project tree view with deadline date

bzr revid: odo@openerp.com-20100708112624-lbyv3dep5c5v063o
This commit is contained in:
Olivier Dony 2010-07-08 13:26:24 +02:00
parent c0a2577de1
commit 4ee3b259da
1 changed files with 2 additions and 1 deletions

View File

@ -142,8 +142,9 @@
<field name="type">tree</field>
<field name="field_parent">child_ids</field>
<field name="arch" type="xml">
<tree colors="red:date&lt;current_date and state in ('open');blue:state in ('draft','pending');grey: state in ('close','cancelled')" string="Projects">
<tree colors="red:date and (date&lt;current_date) and (state in ('open'));blue:state in ('draft','pending');grey: state in ('close','cancelled')" string="Projects">
<field name="sequence" invisible="1"/>
<field name="date" invisible="1"/>
<field name="name" string="Project Name"/>
<field name="user_id" string="Project Manager"/>
<field name="partner_id" string="Partner"/>