Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1639 Widoki

[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.


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lip 25
1186
2
mar 25
1472
0
lut 25
1116
0
lut 25
1281
0
lut 25
1231