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

I'm trying to use the next code and this error appears.

<record id="menu_economic_data" model="website.menu">
    <field name="name">Economic data</field>
    <field name="url">/economic_data</field>
    <field name="parent_id" ref="website.main_menu"/>
    <field name="sequence" type="int">60</field>
</record>

This is the error:

odoo.tools.convert.ParseError: "website.menu" while parsing /home/avanzosc/workspace/desarrollosv11/portal_partner_characterization_gaia/views/economic_data_portal_menu.xml
Anyone knows what's happening?




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

check module dependency into the manifest file.

أفضل إجابة

check module dependency on the __manifest__.py file
you should add 'web_timeline' on it

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
ديسمبر 19
6695
3
مايو 18
5207
0
سبتمبر 24
1234
0
أبريل 24
1999
3
أغسطس 24
6191