[FIX] web: reload after wizard when record has been removed cause exception
authorAnaël Closson <acl@odoo.com>
Wed, 28 May 2014 14:01:47 +0000 (16:01 +0200)
committerMartin Trigaux <mat@openerp.com>
Tue, 22 Jul 2014 11:18:00 +0000 (13:18 +0200)
commit680f9554b449e1b0fb95aa4149e7a2612438a250
tree1bfd52df8c8ae97b37c009de22d38077e34d3ffa
parent8320f01fefa498d1c9f50d111a37b506e238ccdc
[FIX] web: reload after wizard when record has been removed cause exception

If an action unlink the current records (e.g. unreconcile on account.move.reconcile), trigger history_back to avoid errors when trying to reload inexistant record (opw 607883)
This is a partial backport of saas-4 code (rev c0db6ae, 162ad1c) and should not be forward ported.
addons/web/static/src/js/chrome.js
addons/web/static/src/js/view_form.js
addons/web/static/src/js/view_list.js
addons/web/static/src/js/views.js