콘텐츠로 건너뛰기
메뉴
신고된 질문입니다
1 회신
2729 화면

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