Odoo Help


How to create XLS report in openerp 7 and 8 Version, It's working like openerp 6th version

on 11/21/14, 7:03 AM 2,029 views

How to create XLS report in openerp 7 and 8 Version, It working like openerp 6th version, but my side it is generated, but the problem is generating unformated type and then i need to convert to to .xls type

Generated file like this

Name: report_
Type : OLE2 compound document storage (application/x-ole-storage)
Size: 5.6 kB (5,632 bytes)

Is there any solution for this,


On 10/17/15, 6:10 AM

Hi Yogesh,

Your solution not working on OpenERP 7.0. But it's working on 6.0.

Kindly help how to save excel file with .xls extension on 7.0




| 4 3 8
Delhi, India

Nothing to say .... :)

On 4/8/15, 8:29 PM

you can add one more field  for file name in your model eg:.

filename = fields.Char('File Name')

and then you can use this field in .xml to set name of file like,(considering 'xls_report' is binary field that will hold your .xls report)

<field name="xls_report" filename="filename"/> .

From now on your reports will be download with the name you set in that field. (you can have name dependent of your record)

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

1 follower(s)


Asked: 11/21/14, 7:03 AM
Seen: 2029 times
Last updated: 10/17/15, 6:10 AM