Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2848 Представления

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">

...

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
мар. 15
5544
3
авг. 22
12073
2
февр. 19
4305
1
июн. 17
7643
2
июн. 16
6129