Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4278 มุมมอง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ก.ย. 23
7601
2
มี.ค. 23
46641
2
ธ.ค. 23
57606
0
มี.ค. 22
2304
3
มิ.ย. 20
10590