← Back to team overview

report-openoffice-team team mailing list archive

[Bug 567804] Re: space and carriage return omitted in notes(text) fields

 

well, it seems it can also be done by some advanced genshi/relatorio
directive (using split('\n') and for/each):

<line.name><if  test="line.notes">
	<for each="note in line.notes.split('\n')"><format(note)>
</for></if>

thx for the example from tryton folks.

-- 
space and carriage return omitted in notes(text) fields
https://bugs.launchpad.net/bugs/567804
You received this bug notification because you are a member of Report
OpenOffice Team, which is the registrant for Report OpenOffice.

Status in OpenOffice.org Reporting Engine for OpenObject: Confirmed

Bug description:
The multiline text fields (by example lines.notes or sale.order.note) that can have multiple spaces and CR+LF in the text, when the report_openoffice renders it, omit such characters.

Into open erp:

A line      some space      more space......
New line, etc...

Is writen in the odt:
A line some space more space..... New line, etc.....





References