diff --git a/addons/survey/report/survey_analysis_report.py b/addons/survey/report/survey_analysis_report.py index 25f553551a9..da724586a4f 100755 --- a/addons/survey/report/survey_analysis_report.py +++ b/addons/survey/report/survey_analysis_report.py @@ -95,7 +95,7 @@ class survey_analysis(report_rml): - Response Summary + Answer Summary @@ -158,7 +158,7 @@ class survey_analysis(report_rml): rml += """""" for mat_col in range(0, len(matrix_ans)): rml+="""""" + to_xml(tools.ustr(matrix_ans[mat_col][1])) + """""" - rml += """Response Count + rml += """Answer Count """ last_col = cols_widhts[-1] @@ -194,8 +194,8 @@ class survey_analysis(report_rml): rml += """""" rml += """ - Response Percentage - Response Count + Answer Percentage + Answer Count """ for ans in que.answer_choice_ids: @@ -238,7 +238,7 @@ class survey_analysis(report_rml): rml += """ - Response Count + Answer Count """ + tools.ustr(cr.fetchone()[0]) + """ @@ -249,7 +249,7 @@ class survey_analysis(report_rml): rml += """ - Response Count + Answer Count """ + tools.ustr(cr.fetchone()[0]) + """ @@ -269,7 +269,7 @@ class survey_analysis(report_rml): for mat_col in range(0,len(matrix_ans)): rml += """""" + to_xml(tools.ustr(matrix_ans[mat_col][1])) + """""" rml += """Rating Average - Response Count + Answer Count """ for ans in que.answer_choice_ids: @@ -325,7 +325,7 @@ class survey_analysis(report_rml): for menu in menu_choices: rml += """""" + to_xml(tools.ustr(menu)) + """""" - rml += """Response Count""" + rml += """Answer Count""" cr.execute("select count(id), sra.answer_id from survey_response_answer sra \ where sra.column_id='%s' group by sra.answer_id " % (column.id)) res_count = cr.dictfetchall() @@ -363,9 +363,9 @@ class survey_analysis(report_rml): - Response Average - Response Total - Response Count + Answer Average + Answer Total + Answer Count """ for ans in que.answer_choice_ids: cr.execute("select answer from survey_response_answer where answer_id=%d group by answer" % ans.id) diff --git a/addons/survey/report/survey_browse_response.py b/addons/survey/report/survey_browse_response.py index 48d56126a8f..8063e6183a9 100644 --- a/addons/survey/report/survey_browse_response.py +++ b/addons/survey/report/survey_browse_response.py @@ -51,8 +51,8 @@ class survey_browse_response(report_rml): _frame_width = tools.ustr(_pageSize[0]) _frame_height = tools.ustr(float(_pageSize[1].replace('cm','')) - float(1.90))+'cm' _tbl_widths = tools.ustr(float(_pageSize[0].replace('cm','')) - float(2.10))+'cm' - rml =""" -