تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
4294 أدوات العرض

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
يوليو 23
7517
2
يونيو 21
6028
0
يناير 21
2478
0
يناير 20
3665
2
مارس 15
17505