Skip to Content
Menú
This question has been flagged
1622 Vistes

[Sorry if this topic are duplicated, I land in a 404 page after post]

Hey, I'm in Odoo Studio and I try to make a button accessible (visible/not) depending on a selection field.

I tried multiple things, because I read somewhere that we can't use current user data in attrs. So I try with the domaine, but it didn't work (maybe it's not for this use case ?).

Then I tought about T tags and filled it with the current user and made my if-else condition like so:

(url) i.gyazo.com/e159f906ac9977ec9c96ecd5cbae2628.png

In the selection tag I got multiple value where 'HH' and 'LY' are mentionned, but it's appear that the T tags are not taking in count. Why so ? Even when I put the t-if directly in the ATTRIBUTE tag.

I can't use groups to make the job because I need to do some specific instructions, this section will help me so. But seems to not working.


Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de jul. 25
1076
2
de març 25
1367
0
de febr. 25
1064
0
de febr. 25
1211
0
de febr. 25
1190