← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Public bug reported:

It seems like, when you use multiple conditions in attrs. Example :

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

Only the first condition will be used. 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,...).

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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. Example :

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

Only the first condition will be used. 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,...).





Follow ups

References