ae9d57bc1e
When clicking on save several time when editing a view form it can be
saved several times which can be an issue for one to many.
The normal happenstance when saving should be as follow:
-> save (click)
-> wait write result
-> received write result
-> reload the form with updated data and updates buttons
But when clicking several time, it could become:
-> save (click)
-> wait write result
-> received write result
-> save (click)
-> wait write result
-> received write result
-> reload the form with updated data and updates buttons
This commit only reinstate the saving feature once the form is reloaded.
related to opw-671793
backport of 8.0's
|
||
---|---|---|
.. | ||
cli | ||
controllers | ||
doc | ||
i18n | ||
static | ||
tests | ||
__init__.py | ||
__openerp__.py | ||
http.py | ||
session.py |