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

Hi,

I am trying to add new menu item under sales menu and i want it to appear after sales order. however, i am stuck with external id not found error. following is odoo-server file content. i had created module named "custom" and put inside odoo10-server/addons folder.

addons_path = /usr/lib/python2.7/dist-packages/odoo/addons
[options]logfile = /var/log/odoo10/odoo10-server.log
addons_path=/odoo10/odoo10-server/addons,/odoo10/custom/addons
xmlrpc_port = 8010
ParseError: "External ID not found in the system: base.menu_sales" while parsing /odoo10/odoo10-server/addons/custom/views/custom_view.xml:7, near
<menuitem id="menu_sub_sales_menu_item" name="Menuitem" parent="base.menu_sales"/>
الصورة الرمزية
إهمال
أفضل إجابة

the menu_sales actual name is sales_team.menu_sales

<menuitem id="sales_team.menu_sales" name="Sales" parent="sales_team.menu_base_partner" sequence="5"/>
الصورة الرمزية
إهمال
الكاتب أفضل إجابة

 how do i get list of all parent menu ids? sales/crm/hr and sub menus....etc.

الصورة الرمزية
إهمال

Hello Qamar,

You can get all menus with their sub menus from technical menu as below:

From Settings click on activate the developer mode and then the technical menu will be shown and from user interface click on "menu Items" .. Here you will find all menus in the system and you can export them to excel with their parent id and other details

المنشورات ذات الصلة الردود أدوات العرض النشاط
8
يونيو 22
17597
1
يونيو 19
9278
1
يوليو 18
4545
2
مايو 17
3832
2
يوليو 25
4573