summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorSuraj Shukla <suh@odoo.com>2019-02-26 09:23:42 +0000
committerAaron Bohy <aab@odoo.com>2019-03-12 09:11:06 +0000
commit587e90fe18900037055fde2086597f6957e30a22 (patch)
tree33afdf82697bdf10d4df76b5558c3fa94a6de110 /addons/web/static/src/js/views/basic/basic_model.js
parent173401100f7d120bdc001a51c5879d4f8f2179be (diff)
[FIX] web: reload form after failing save
Let's assume a form view with a clickable statusbar, in readonly. When the user clicks on a status, the change is saved directly. When the save fails (e.g. access rights), the statusbar widget is in an inconsistent state and must be reloaded. This rev. reloads the whole record and re-render the form when this happens. Related to Issue: #1915391 closes #29519 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com> Co-authored-by: Mohammed Shekha <msh@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions