← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 726415] Re: [trunk] Problem with name_search method of product_product

 

Quentin, the error was introduced by mistake in 6.0 after revising the
name_search function to support also complex patterns in the form
"[CODE] NAME", where CODE is extracted to get a correct match.

Your fix has landed in trunk and 6.0 (credited to you):
- 6.0: 4433 odo@xxxxxxxxxxx-20110228102843-j85u4gmknxsni66y
- trunk: 4462 odo@xxxxxxxxxxx-20110228104936-7o281husy5j1hz8l

Thanks for the bug report and excellent merge proposal!

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

-- 
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/726415

Title:
  [trunk] Problem with name_search method of product_product

Status in OpenERP Modules (addons):
  Fix Released

Bug description:
  On trunk, when I search product for the main product of the BoM, if I
  click on the magnifying glass without search string, all product
  appears, but if I enter a search string, all matching products doesn't
  appear.

  to reproduce it :

  New database with 'Manufacturing' and 'Repairs' applications.
  Create 5 new stockable products : A, B, C, D and E
  Create a new BoM. 
  To search the main product of the BoM, click on the magnifying glass without string : there are 51 products found. Don't choose a product. Close the search view. Re-click on the magnifying glass by searching 'A' string. Only 9 products appear, but the new 'A' product doesn't appear in the list.

  Same thing with the BoM components.



References