I just introduced a new problem now, the problem is as follows. I have a view (tree), which has the following columns:
department name description
I want is to filter the tree I agree to the department that I am logged in as user.
For example if I am logged in as user1, which belongs to the logistics department, I need to filter by department logistics.
What I did through a search, you agrege one domain (domain = logistics), which works but I need to be dynamic as I need to be agree to meet me logged department at that time.