[6.0] Regression in timesheets: wrong behavior when entering partial name for analytic account

Bug #838059 reported by Yannick Vaucher @ Camptocamp
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
Fix Released
Low
OpenERP Publisher's Warranty Team

Bug Description

Hello,

In timesheet form, lastly the behavior changed, when entering a partial name in analytic account, it opens the full list of all analytic accounts instead of doing a filtering on the key word entered.

It seems that the name_search method of account_analytic_account in analytic module, is doing the right job. As it replies the right list of ids. However, there might be some missing filter in the client request after having received the server name_search answers.

The domain in this search request is [('type', '=', 'normal'), ('state', '<>', 'close')] should certainly contains the list of ids returned by the name_search.

Nevertheless, a wrong key word or a unique key word works correctly. It is only with multiple results that there is an issue.

Best Regards,
Yannick

Tags: maintenance

Related branches

Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :
Changed in openobject-addons:
status: New → Confirmed
importance: Undecided → Low
milestone: none → 6.0.4
Changed in openobject-addons:
status: Confirmed → Fix Committed
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

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

Thanks.

affects: openobject-addons → openobject-client
Changed in openobject-client:
milestone: 6.0.4 → none
milestone: none → 6.0.4
status: Fix Committed → Fix Released
Revision history for this message
Yannick Vaucher @ Camptocamp (yvaucher-c2c) wrote :

Hello,

Thanks for the fix.
It works fine when doing the TAB key.
However, when doing F2 key shortcut it isn't fixed.

The same behavior is still happening for F2:

unique key word or id -> it replaces the field by the right entry
partial key word -> full list
wrong keyword -> empty list

Thanks,
Yannick

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.