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

Hello everyone again,

I have another request for help here, if you guys can lend a hand....
Basically I have a button that connects between two views 'Receipts' and 'Subcontrating Delivery', what I want, and I have not yet figured out how, is that when I am inside the 'Receipts' view the name that appears on the button is for example "OUTsub" and when I am in the 'Subcontrating Delivery' view it appears "IN", just an example...
How do I create this condition in the xml, can anyone give me a hand? 
This is my XML with the necessary settings
Thanks



Awatar
Odrzuć
Autor

Thank you very much for your help! :)

Najlepsza odpowiedź

Hi

Try the code below,

<button name='<action_name' string="OUTsub" attrs="{'invisible':<condition>}"/>


<button name='<action_name' string="IN" attrs="{'invisible':<condition>}"/>

Hope it helps

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lip 23
2360
1
cze 23
1636
1
cze 23
2905
2
sie 23
2042
1
cze 23
2231