From af36063de3e08715504fd33183f8443e5ace4a92 Mon Sep 17 00:00:00 2001 From: Goffin Simon Date: Mon, 2 Jul 2018 15:39:09 +0200 Subject: [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 --- addons/web/static/src/js/fields/relational_fields.js | 1 + 1 file changed, 1 insertion(+) (limited to 'addons/web/static/src/js/fields/relational_fields.js') 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 -- cgit v1.2.3