跳至内容
菜单
此问题已终结
1 回复
1795 查看

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



形象
丢弃
编写者

Thank you very much for your help! :)

最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
1
7月 23
2463
1
6月 23
1762
1
6月 23
3015
2
8月 23
2069
1
6月 23
2295