Odoo Help


How to write not in group ?

Benjamin Bachmann
on 5/27/15, 5:16 AM 563 views


I want to have 2 different input fields, dependent if a user is in a group or not. The one if a user is in the group works but the on if the user is not not. I also tried <t groups="not myaddon.group_tag">

<t groups="myaddon.group_tag">
    <field name="category_id"
<t groups="! myaddon.group_tag">
    <field name="category_id"
           options="{'no_create': True}"
           placeholder="Tags not..."/>

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: 5/27/15, 5:16 AM
Seen: 563 times
Last updated: 6/23/15, 9:48 AM