I'm using Odoo version 12.0
I just want to display the specific product category assigned for a group.
For this, I have also created the Allowed Groups field in product category form.
Here are my models.py :
my views.xml :
As in attribute if I mention any static value like 3 it gives me the only category assigned for the user(Administrator), but since I want it dynamic as the user which is logged in.
I looked up almost everywhere but nothing seems to work.
Can anyone help me out?
Hope this odoo customization tips will help you: http://learnopenerp.blogspot.com
Hi Sehrish, that link didn't help me.