[IMP]:survey
-improved the note in the survey form report. -improved the demo data of communit survey. bzr revid: apa@tinyerp.com-20100208113150-4oqukenloo7uyra5
This commit is contained in:
parent
7cee90359f
commit
1413af2e65
|
@ -144,6 +144,13 @@ class survey_form(report_rml):
|
|||
<blockTable colWidths='"""+_tbl_widths+"""' style="title_tbl">
|
||||
<tr><td><para style="title">""" + to_xml(tools.ustr(survey.title)) + """</para><para style="P2"><font></font></para></td></tr>
|
||||
</blockTable>"""
|
||||
|
||||
if survey.note:
|
||||
rml += """
|
||||
<para style="P2"></para>
|
||||
<blockTable colWidths='"""+_tbl_widths+"""' style="note_table">
|
||||
<tr><td><para style="descriptive_text">""" + to_xml(tools.ustr(survey.note)) + """</para><para style="P2"><font></font></para></td></tr>
|
||||
</blockTable>"""
|
||||
seq = 0
|
||||
for page in survey.page_ids:
|
||||
seq+=1
|
||||
|
|
|
@ -2137,6 +2137,7 @@
|
|||
<data noupdate="1">
|
||||
<record id="survey_0_Community" model="survey">
|
||||
<field name="title">Community Survey</field>
|
||||
<field name="note">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.</field>
|
||||
<field eval="1" name="response_user"/>
|
||||
<field name="state">draft</field>
|
||||
<field name="responsible_id" ref="base.user_root"/>
|
||||
|
@ -2146,7 +2147,6 @@
|
|||
</data>
|
||||
<data>
|
||||
<record id="survey_page_0_Community" model="survey.page">
|
||||
<field name="note">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.</field>
|
||||
<field name="title">Service Characteristics</field>
|
||||
<field name="survey_id" ref="survey_0_Community"/>
|
||||
<field eval="1" name="sequence"/>
|
||||
|
@ -2805,13 +2805,4 @@
|
|||
<field eval="8" name="sequence"/>
|
||||
</record>
|
||||
</data>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</openerp>
|
Loading…
Reference in New Issue