RML Report no more text output after use setTag

Bug #1188136 reported by ö
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
New
Undecided
Unassigned
OpenERP Community Backports (Server)
Status tracked in 7.0
6.1
Fix Committed
Medium
Holger Brunn (Therp)
7.0
Fix Committed
Medium
Holger Brunn (Therp)

Bug Description

System: OpenERP Version 7.0 on Ubunthu 12.04

If i use setTag in a rml report the text in para tags after setTag will not be shown up in the pdf file.
The only Solution is to use setTag in every following para tag again.

my rml code:
<barCode>
        [[ picking.name and setTag('barCode','barCode',{'code':'Standard39','barHeight':'15.0'}) or removeParentNode('para') ]] [[picking.name]]
    </barCode>

     <para>
      only para before orgin [[picking.origin]] name [[picking.name]]
    </para>

      <para>
       settag para [[picking.name and setTag('para','para')]][[picking.name]]
    </para>

       <para>
      only para after orgin [[picking.origin]] name [[picking.name]]
    </para>

output:
barcode
settag para 123456

expected output:
barcode
only para before ...
settag para 123456
only para after ....

Tags: report rml settag

Related branches

Revision history for this message
ö (o+) wrote :

I have the same problem with OpenERP Version 6.1.1
Ubuntu 10.04.

Revision history for this message
Cedric Le Brouster(OpenFire) (cedric-lebrouster) wrote :

Hi

I made a fix for v6.1, see attachment.

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.