c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #15314
[Bug 714723] Re: xml-rpc search of code field in product.product returns everything
** Project changed: openobject-addons => openobject-server
--
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:
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]
References