Merge lp:~openerp-dev/openobject-addons/trunk-bug-1096216-cga into lp:openobject-addons

Proposed by Chandni Gandhi(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-1096216-cga
Merge into: lp:openobject-addons
Diff against target: 14 lines (+2/-2)
1 file modified
survey/report/survey_browse_response.py (+2/-2)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-1096216-cga
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+142263@code.launchpad.net

Description of the change

Hello,

Set the column width in report.

Thanks.

To post a comment you must log in.
8497. By Chandni Gandhi(OpenERP)

[MERGE]:With latest code

Unmerged revisions

8497. By Chandni Gandhi(OpenERP)

[MERGE]:With latest code

8496. By Chandni Gandhi(OpenERP)

[FIX]:Set the column width in report

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'survey/report/survey_browse_response.py'
2--- survey/report/survey_browse_response.py 2012-12-06 14:56:32 +0000
3+++ survey/report/survey_browse_response.py 2013-02-07 10:15:31 +0000
4@@ -223,8 +223,8 @@
5
6 status = "Not Finished"
7 if response.state == "done": status = "Finished"
8- colwidth = str(tbl_width - 7) + "cm,"
9- colwidth += "7cm"
10+ colwidth = str(tbl_width - 8.5) + "cm,"
11+ colwidth += "8.5cm"
12 rml += """<blockTable colWidths='""" + str(colwidth) + """' style="title_tbl">
13 <tr>
14 <td><para style="title">""" + to_xml(tools.ustr(survey.title)) + """</para><para style="P2"><font></font></para></td>

Subscribers

People subscribed via source and target branches

to all changes: