Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

get report in odt from rml

By
richa soni
on 6/4/13, 8:41 AM 793 views

i tried to use the below code for the generation of odt file. but i got error of invalid attribute 'type' for element report

<report auto="False" id="account_general_ledger" **type="odt" **="" menu="False" model="account.account" name="account.general.ledger" rml="account/report/account_general_ledger.rml" string="General Ledger"/>

please guide me richa(richa@leosys.in)

0

René Schuster

--René Schuster--
1560
| 5 5 8
Weinheim, Germany
--René Schuster--

Challenge Everything!

René Schuster
On 2/25/14, 9:24 AM

I guess it should be:

<report auto="False" id="account_general_ledger" **report_type="odt"**
    menu="False" model="account.account"  name="account.general.ledger" 
    rml="account/report/account_general_ledger.rml" string="General Ledger"/>

The field is 'report_type' , not 'type'.

report_type="odt" May i know this is the path to the odt file

Ashmsh.M
on 2/26/14, 12:25 AM

No, it's just a simple string, to determine the report output.

report_type can be: sxw, pdf, odt, xml, txt, ... etc.

René Schuster
on 3/5/14, 8:46 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 6/4/13, 8:41 AM
Seen: 793 times
Last updated: 3/16/15, 8:10 AM