You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce:
add a button on a tree view with a confirm attribute i.e.
<button type="object" confirm="Are you sure ?" string="Do something" name="button_do_something"/>
Current behavior:
The method is executed immediatly without asking confirmation
Expected behavior:
A confirmation box should appear befor executing the method like when the confirm attribute is used ina form view
The text was updated successfully, but these errors were encountered:
I checked the issue you have reported. In Odoo, Button's confirm attribute is only supported by form view and not any other views. As you are adding it in tree view it will not work.
Impacted versions:
V14 at least
Steps to reproduce:
add a button on a tree view with a confirm attribute i.e.
<button type="object" confirm="Are you sure ?" string="Do something" name="button_do_something"/>
Current behavior:
The method is executed immediatly without asking confirmation
Expected behavior:
A confirmation box should appear befor executing the method like when the confirm attribute is used ina form view
The text was updated successfully, but these errors were encountered: