Odoo Help

Welcome!

This community 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.

0

to user Http.py class or not?

By
eoin ahern
on 3/15/14, 6:41 AM 687 views

Hello, I need help with this one. Iam attempting to make a openerp module and I want to design it the best possible way obviously. I have desinged a regular class to do my calls to the web and have another entity class for the table but i dont think iam approaching this the correct way. I want to stay within the framework and use a controller that uses http.py to make a GET request and return json but iam not to sure how this class works. for now i have just a regular class making my web calls can anyone explain the http.py module to me in a bit more detail here? especially making a json get request. cheers!

1
kalmenchia
On 3/15/14, 11:14 PM

Hi ,

That depends on

  1. You are writing your own clients / web client using other framework
  2. You want to stick to openERP own framework.

for option 1 , it is beyond the scope as my answer will based on option 2 , assuming you want to write based on openERP's framework ,

  1. goto https://doc.openerp.com/7.0/ for all the details , now it is updating
  2. technical memo (best summary of how to develop module)

Hope this help u to get started , welcome to the openERP community!

cheers for the advice. yes i would like to stick to the framework. its relatively hard to understand though. i think the documentation sucks tbh.

eoin ahern
on 3/16/14, 1:37 AM

Your Answer

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 3/15/14, 6:41 AM
Seen: 687 times
Last updated: 3/16/15, 8:10 AM