c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #06222
[Bug 683558] [NEW] XML-RPC search doesn't work for functional fields
Public bug reported:
I would expect an XML-RPC call an a functional field would work exactly
as on a non-functional field. However, it appears that it is simply
ignored in a search, not restricting things at all. I appreciate that
this is tricky to do on a code level, but it would make the XML-RPC
interface more usable and consistent.
To clarify, I'd like the following XML-RPC call to restrict the ids
returned to only those which have qty_available > 0:
sock.execute(db, uid, passwd, 'product.product', 'search',
[('qty_available','>',0.0)])
Whereas at present it appears to simply return all ids regardless of
their computed qty_available value.
This is with the latest bzr checkout (2156) of
http://bazaar.launchpad.net/~openerp/openobject-server/5.0/
** Affects: openobject-server
Importance: Undecided
Status: New
--
XML-RPC search doesn't work for functional fields
https://bugs.launchpad.net/bugs/683558
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Server: New
Bug description:
I would expect an XML-RPC call an a functional field would work exactly as on a non-functional field. However, it appears that it is simply ignored in a search, not restricting things at all. I appreciate that this is tricky to do on a code level, but it would make the XML-RPC interface more usable and consistent.
To clarify, I'd like the following XML-RPC call to restrict the ids returned to only those which have qty_available > 0:
sock.execute(db, uid, passwd, 'product.product', 'search', [('qty_available','>',0.0)])
Whereas at present it appears to simply return all ids regardless of their computed qty_available value.
This is with the latest bzr checkout (2156) of http://bazaar.launchpad.net/~openerp/openobject-server/5.0/
Follow ups
References