[IMP] Survey :- improve code.

bzr revid: ysa@tinyerp.co.in-20100511101607-6rbezfu78n4m5xn4
This commit is contained in:
Ysa (Open ERP) 2010-05-11 15:46:07 +05:30
parent b7ceeec108
commit bda6b316dc
2 changed files with 3 additions and 3 deletions

View File

@ -207,7 +207,7 @@ class survey_browse_response(report_rml):
<td><para style="terp_tblheader_General_Centre_simple">""" + to_xml(time.strftime('%d-%m-%Y %I:%M:%S %p', time.strptime(response.date_create.split('.')[0], '%Y-%m-%d %H:%M:%S'))) + """</para></td>
<td><para style="terp_tblheader_General_Centre"></para></td>
<td><para style="terp_tblheader_General_right">Answer By:- </para></td>
<td><para style="terp_tblheader_General_right_simple">""" + to_xml(response.user_id.login) + """</para></td>
<td><para style="terp_tblheader_General_right_simple">""" + to_xml(response.user_id.login or '') + """</para></td>
</tr>
</blockTable><para style="P2"></para>"""

View File

@ -1156,11 +1156,11 @@
res_model="survey.answer"
src_model="survey.question"/>
<act_window domain="[('survey_id', '=', active_id)]"
<!--act_window domain="[('survey_id', '=', active_id)]"
id="act_survey_response"
name="Survey Answer"
res_model="survey.response"
src_model="survey"/>
src_model="survey"/-->
<menuitem name="Answer a Survey" id="menu_run_survey_form" sequence="2"
action="action_view_survey_name" parent="menu_answer_surveys"