diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2015-11-16 11:23:42 +0100 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2015-11-16 12:17:03 +0100 |
| commit | 3510ff39217cb8d73eeadbea91d0114aba03df20 (patch) | |
| tree | c9e85fcf429f7f6f3aad3fdad204e8e74354f380 /addons/web/static | |
| parent | e1727c98fe00b2ee02a4ebf1bcca6c43a426530e (diff) | |
[FIX] web: update form view image after reload
6baf611d updated the image when showing the view form the first time,
but when reloading (e.g after a write) there was a difference which
would not cause the update.
second half of:
opw-654279
(follow-up of a8ae944)
Diffstat (limited to 'addons/web/static')
| -rw-r--r-- | addons/web/static/src/js/views/form_view.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/static/src/js/views/form_view.js b/addons/web/static/src/js/views/form_view.js index 9ef60610783..92d2fcc41a6 100644 --- a/addons/web/static/src/js/views/form_view.js +++ b/addons/web/static/src/js/views/form_view.js @@ -1010,6 +1010,7 @@ var FormView = View.extend(common.FieldManagerMixin, { } else { var fields = _.keys(self.fields_view.fields); fields.push('display_name'); + fields.push('__last_update'); return self.dataset.read_index(fields, { context: { 'bin_size': true }, |
