Unsetting filter button causes exception

Bug #798378 reported by Equipo OPENTIA (http://www.opentia.com)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client
Invalid
Undecided
Unassigned

Bug Description

Since change made in revno 4632, within the `search` class the variable 'domain' is initialized as an empty list, instead of as `None` if empty.

This empty list causes an exception in the client web when disabling active buttons. For example:

     Sales -> Invoicing -> Lines to Invoice , when unsetting the UNINVOICED button.

Reverting the `domain` variable initialization back to `None` seems to solve the problem.

Revision history for this message
Equipo OPENTIA (http://www.opentia.com) (opentia) wrote :
Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello Equipo OPENTIA,

I have checked your issue with latest updated code with stable6 and trunk both with client-web but I did't face any problem or exception.

I have attached video for your reference so would you please check it and informed us where you faced
the problem.

Thanks and waiting for your reply.

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :
Changed in openobject-client-web:
status: New → Incomplete
Revision history for this message
Equipo OPENTIA (http://www.opentia.com) (opentia) wrote :

Thank you Vishal,

I reverted it back to '[]' (which is the most logical value) and it is working fine here too.

Probably it got corrected with one of the many commits about domain expressions handling made in the server part. I think it can be closed safely.

Thanks,

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello,

According to comment no #4 I am closing this issue.

Thanks.

Changed in openobject-client-web:
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.