Clients do not handle multiple conditions in attrs

Bug #660391 reported by Nicolas Vanhoren (OpenERP)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

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,...).

description: updated
Revision history for this message
Ravindra Mekhiya(OpenERP) (rme-openerp) wrote :

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.

affects: openobject-addons → openobject-client
tfr (Openerp) (tfr)
Changed in openobject-client:
status: New → Incomplete
Changed in openobject-client:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.