← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 660391] Re: Clients do not handle multiple conditions in attrs

 

** Changed in: openobject-client
       Status: Incomplete => Invalid

-- 
Clients do not handle multiple conditions in attrs
https://bugs.launchpad.net/bugs/660391
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject GTK Client: Invalid

Bug description:
It seems like, when you use multiple conditions in attrs, only the first condition will be used. Example :

<button ... attrs="{'invisible':[('pay_now','!=','pay_now'),('state','!=','posted')]}"/>

It does not seem to understand operators either. We verified that behavior in the GTK client, I think it is the same in web client but not sure.
The behavior should be the same as with domains (enabling complex conditions, with or, and, not,...).







References