Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
2862 Visualizações

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
Cancelar
Autor Melhor resposta

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

......

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

...

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
mar. 15
5549
3
ago. 22
12082
2
fev. 19
4313
1
jun. 17
7667
2
jun. 16
6130