Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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
Type : OLE2 compound document storage (application/x-ole-storage)
Size: 5.6 kB (5,632 bytes)
Is there any solution for this,
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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 11/21/14, 7:03 AM|
|Seen: 1790 times|
|Last updated: 10/17/15, 6:10 AM|