Merge lp:~openerp-dev/openobject-addons/trunk-bug-1093807-psa into lp:openobject-addons

Proposed by Paramjit Singh Sahota(OpenERP)
Status: Needs review
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-bug-1093807-psa
Merge into: lp:openobject-addons
Diff against target: 13 lines (+1/-2)
1 file modified
note/note.py (+1/-2)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-1093807-psa
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+141547@code.launchpad.net

Description of the change

Hello,

Fixed the issue,
>Note use of & operator badly encoded.
>Only "amperson" sign is not able to decode so replaced it with '&'.

Thankz YoU.
 -PSA.

To post a comment you must log in.

Unmerged revisions

8488. By Paramjit Singh Sahota(OpenERP)

[FIX][Trunk/7.0] note use of & operator badly encoded

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'note/note.py'
--- note/note.py 2012-12-20 11:47:30 +0000
+++ note/note.py 2013-01-01 08:50:28 +0000
@@ -61,8 +61,7 @@
61 def _get_note_first_line(self, cr, uid, ids, name="", args={}, context=None):61 def _get_note_first_line(self, cr, uid, ids, name="", args={}, context=None):
62 res = {}62 res = {}
63 for note in self.browse(cr, uid, ids, context=context):63 for note in self.browse(cr, uid, ids, context=context):
64 res[note.id] = (note.memo and html2plaintext(note.memo) or "").strip().replace('*','').split("\n")[0]64 res[note.id] = (note.memo and html2plaintext(note.memo) or "").strip().replace('*','').replace('&','&').split("\n")[0]
65
66 return res65 return res
6766
68 def onclick_note_is_done(self, cr, uid, ids, context=None):67 def onclick_note_is_done(self, cr, uid, ids, context=None):

Subscribers

People subscribed via source and target branches

to all changes: