From 1413af2e652c93c72fa87d7fa088c528f9751afd Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Mon, 8 Feb 2010 17:01:50 +0530 Subject: [PATCH] [IMP]:survey -improved the note in the survey form report. -improved the demo data of communit survey. bzr revid: apa@tinyerp.com-20100208113150-4oqukenloo7uyra5 --- addons/survey/report/survey_form.py | 7 +++++++ addons/survey/survey_demo.xml | 11 +---------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/addons/survey/report/survey_form.py b/addons/survey/report/survey_form.py index 84d6de286fb..c273b7726de 100644 --- a/addons/survey/report/survey_form.py +++ b/addons/survey/report/survey_form.py @@ -144,6 +144,13 @@ class survey_form(report_rml): """ + to_xml(tools.ustr(survey.title)) + """ """ + + if survey.note: + rml += """ + + + """ + to_xml(tools.ustr(survey.note)) + """ + """ seq = 0 for page in survey.page_ids: seq+=1 diff --git a/addons/survey/survey_demo.xml b/addons/survey/survey_demo.xml index 38784e23ce5..a65abbc9e96 100644 --- a/addons/survey/survey_demo.xml +++ b/addons/survey/survey_demo.xml @@ -2137,6 +2137,7 @@ Community Survey + Please take a few minutes to complete this survey on the quality of service we provide. We welcome your feedback and appreciate your honesty. With your help, we hope to strengthen the bond between our clients. draft @@ -2146,7 +2147,6 @@ - Please take a few minutes to complete this survey on the quality of service we provide. We welcome your feedback and appreciate your honesty. With your help, we hope to strengthen the bond between our clients. Service Characteristics @@ -2805,13 +2805,4 @@ - - - - - - - - - \ No newline at end of file