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

Hi, i want to create a basic odoo module which get all the res.partner data, how can i create this module?? im new with odoo

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

If you need to show all the res.partner data under a new menu item, you can create a new menu item and  create a new a new action or call existing action for it.

<menuitem id="menu_contacts"
name="contacts"
action="contacts.action_contacts"
sequence="10"/>


If you are new to development, check this: How To Create Menu And Actions In Odoo14


Thanks

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Okey thanks so much, but i want to call this module with the xmlrpc external api, for example odoo.get('res.partner', 4, (err, callback)); so how can i create a module which returns me all the ids of res.partner for example

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ค. 23
7788
Undefined Column in sale.report แก้ไขแล้ว
2
มิ.ย. 21
6289
0
ม.ค. 21
2741
0
ม.ค. 20
3859
2
มี.ค. 15
18129