Odoo Help


menu item odoo

on 10/4/16, 7:09 AM 266 views

hi ,

i add new menu item in my module but i get error , i dont know how to solve it

this is my code xml :

<record id="action_sequences" model="ir.actions.act_window">           

<field name="name">Gestion des Sequences</field>           

<field name="res_model">ir.sequence</field>           

<field name="view_type">form</field>    

        <field name="view_mode">tree,form</field>      

      <field name="domain">[('code','in',['FE','RF' 'OI', 'OP', 'OR', 'OD'])]</field>   

        <menuitem id="menu_sequences" parent="menu_configuration" name="Sequences" action="action_sequences" sequence="60" />

the Error that i get  :

Odoo Erreur (côté interface)
Error: Expected "]", got "(string)"

On 10/4/16, 7:46 AM

[ ( 'code','in', ['FE','RF' 'OI', 'OP', 'OR', 'OD'] ) ]

                                    ^ missed comma?

thanks it's working now

on 10/4/16, 8:30 AM

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 platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 10/4/16, 7:09 AM
Seen: 266 times
Last updated: 10/4/16, 8:30 AM