← Back to team overview

openerp-india team mailing list archive

[Bug 1313384] Re: [7.0] Account Journal code blocks name search

 

This bug was actually resolved before posting in rev. 10102 as a side-
effect of another problem resolution.

** Changed in: openobject-addons
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1313384

Title:
  [7.0] Account Journal code blocks name search

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  Create two account journals: 
   - 'XYZ Bank' with code 'XYZ'
   - 'XYZ Bank USD' with code 'BNK2'

  In Journal Entries filter, type 'XY', the search box shows only the
  first journal (XYZ Bank), the second account is not shown. If you type
  'XYZ Bank', the box shows both accounts.

  Cause:

  In account.journal.name_search(), instead of searching both name and
  code (as it currently does in Trunk), the code is searched first and
  journal name is only searched if no result found. In the above
  example, code search for 'XY' returns the first account only so name
  is not searched. But, if we searched for 'XYZ Bank', code search fails
  and name search returns both journals.

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


References