"confirm" attribute on buttons does not work in tree view

Bug #903209 reported by Francois Degrave
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

Hi!

If a "confirm" attribute is added to a button displayed in a tree view, it has no effect (no confirmation pop-up).

Cheers!

Related branches

Revision history for this message
Xavier (Open ERP) (xmo-deactivatedaccount) wrote :

Fixed in trunk as of revision <email address hidden>

Changed in openerp-web:
status: New → Fix Released
Revision history for this message
Francois Degrave (fde-be) wrote :

No, still not working. As an example, I added a "confirm" attribute on the "invoice_open" button in the o2m tree view of invoices on the purchase order. Please compare the videos in attachment (one with client 6.0, one with 6.1).

Revision history for this message
Francois Degrave (fde-be) wrote :
Changed in openerp-web:
status: Fix Released → New
Revision history for this message
Xavier (Open ERP) (xmo-deactivatedaccount) wrote :

Can't reproduce, the scenario works correctly after modifying account.invoice.tree to add an @confirm on the button.

Changed in openerp-web:
status: New → Incomplete
Revision history for this message
Francois Degrave (fde-be) wrote :

Indeed, it works. Sorry I forgot to empty the cache.

Changed in openerp-web:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.