← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 714723] [NEW] xml-rpc search of code field in product.product returns everything

 

Public bug reported:

Over xml-rpc, when I perform a search for an item with a specific code,
I get all items returned in my list.

For example:
>>> args = [('code', '=', 'thisisnotavalidcode'),]
>>> data = sock.execute(dbname, uid, pwd, 'product.product', 'search', args) #no error, processes properly
>>> data
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30]

** 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/714723

Title:
  xml-rpc search of code field in product.product returns everything

Status in OpenERP Modules (addons):
  New

Bug description:
  Over xml-rpc, when I perform a search for an item with a specific
  code, I get all items returned in my list.

  For example:
  >>> args = [('code', '=', 'thisisnotavalidcode'),]
  >>> data = sock.execute(dbname, uid, pwd, 'product.product', 'search', args) #no error, processes properly
  >>> data
  [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30]





Follow ups

References