Search crash with property fields

Bug #634607 reported by Albert Cervera i Areny - http://www.NaN-tic.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Status tracked in Trunk
5.0
Fix Released
Medium
Unassigned
Trunk
Fix Released
Medium
Unassigned

Bug Description

Trying to search with the following domain:

[('property_product_pricelist.name','ilike','a')]

Will cause the application to crash:

 res = self._obj.execute(query, params)
ProgrammingError: column res_partner.property_product_pricelist does not exist
LINE 1: ...artner" where (res_partner.active = E'True') AND (res_partne...

Changed in openobject-server:
status: New → Confirmed
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

It has been fixed by revision 2146 <email address hidden>.

The crash has been avoided, but as the fields.property is again a derived class of fields.function, it should also have fnct_search member to that field definition.

Thanks.

Changed in openobject-server:
status: Confirmed → Fix Released
importance: Undecided → Medium
milestone: none → 5.0.15
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Fixed on trunk by revision 2963 <email address hidden>.

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.