[TRUNK base_contact] Bug opening the contact view

Bug #563644 reported by Omar (Pexego)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Undecided
Rucha (Open ERP)

Bug Description

Hi,

I test it with gtk client, this client executes search_count method when it opens views and many2one fields, this method in server calls to search() with the parameter count = True for that it does a sql count(*), in base_contact res.partner.job class, search() method is inherited and it calls always to res.partner.contact search with count parameter and then method calls to res.partner.contact browse with the search result, but if count = True, it calls browse with ids = 0 therefore it crashes.
I include a patch.

Tags: pexego

Related branches

Revision history for this message
Omar (Pexego) (omar7r) wrote :
Revision history for this message
Rucha (Open ERP) (rpa-openerp) wrote :

Thanks for the patch Omar,
Will apply it and notify you soon..

Changed in openobject-addons:
status: New → Confirmed
assignee: nobody → rpa (Open ERP) (rpa-openerp)
status: Confirmed → In Progress
Revision history for this message
Rucha (Open ERP) (rpa-openerp) wrote :

Hello,
It has been fixed into https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-dev-addons2 branch by:
Revision ID: <email address hidden>
Revno: 3324
Thanks.

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Rucha (Open ERP) (rpa-openerp) wrote :

Hello,
The changes are merged in trunk-addons:
Revision ID: <email address hidden>
Thanks

Changed in openobject-addons:
status: Fix Committed → Fix Released
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.