Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I'm trying to implement a module in OpenERP to integrate with a separate service. This means that rather than using the PostgreSQL database, I want any requests for these models to be implemented as API calls.
I would like to make use of the web client's features, so tree and form views, and ideally also keep relations between various models intact, while having them backed by a separate service.
So if the client asks for a list of these models, this should result in an API call to the external service asking for a list, and returning a response.
So far, the only way I've been able to think of is to inherit a
TransientModel and overriding all the
read() etc calls, but this seems like a suboptimal solution, because I also have to translate things like operators into a limited API.
Am I looking at this wrongly? Is there something I missed?
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
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 1/24/14, 7:53 AM|
|Seen: 623 times|
|Last updated: 3/16/15, 8:10 AM|