[5.0][RML] Node image in loop always prints the same image
Bug #640677 reported by
Omar (Pexego)
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.
Related branches
To post a comment you must log in.
We Let the framework team decide.
Thanks.