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

a couple of openerp questions on Entity classes and Get requests

By
eoin ahern
on 3/10/14, 5:57 PM 879 views

Iam building a project in openerp and have found it relatively difficult to get started with it. I have created a very simple module already but now iam trying to expand a bit.

my first question Is. Can I use a regualr class inside in openerp to do something e.g make a call to this class from a view element for example?

next I want to make a GET request. An I want to populate my database with the result. Should I use the http.py for this or can I make my own class to do this work

lastly how would I call a method in a class on Loading / startup of a module? not really to sure how to do this yet.

any help is appreciated. glad i found the developer book last night also

0

Med Said BARA

--Med Said BARA--
2664
| 5 5 7
Algeria
--Med Said BARA--
Med Said BARA
On 3/11/14, 5:56 PM

Hi;

I think yes, cause the Openobject framework is there for that reason. You can use inheritance, overriding .....

For your last question, you can use the __init__.py file for that.

Best regards.

thanks man

eoin ahern
on 3/11/14, 6:33 PM

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/10/14, 5:57 PM
Seen: 879 times
Last updated: 3/16/15, 8:10 AM