[5.0][RML] Node image in loop always prints the same image

Bug #640677 reported by Omar (Pexego)
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Low
OpenERP's Framework R&D

Bug Description

Hi,

I have a rml report that goes around all picking lines and it prints a picture of each product of picking lines, then I found a bug, because it always prints the image of first line in all lines.

Searching in the source, I see, if node is image and it hasn't file or name defined, it evaluated the text and then it does "node.text = evaluated text", always in the same loop it will print the same evaluated text. I include the patch.

Tags: pexego

Related branches

Revision history for this message
Omar (Pexego) (omar7r) wrote :
Revision history for this message
Vinay Rana (OpenERP) (vra-openerp) wrote :

We Let the framework team decide.

Thanks.

Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Omar (Pexego) (omar7r) wrote :

This issue affects to 6.0 too

Revision history for this message
Nimesh Contractor(Open ERP) (nco-openerp) wrote :

Hello,

Thanks for reporting !

It has been fix into lp:~openerp-dev/openobject-server/trunk-bug-640677-nco
Revision No :- 3418
Revision ID :- <email address hidden>
It will be merge soon with trunk server.

Thanks,

Changed in openobject-server:
status: Triaged → Fix Committed
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Thanks Omar (Pexego) for the patch and the bug report

Revision history for this message
Vo Minh Thu (thu) wrote :

The fix is available in trunk at revision 3427 (revision-id: <email address hidden>).

Thanks for the bug report and for the patch.

Changed in openobject-server:
status: Fix Committed → Fix Released
Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

An additional fix merged in trunk at revision 3626 revid: <email address hidden>, for a similar bad pattern where the image source was replaced with the first static rendering of that source.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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