[7.0] res.partner name_search() does not properly match all display names
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 1 |
Bug Description
CRM Module
If you filter opportunities using Partner field, filter won't work for those customers who are contact of another customer (Company)
In this case full name for the Partner is "Company,Customer"
Suppose you have a customer eg. "Mr.Bob" who is working for the company "Red ltd".
In OpenERP>
Because "Mr.Bob" has been created as contact of "Red Ltd", he will be listed as "Red Ltd, Mr.Bob" in openerp.
You have an opportunity where "Mr.Bob" is selected as Partner (than OpenERP showing "Red Ltd,MrBob" in the opportunity form)
On "Mr.Bob" icon is displayed "1 opportunity" but if you click on the "1 opportunity" you will receive an empty list.
Again if you go in opportunities list (Kanban, list and oher) you can see the MrBob's opportunity but if you try to filter out it you can't (if you will use the suggested Partner field)
You can filter Red Ltd,MrBob's opportunity just using free text like "Bob"
sorry for my poor english
Related branches
- Olivier Dony (Odoo): Disapprove
- Purnendu Singh (OpenERP) (community): Approve
-
Diff: 352 lines (+29/-29)23 files modifiedaccount/account_invoice_view.xml (+1/-1)
account/project/project_view.xml (+1/-1)
account_analytic_analysis/account_analytic_analysis_view.xml (+1/-1)
account_asset/account_asset_view.xml (+1/-1)
account_asset/report/account_asset_report_view.xml (+1/-1)
account_voucher/account_voucher_view.xml (+1/-1)
account_voucher/voucher_payment_receipt_view.xml (+2/-2)
account_voucher/voucher_sales_purchase_view.xml (+2/-2)
crm/crm_lead_view.xml (+2/-2)
crm/crm_phonecall_view.xml (+1/-1)
crm/report/crm_lead_report_view.xml (+1/-1)
crm/report/crm_phonecall_report_view.xml (+1/-1)
crm_claim/crm_claim_view.xml (+1/-1)
crm_claim/report/crm_claim_report_view.xml (+1/-1)
crm_helpdesk/crm_helpdesk_view.xml (+1/-1)
crm_helpdesk/report/crm_helpdesk_report_view.xml (+1/-1)
mrp_repair/mrp_repair_view.xml (+1/-1)
project/project_view.xml (+1/-1)
project/report/project_report_view.xml (+1/-1)
project_issue/project_issue_view.xml (+1/-1)
project_issue/report/project_issue_report_view.xml (+1/-1)
stock/report/report_stock_move_view.xml (+1/-1)
stock/stock_view.xml (+4/-4)
Hello Eletro,
Thanks for reporting this issue.
I have checked this issue with latest trunk as well as with 7.0. And I have face same issue. And i have seen that this issue is not occur for only crm, but its occurs for whole addons.
e.g. : I created an invoice, an opportunity, a sale, a contract and a phone call for Joseph walters (from the link in partner form), when I come back to partner, and click again on invoice links, i don't find invoice of Joseph Walters.
So, I am confirming this issue.
Thank you.