← Back to team overview

openerp-india team mailing list archive

[Bug 1053389] Re: Product search error

 

Hello,

After searching and debugging, I found from where the error come:

In addons/product/product.py, in the method name_search (line 600), the
variable limit is empty (not 0, but NoneType). I don't know why.

I tryed to add the following lines on top of the method:
        if not limit:
            limit = 100

It's not the best solution (we should see why limit is NoneType), but it
works.

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

Title:
  Product search error

Status in OpenERP Addons (modules):
  New

Bug description:
  Hello,

  I constated the following bug in OpenERP 6.1-20120821-233337 (a
  nightly build).

  When you search an object by the name of a product that is linked to,
  it does not work.

  For example, if you search the production lots linked to a product
  named "server", you won't find anything.

  Thanks.

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


References