Evaluation of 'expr' inside any tag goes unnoticed!

Bug #535566 reported by Joël Grand-Guillaume @ camptocamp
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP's Framework R&D

Bug Description

Hi,

Since August 2009, the tag "expr" was remove from the report engine system.

This was very useful for positioning things in a report. Please, get it back !

It's aways used into the BVR report of l10n_ch if you want an test example. Try to go into the administration to change the positionning of the BVR, and you'll see it doesn't work anymore.

Regards,

Changed in openobject-server:
milestone: none → 5.0.8
status: New → Confirmed
importance: Undecided → Low
importance: Low → Critical
Revision history for this message
Borja López Soilán (NeoPolus) (borjals) wrote :

By the way, if you add this tag, you might consider adding the PTO tag too (https://bugs.launchpad.net/openobject-server/+bug/509266).

A patch for adding support for this RML tag, has been available for months here: http://launchpadlibrarian.net/38048667/pto_tag_support_for_trml2pdf_patch.diff

Changed in openobject-server:
assignee: nobody → Jay (Open ERP) (jvo-openerp)
Changed in openobject-server:
importance: Critical → High
importance: High → Medium
Changed in openobject-server:
milestone: 5.0.8 → 5.0.9
Changed in openobject-server:
milestone: 5.0.9 → 5.0.10
Changed in openobject-server:
assignee: Jay (Open ERP) (jvo-openerp) → nch(OpenERP) (nch-openerp)
Changed in openobject-server:
status: Confirmed → In Progress
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello,

Can you please have a test with this patch for expr tag.

this patch assumes that 'expr' tag can occur at any node.

Thanks

Changed in openobject-server:
status: In Progress → Fix Committed
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

The patch is absolutely good.

Each tag should support the expr attribute.

Thanks.

Changed in openobject-server:
status: Fix Committed → Confirmed
status: Confirmed → In Progress
summary: - Missing tag "expr" into report engine since august 2009
+ Evaluation of 'expr' inside any tag goes unnoticed!
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello,

Here is the new improved and refactored patch.

Can anyone have a test of this patch.

Thanks

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello NCH,

This is working good.

The only problem is, its interrupting XS reports to be printed:
[2010-04-20 16:39:52,218] ERROR:web-services:[33]: File "/stable5/server/bin/report/render/rml2pdf/trml2pdf.py", line 72, in __init__
[2010-04-20 16:39:52,219] ERROR:web-services:[34]: for node in nodes:
[2010-04-20 16:39:52,219] ERROR:web-services:[35]: TypeError: 'NoneType' object is not iterable

Hope this helps.
Thanks.

Changed in openobject-server:
status: In Progress → Confirmed
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello,

here the modified patch

Changed in openobject-server:
milestone: 5.0.10 → 5.0.11
Changed in openobject-server:
milestone: 5.0.11 → 5.0.12
Revision history for this message
Samantha (samantha-z-mathews) wrote :

stephane,
should not be it added for 6.0?

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Thanks for coming back on this.
We will check the feasibility and will post a suitable solution asap.

Changed in openobject-server:
milestone: 5.0.12 → none
Changed in openobject-server:
assignee: nch(OpenERP) (nch-openerp) → OpenERP's Framework R&D (openerp-dev-framework)
Changed in openobject-server:
importance: Medium → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.