← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 582029] Re: Tag [noSplitRowCount] is not taken in account on Report parser.

 

Hello Nhomar,

Indeed, we do not support anything near 100% of the RML features, because their rendering engine is not open source, and we had to implement our own engine within OpenERP.
As a consequence you may find some features that are not supported for OpenERP's RML.
We cannot consider these as bugs (documentation can be updated to explain this), but we would of course consider any merge proposal that implements in a clean manner any of these missing features. This explains why I am closing this bug for the moment.

BTW you might want to try the report_webkit engine contributed by C2C in
v6, though I'm not sure it will have a better solution for finer control
on row split.

Thank you for the detailed report, which could serve as a basis for
anyone wishing to work on the implementation.

** Changed in: openobject-server
   Importance: Undecided => Wishlist

** Changed in: openobject-server
       Status: New => Won't Fix

-- 
Tag [noSplitRowCount] is not taken in account on Report parser.
https://bugs.launchpad.net/bugs/582029
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Server: Won't Fix

Bug description:
The tag noSplitRowCount is not considered on parser.

See this example:
http://www.reportlab.com/examples/rml/test/test_008_tables.rml
http://www.reportlab.com/examples/rml/test/test_008_tables.pdf

This tag is neccesary when  you have a report and need to put a "total lines", and you it brakes exactly in the end.....

If we put this tag. Nothing Happend

Example:
<blockTable colWidths="49.0,54.0,168.0,75.0" style="CONTENT" repeatRows="1">
<tr>
<td>Titles</td>
<td>In</td>
<td>Columns</td>
<td>dddd</td>
</tr>
<tr>[[repeatIn(some.object, 'l')]]
<td>[[l.value]]</td>
<td>[[l.value2]]</td>
<td>[[l.value3]]</td>
<td>[[l.value4]]</td>
</tr>
<tr noSplitRowCount="3">
<td>Titles</td>
<td>In</td>
<td>Columns</td>
<td>dddd</td>
</tr>
</blockTable>

When the "Values" needs to be splitted them not recognize the command (See the example on links bellow.)

http://www.reportlab.com/examples/rml/test/test_008_tables.pdf
http://www.reportlab.com/examples/rml/test/test_008_tables.rml

IMHO.... If we will refer to reportlab oficial documentation,  we need to support at least all tags documented there... if we not support them... so it should be considered a bug.

Thanks

I attach a pdf with the "bad result" due to the tag not considered





Follow ups