Changing report type from 'pdf' to 'odt' results in broken reports

Bug #1264982 reported by Antanas L
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Confirmed
Medium
OpenERP's Framework R&D

Bug Description

Changing type of OpenERP default reports from 'pdf' to 'odt' results in broken reports

Using OpenERP Server 7.0:
    Install db with demo data
    Install module Sale
    In Settings > Technical > Actions > Reports > Quotation / Order (sale.order report)
    Edit "Report Type", make it 'odt' instead of 'pdf'
    Print Sale Order/Quotation report

The resulting report in .sxw format is rendered incorrectly:
    Layout/design is broken: no header image, different page styling
    some tags are not rendered to values, but displayed as rml tags:
        Fax : [[ (o.partner_id.fax) or removeParentNode('para') ]]
        [[ o.state in ['draft','sent'] and removeParentNode('para') ]] Order N° SO007
        and more...

Result of same nature is observed if repeated for account.invoice , stock.picking.out reports

Tags: odt report rml
Revision history for this message
Antanas L (antanas-1980) wrote :
Changed in openobject-server:
assignee: nobody → OpenERP's Framework R&D (openerp-dev-framework)
importance: Undecided → Medium
status: New → Confirmed
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.