跳至内容
菜单
此问题已终结
1 回复
3897 查看

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
12月 19
6689
3
5月 18
5201
0
9月 24
1218
0
4月 24
1996
3
8月 24
6176