diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-10-01 10:44:38 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-10-01 10:44:38 +0200 |
| commit | e980af9df00ec25cbfbb07a37bc4dfe2088ed566 (patch) | |
| tree | ec21b90ecfeeec83170aef2f590792a8d572ed24 /addons/document/static/src | |
| parent | cbff00a5d2cf7137e903853cffc9aab15dd72016 (diff) | |
| parent | a9a556178d5fb4cb3fc657c4ffc455c521f1396c (diff) | |
[MERGE] forward port branch 11.0 up to a9a556178d5
Diffstat (limited to 'addons/document/static/src')
| -rw-r--r-- | addons/document/static/src/js/document.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/document/static/src/js/document.js b/addons/document/static/src/js/document.js index 5c33a3f3cff..b8437d70417 100644 --- a/addons/document/static/src/js/document.js +++ b/addons/document/static/src/js/document.js @@ -50,6 +50,7 @@ Sidebar.include({ * @override */ updateEnv: function (env) { + this.env = env; var _super = _.bind(this._super, this, env); var def = this.hasAttachments ? this._updateAttachments() : $.when(); def.then(_super); |
