跳至內容
選單
此問題已被標幟
1 回覆
4250 瀏覽次數

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

頭像
捨棄
最佳答案

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

相關帖文 回覆 瀏覽次數 活動
2
9月 23
7546
2
3月 23
46600
2
12月 23
57559
0
3月 22
2268
3
6月 20
10525