← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Public bug reported:

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

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/838059

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

Status in OpenERP Modules (addons):
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/838059/+subscriptions


Follow ups

References