Merge lp:~openerp-dev/openobject-server/6.0-opw-17600-odo into lp:openobject-server/6.0
Proposed by
Olivier Dony (Odoo)
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openobject-server/6.0-opw-17600-odo |
Merge into: | lp:openobject-server/6.0 |
Diff against target: |
25 lines (+11/-5) 1 file modified
bin/report/preprocess.py (+11/-5) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-server/6.0-opw-17600-odo |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Publisher's Warranty Team | Pending | ||
Review via email: mp+77920@code.launchpad.net |
Description of the change
(Correct target branch this time, sorry for previous one)
This patch makes the report preprocessing system properly handle separately inner and trailing text for each XML node. This fixes potential issues where the tailing text would be put inside the node if the node is empty, e.g:
<p></p>bar would become <p>bar</p>
But it also avoids ignoring trailing text when there is an inner text, e.g.:
<p>[[ o.name ]]</p>[[ removeParentNod
To be further tested with real reports, this is untested so far.
To post a comment you must log in.
Unmerged revisions
- 3510. By Olivier Dony (Odoo)
-
[FIX] report.preprocess: properly handle node.text and node.tail [CASE 17600]