This question has been flagged

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 :(

Avatar
Discard