Ir al contenido
Menú
Se marcó esta pregunta
3917 Vistas

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
6
sept 17
7763
1
mar 15
5791
2
mar 15
9634
1
mar 15
4112
1
mar 24
5013