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.

2

Using Ajax In OpenERP 7

By
Eddy Tan
on 7/1/13, 2:51 PM 1,968 views

I'm impressed by the way we can use jQuery inside OpenERP 7 but I want to know how to fetch data from a Python file using jQuery.

Here's the example content of the python.py's file:

print('testing')

and this is my jQuery code inside the XML :

$.get('blablabla/python.py',function(data){
    alert(data);
})

I want to alert 'testing', but I can only get print('testing').

Is the alert possible? and if so, how? please help me, will greatly appreciate it..

Still no answer yet.. :(

Eddy Tan
on 7/3/13, 5:05 AM

+1 want also to know

Andreas Maertens
on 12/3/13, 7:44 AM
-1
Eddy Tan
On 7/2/13, 12:47 PM

Still no answer yet.. :(

-1
Eddy Tan
On 7/2/13, 7:33 AM

still no answers yet .. :(

-1
Eddy Tan
On 7/1/13, 11:30 PM

desperately need your help guys :(

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: 7/1/13, 2:51 PM
Seen: 1968 times
Last updated: 3/16/15, 8:10 AM