Merge lp:~openerp-dev/openobject-server/6.0-opw-16073-ach into lp:openobject-server/6.0

Proposed by Anup(SerpentCS)
Status: Rejected
Rejected by: Xavier ALT
Proposed branch: lp:~openerp-dev/openobject-server/6.0-opw-16073-ach
Merge into: lp:openobject-server/6.0
Diff against target: 11 lines (+1/-1)
1 file modified
bin/report/render/rml2pdf/trml2pdf.py (+1/-1)
To merge this branch: bzr merge lp:~openerp-dev/openobject-server/6.0-opw-16073-ach
Reviewer Review Type Date Requested Status
Jay Vora (Serpent Consulting Services) Pending
Review via email: mp+67801@code.launchpad.net

Description of the change

Hello,

There is a bug in the Partner Balance Report.

When there are special characters like '&','<','>' in the name of Partner, They are printed as &amp;,&gt;,&lt respectively.

This fixes the issue.

Thanks.

To post a comment you must log in.
Revision history for this message
Xavier ALT (dex-phx) wrote :

Hi,

I'm going to reject this one for sake of launchpad clarity, backport from trunk as already been merged on v6.0.

Thanks anyway for proposing this, we should be more quicker in the future.

Regards,
Xavier

Unmerged revisions

3463. By Anup(SerpentCS)

[FIX] report : Special Characters like &,>,< now behaving nomally.(Case:16073)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/report/render/rml2pdf/trml2pdf.py'
2--- bin/report/render/rml2pdf/trml2pdf.py 2011-05-04 09:50:00 +0000
3+++ bin/report/render/rml2pdf/trml2pdf.py 2011-07-13 10:05:59 +0000
4@@ -613,7 +613,7 @@
5 if True or not self._textual(n).isspace():
6 if not n.tag == 'bullet':
7 txt_n.text = utils.xml2str(self._textual(n))
8- txt_n.tail = n.tail and utils._process_text(self, n.tail.replace('\n','')) or ''
9+ txt_n.tail = n.tail and utils.xml2str(utils._process_text(self, n.tail.replace('\n','')) or '')
10 rc1 += etree.tostring(txt_n)
11 return rc1
12