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

I try to do the tutorial: doc.openerp.com/trunk/web/module/

I test the same code:

<!-- web_example/web_example.xml -->
<openerp>
    <data>
        <record model="ir.actions.client" id="action_client_example">
            <field name="name">Example Client Action</field>
            <field name="tag">example.action</field>
        </record>
        <menuitem action="action_client_example"
                  id="menu_client_example" name ="webexample"/>
    </data>
</openerp>

And i get this error:

  File "/opt/openerp/src/server/openerp/tools/convert.py", line 632, in _tag_menuitem
    "Verify that this is a window action or add a type argument." % (a_action,)
AssertionError: No window action defined for this id action_client_example !

i found other people with the same problem:

foro.openerp.org.ar/index.php?t=msg&th=402&rid=0

but no answers :(

形象
丢弃
相关帖文 回复 查看 活动
6
9月 17
7892
1
3月 15
5896
2
3月 15
9715
1
3月 15
4206
1
3月 24
5152