← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

** Attachment added: "product_form_with_code_as_AT.png"
   https://bugs.launchpad.net/openobject-server/+bug/714723/+attachment/1837679/+files/product_form_with_code_as_AT.png

** Changed in: openobject-server
       Status: New => Invalid

-- 
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 Server:
  Invalid

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]





References