I would like to use python and also have a object which is immutable but allows building new instances with filter , filter, limit and all functions just like Django QuerySets
The XMLRPC or JsonRPC interface is further (lightly) documented in the Technical Memento (some of the info there might be outdated) : https://www.odoo.com/files/memento/
Also note that the openerp.web.* functions are a client side overlay for the xml/json rpc interface but should allow access to all methods defined on any model.
The Odoo ORM does not work the same as Django QuerySets, this might change with the new API coming Soon(tm), instead it relies on you passing the ids of the records along with any method you want to execute.
You might find the ErpPeek library/toolkit useful: https://erppeek.readthedocs.org/
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 10/25/13, 11:11 AM|
|Seen: 622 times|
|Last updated: 3/16/15, 8:10 AM|