Contacts in search view of partner object not properly working (After installing base_contact)

Bug #849420 reported by Etienne Hirt
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 1

Bug Description

Working with Version 6.02 on server and client. Checked that the base_contact module is the same as in the trunk.

Partner view shows 'Contact' instead of 'Address' in the search field description of field address.

Further the search function was not updated for the base_contact module.

Also in the address search still the name was a search field instead of address items such as street and zip.

See belows diff/patch as current status of work in progress that fixes the search in partners.
And the diff makes first update in the search in the address view. Missing in address search is the integration to search also in 'street2'
and missing is also search for partners and address in the contact names that are linked to jobs that point to this address or partner.

Tags: low

Related branches

Revision history for this message
Etienne Hirt (hirt) wrote :
summary: - address search not working in partners with base_contact
+ Contacts in search view of partner object not properly working (After
+ installing base_contact)
Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :

Hello,

I have checked this issue with stable 6 and trunk both. This issue is wishlist for adding a fields in search view for more search

option.

But I am confirming this issue for search contacts in search view which is exist one2many in partner form

Generally this is working normal but the bug is reproduce only when I add new contacts in exiting partner after that I am trying

to search the result is not proper.

For more reference I have attached a video.

Thanks.

Revision history for this message
Vishal Parmar(Open ERP) (vpa-openerp) wrote :
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Etienne Hirt (hirt) wrote :

Hi Vishal,

The search finds the old entry as the contact name was not deleted from the adress record in the res_partner_address table. But the name is no longer filled thus will not find the new entered name.

The field searched shall be named address at it is the address table that is searched. Thats what I corrected in the patch.

However, in my opinion the search of the contact shall also be re-added but has to search the contact_name in the res_partner_contact and then by means of the res_partner_job table display the partners the contact name is found.

Thanks for your efforts

Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
DBR (OpenERP) (dbr-openerp) wrote :

Hello Etienne Hirt,

Thanks for your patch.

I have fixed this issue [with some help of your patch] in following branch.
lp:~openerp-dev/openobject-addons/trunk-bug-849420-dbr
It will be merge soon with trunk addons.

Revision ID : 5015 <email address hidden>
Revision No : 5015

Thank You.

Changed in openobject-addons:
status: In Progress → Fix Committed
tfr (Openerp) (tfr)
Changed in openobject-addons:
status: Fix Committed → Fix Released
Revision history for this message
Etienne Hirt (hirt) wrote :

Dear Devishree,

Thanks for the patch. Unfortunately I missed your Patch before release but checked it now. There are still some issued you might comment about:
* Search of complete address (over several fields) does not work
* Open jobs only works with client but not webclient. Most probable related to complete address search
* Contact search in Partner does only show/find some Partners but not directly seen why. To be further investigated from me
* Installer to be patched for version 6.03 (base.category_administration_config not available)

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.