← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello Nicolas Vanhoren,

I have checked the issue with more than one conditions in attrs, but it
work well.

Would you please check again with latest revision?

Keep posting if it's still problem at your end.

Hope it will help you.

Thanks.

-- 
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 OpenERP OpenObject.

Status in OpenObject Addons Modules: New

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