コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
2728 ビュー

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.


アバター
破棄
著作者 最善の回答

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

......

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

...

アバター
破棄
関連投稿 返信 ビュー 活動
1
3月 15
5375
3
8月 22
11884
2
2月 19
4098
1
6月 17
7509
2
6月 16
6002