Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3009 Tampilan

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
Buang
Penulis Jawaban Terbai

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

......

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

...

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mar 15
5710
3
Agu 22
12263
2
Feb 19
4497
1
Jun 17
7827
2
Jun 16
6312