Skip to Content
Menu
This question has been flagged
1 Atsakyti
2861 Rodiniai

Hello,

I've added a new boolean field(with default False) to the sale_order and added a button to set it as True in the quotation form.

Now, I need to hide the "Confirm Sale" button, when the above boolean field is False, in the quotation form.

There are two such buttons in the form header.



How do I achieve this?

Thanks.


Portretas
Atmesti
Autorius Best Answer

<xpath expr="(/form/header/button[@name='action_confirm'])[1]"position="attributes">

......

<xpath expr="(/form/header/button[@name='action_confirm'])[2]"position="attributes">

...

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
kov. 15
5548
3
rugp. 22
12081
2
vas. 19
4309
1
birž. 17
7660
2
birž. 16
6129