From fc82e1e40abd8092e6a044dc4e78432beffb5149 Mon Sep 17 00:00:00 2001 From: Martin Geubelle Date: Fri, 19 May 2017 17:25:59 +0200 Subject: [FIX] mrp: correctly replace inputs in pdf_viewer widget In the extended template `HiddenInputFile` there are actually two inputs (one for image only and another one). This widget needs to replace both of them otherwise the file selector will be opened twice. --- addons/mrp/static/src/xml/mrp.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'addons/mrp/static/src') diff --git a/addons/mrp/static/src/xml/mrp.xml b/addons/mrp/static/src/xml/mrp.xml index 54b1bb6fc9b..5a1c9353084 100644 --- a/addons/mrp/static/src/xml/mrp.xml +++ b/addons/mrp/static/src/xml/mrp.xml @@ -16,8 +16,10 @@ - - + + + + -- cgit v1.2.3