From 68584351e4be49b0b0085e582271c655bdfb1585 Mon Sep 17 00:00:00 2001 From: "Laurent Stukkens (LTU)" Date: Fri, 27 Mar 2020 10:08:43 +0000 Subject: [IMP] web: Allow hide/show stroke in signature In the sign application, it appeared that when using the default signature in a signature SignItem that was higher the stroke at the bottom was doubbled. This was caused by the fact that the bottom stroke is always added to the template and that the default signature image had it already. In order to solve this, we have added a setting 'show-stroke' that allows controlling the stroke presence in the signature. Task Id 2216067 Closes #48529 Related odoo/enterprise#9538 Signed-off-by: Yannick Tivisse (yti) --- addons/web/static/src/xml/name_and_signature.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'addons/web/static/src/xml') diff --git a/addons/web/static/src/xml/name_and_signature.xml b/addons/web/static/src/xml/name_and_signature.xml index ff891e04a39..aecffdfa295 100644 --- a/addons/web/static/src/xml/name_and_signature.xml +++ b/addons/web/static/src/xml/name_and_signature.xml @@ -49,7 +49,7 @@ border, but we remove the padding from the body, so the canvas will overflow on the corners without this rule. --> -
+
@@ -83,7 +83,9 @@
-
+
+ +