From 45b448af99bb62d2a088a129fd6581d8634b63a6 Mon Sep 17 00:00:00 2001 From: Dharmraj Jhala Date: Fri, 12 Feb 2021 05:34:31 +0000 Subject: [PATCH] [IMP] survey: display certification number based on ID This commit displays dynamic certification number based on the ID of certification record for both modern and classic layouts. It consists in minimum 10 digits. It means that if the ID of the record is 5 it is displayed as 0000000005. Task ID-2341847 COM PR odoo/odoo#66028 --- addons/survey/views/survey_report_templates.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/addons/survey/views/survey_report_templates.xml b/addons/survey/views/survey_report_templates.xml index 1db6273962c..612a197ae13 100644 --- a/addons/survey/views/survey_report_templates.xml +++ b/addons/survey/views/survey_report_templates.xml @@ -36,7 +36,9 @@ -
Certification n°1234567890
+
+ Certification n° +
@@ -77,7 +79,9 @@
-
Certification n°1234567890
+
+ Certification n° +