Odoo Help


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.


How to write not in group ?

Benjamin Bachmann
on 5/27/15, 5:16 AM 498 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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 5/27/15, 5:16 AM
Seen: 498 times
Last updated: 6/23/15, 9:48 AM