diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2019-06-03 13:52:04 +0000 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2019-06-03 13:54:45 +0000 |
| commit | 7c900568c5fdf4dece09055c2b9f26ecd1214c72 (patch) | |
| tree | 012ffea9c4e2fd7e7c8c61a5f73415c0eee7f64e /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 8a0e819d0bb0e4184ed64559b7be91605d044e19 (diff) | |
[FIX] web_editor: modal open>save document keep it
When we add a document with the "Select a Media" modal, if we reopen the
modal then click on "Save" without modfiying anything, the element is
broken since we do not have the data saying it is a document and the
code try to display it as image.
With this changeset, we keep the information that the attachment is a
document and when saving it works as expected.
opw-2004064
closes #33844
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
