← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 605334] Re: colors - condition not correctly evaluated

 

Yes, this should work as it works normally on filters.
Thanks.

-- 
colors - condition not correctly evaluated
https://bugs.launchpad.net/bugs/605334
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Server: Invalid

Bug description:
in my py file:
'name'               : fields.date    ('From', required=True),

in xml
<tree string="xyz" editable="top" colors="green: name &gt; current_date ; red: name &lt; current_date">
works

whereas in
<tree string="xyz" editable="top" colors="green: name &gt; current_date ; red: name &lt; current_date - 180">

the "current_date - 180" is not evaluated