← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

If the date - integer is the expression, I don't think it should be
evaluated.

Can you check with any other type of expression and post?

I will also investigate for the same.

Thanks.

** Changed in: openobject-server
       Status: New => Invalid

-- 
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