Odoo Help


can anyone point me in the right direction for making a get request in openerp

eoin ahern
on 3/17/14, 1:16 PM 1,105 views

I was wondering can anyone help me out. I need to make a get request in open erp to retrieve JSON data. i was trying to use a regular class with urllib2 and the json import but this obviously isnt sticking with the rules of the framework. If I have to use http.py how do I use it? should I import it or Extend the http.py class. I tried to import using the following import command but I was getting an error

from openerp.web import http

honestly this frameowrk is doing my head in at this stage.


Med Said BARA

--Med Said BARA--

| 5 5 7
--Med Said BARA--
Med Said BARA
On 3/17/14, 2:28 PM


missing addons

from openerp.addons.web import http

Due to lack of developer documentation (for OpenERP), what I can advise you is to read the code in existing modules, and get inspired by existing examples.

There are thousands of modules and examples (for V7.0) on the web.

If you want, and if that can help you, i can post some links.

thanks Med! yeah obviously reading the code would be a good idea. it would be so much easier if there was some decent tutorials out there, or better documentation.

eoin ahern
on 3/17/14, 8:43 PM

some links would also help thanks!

eoin ahern
on 3/17/14, 8:44 PM

iam still getting this error

eoin ahern
on 3/17/14, 8:56 PM

Traceback (most recent call last): File "C:/OpenERP 7.0-20140221-003045/Server/server/openerp/addons/Absyla_Plugin/WebCall.py", line 1, in <module> from openerp.addons.web import http File "C:\OpenERP 7.0-20140221-003045\Server\server\openerp__init__.py", line 39, in <module> import addons File "C:\OpenERP 7.0-20140221-003045\Server\server\openerp\addons__init__.py", line 38, in <module> from openerp.modules import get_module_resource, get_module_path File "C:\OpenERP 7.0-20140221-003045\Server\server\openerp\modules__init__.py", line 27, in <module> from . import db

eoin ahern
on 3/17/14, 8:58 PM

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 3/17/14, 1:16 PM
Seen: 1105 times
Last updated: 3/16/15, 8:10 AM