From 5cc89616961213f6eb7a9f97ed88fcd17ff2ffbb Mon Sep 17 00:00:00 2001 From: Patrick Hoste Date: Wed, 28 Sep 2022 13:08:31 +0000 Subject: [PATCH] [IMP] web: add inputName prop to FileUploader Currently since the input has no name we can't retrieve the file when using FormData instance. This commit allows the developer to pass an input name when instanciating a FileUploader component. Task-2855647 X-original-commit: 33bc32c52bef4787ae2e529f05837c2f7dbddc7f Part-of: odoo/odoo#102314 --- addons/web/static/src/views/fields/file_handler.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/web/static/src/views/fields/file_handler.xml b/addons/web/static/src/views/fields/file_handler.xml index 24686bf6a3f..6cf817bc9ed 100644 --- a/addons/web/static/src/views/fields/file_handler.xml +++ b/addons/web/static/src/views/fields/file_handler.xml @@ -9,6 +9,7 @@