diff options
| author | Goffin Simon <sig@odoo.com> | 2018-07-02 15:39:09 +0200 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2018-07-03 09:46:42 +0200 |
| commit | af36063de3e08715504fd33183f8443e5ace4a92 (patch) | |
| tree | e948bd2db74fdd28dfdf3c989d3e75ab96ac2444 /addons/web/static/src/js/fields/relational_fields.js | |
| parent | 055a8828c4243eabf4b6d9f8d9e6cda4863eaa1c (diff) | |
[FIX] web: Email attachment issue
Steps to reproduce the bug:
- Go on a SO and click on "Send by email"
- Remove the attachment and click on "Add an attachment"
- Choose an attachment A and remove it by clicking on the cross
- Click on "Add an attachment" and choose the attachment A
Bug:
The attachment didn't appear in the modal.
opw:1862482
Diffstat (limited to 'addons/web/static/src/js/fields/relational_fields.js')
| -rw-r--r-- | addons/web/static/src/js/fields/relational_fields.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web/static/src/js/fields/relational_fields.js b/addons/web/static/src/js/fields/relational_fields.js index 377e1b24003..3aaca13b44c 100644 --- a/addons/web/static/src/js/fields/relational_fields.js +++ b/addons/web/static/src/js/fields/relational_fields.js @@ -1563,6 +1563,7 @@ var FieldMany2ManyBinaryMultiFiles = AbstractField.extend({ this.$('form.o_form_binary_form').submit(); this.$('.oe_fileupload').hide(); + ev.target.value = ""; }, /** * @private |
