Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
2741 Näkymät

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
Hylkää
Tekijä Paras vastaus

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

......

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

...

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
maalisk. 15
5378
3
elok. 22
11891
2
helmik. 19
4101
1
kesäk. 17
7513
2
kesäk. 16
6005