Odoo Help


How to write not in group ?

Benjamin Bachmann
on 5/27/15, 5:16 AM 963 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..."/>

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: 963 times
Last updated: 5/24/17, 7:19 PM