Skip to Content
Menú
This question has been flagged
1 Respondre
2776 Vistes

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.


Avatar
Descartar
Autor Best Answer

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

......

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

...

Avatar
Descartar
Related Posts Respostes Vistes Activitat
1
de març 15
5428
3
d’ag. 22
11958
2
de febr. 19
4170
1
de juny 17
7565
2
de juny 16
6027