Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Why openerp javascript tutorial fail ?

By
justeUnPseudo
on 6/21/13, 1:36 PM 977 views

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 6/21/13, 1:36 PM
Seen: 977 times
Last updated: 3/16/15, 8:10 AM