Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
5195 Переглядів

i have googled this a lot and so far i can only see either using confirm="Confirmation message"(which displays the dialog regardless of condition) or creating a wizard to achieve this.

is there any other way?


Аватар
Відмінити
Найкраща відповідь

Here's one way to implement it. Add 2 buttons - one with the  confirm="Confirmation message" and one without it. Add an attrs="{'invisible': [...]}" condition to the buttons to conditionally make them visible so that the button with the confirm="Confirmation message" is visible only when your condition is fulfilled.

Аватар
Відмінити
Найкраща відповідь

Hi,

Check out these free apps.

https://odoo-community.org/shop/cms-status-message-781#attr=8939
https://apps.odoo.com/apps/modules/13.0/sh_message/


Hope it Helps,
Kiran K

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
січ. 19
6283
2
серп. 25
2189
1
лип. 25
742
1
серп. 25
1150
0
трав. 25
1253