Odoo Help


how to generate odt report from wizard

richa soni
on 6/3/13, 12:40 PM 1,531 views

i've generated the simple odt file using libreoffice but i want to generate odt file from wizard. please guide me. Is it necessary to generate it through sxw. I want only odt file not the pdf.



Francesco OpenCode

--Francesco OpenCode--

| 6 8 9
Grottaglie, Italy
--Francesco OpenCode--

Italian Odoo (OpenERP) Modules Developer LINKEDIN: http://www.linkedin.com/in/francescoapruzzese

Francesco OpenCode
On 6/3/13, 4:25 PM

This is a code I use in a wizard to generate report from odt file (aeroo report)

datas = {
    'ids': ids,
    'model': 'WIZARD_NAME',
    'form': self.read(cr, uid, ids)[0]
return {
    'type': 'ir.actions.report.xml',
    'report_name': 'REPORT_NAME',

i'm so so sorry Francesco could u explain more (steps to do that) .. it is so important to me it is the 3rd day i search about that thank you in advance

on 6/5/13, 9:16 AM

Have you defined you aeroo report, yet?

Francesco OpenCode
on 6/5/13, 11:34 AM

i install Aeroo and created a report on employee and can print it ... what i miss is

create a wizard

some fields in this wizard to filtrate the report data

send this data to the report and print it by a "button" in wizard

on 6/5/13, 12:53 PM

I don't know how to send the data from wizard to report, sorry. I know only how to return a report from wizard and th code in my answer is all i know about this dubt.

Francesco OpenCode
on 6/5/13, 4:00 PM

Thanks man

on 6/6/13, 5:36 AM

Francesco do you add ur Aeroo report from GUI or add it in code??

sorry but i want to find a easy way to create my reports

i add my reports from setting >> Aeroo Reports >> Reports >> create but can't read it's name

on 6/6/13, 8:17 AM

I add all my report by code. If you want an example search in openerp modules some similar code.

Francesco OpenCode
on 6/6/13, 12:44 PM

About This Community

This platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 6/3/13, 12:40 PM
Seen: 1531 times
Last updated: 3/16/15, 8:10 AM