Journal : Name_search() does not use context for predecessor search

Bug #553168 reported by Joël Grand-Guillaume @ camptocamp
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP Core Team

Bug Description

Hi,

When you have the following journal setting :

Sale journal with the following name and translation : English : sale journal, French : Journal de vente

When you browse entries into Finance -> Reporting -> Search entries -> Entry line and search on journal : 'sale', you get the good results. But using ' vente', you get nothing, and this is not correct.

We expect to have the same results. The search function should look into the translated value at least. The best option will be to look the user language (in this test case : french) to know on which label to search on.

Regards,

Related branches

Changed in openobject-server:
importance: Undecided → Medium
milestone: none → 5.0.9
assignee: nobody → OpenERP Core Team (openerp)
Changed in openobject-server:
status: New → Confirmed
summary: - Search on translable field don't seems to work
+ Journal : Name_search() does not use context for predecessor search
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Thank you for Reporting Joël,
It is not a global issue, it happened only for journal. I have checked stock moves too.
It has been fixed by revision 2686 <email address hidden>.
Let me know whereelse do we get the problems?
Thanks again.

affects: openobject-server → openobject-addons
Changed in openobject-addons:
milestone: 5.0.9 → none
status: Confirmed → Fix Released
milestone: none → 5.0.8
Revision history for this message
Joël Grand-Guillaume @ camptocamp (jgrandguillaume-c2c) wrote :

Ji Jay,

Thanks for fixing ! I didn't notice another place in fact ! So, you patch seems to be perfect.

Regards

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Thank you for the response Joël,

Your feedback is always appreciable.

Keep posting.

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.