Hi, I need your help.
I want to make the confirm button invisible. (v13)
https://prnt.sc/un4jqw
object: purchase order
user_id -> id=1=user1, id=2=user2
P0001 -> user_id=user1
P0002 -> user_id=user2
Login user=user1
P0001 -> user_id=user.id -> BUTTON -> confirm_order -> invisible=1
P0002 -> user_id != user.id -> BUTTON -> confirm_order -> invisible=0
<xpath
expr="//form[1]/header[1]/button[@name='button_confirm'][2]"
position="attributes">
<attribute name="attrs">{"invisible": [["user_id","=","user.id"]]}</attribute>
</xpath>
Thank you.
Best regards.
Tugay HATIL