跳至内容
菜单
此问题已终结

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

形象
丢弃
相关帖文 回复 查看 活动
1
7月 23
7519
2
6月 21
6032
0
1月 21
2482
0
1月 20
3665
2
3月 15
17519