Odoo Help

0

open xlsx as download file

By
Maniganda
on 6/19/13, 5:55 AM 2,372 views

Hi , i have created a xlsx file and need to open as downloadable when i click on button in python how to achieve this ?

Do you have a solution for your problem ?

Gregory Thomas
on 2/19/14, 8:59 AM
0

Omal Bastin

--Omal Bastin--
1176
| 6 6 8
Kochi, Kerala, India
--Omal Bastin--

Swiming deep into openERP/ODOO

Omal Bastin
On 6/19/13, 12:16 PM

In python there is a package called cStringIO, which is used for buffering.write the xlsx file data to the buffer(encode using base64) variable and then write this value in the buffer variable to a binary field in openerp.

Thanks for your reply, but my requirement is to display the file and not to store in database how can i achieve this

Maniganda
on 6/19/13, 12:18 PM

from where you are creating the xls file?can you give some more details? is it related to openerp?

Omal Bastin
on 6/19/13, 12:24 PM

i am fetching the information from view class and creating the xlsx file

Maniganda
on 6/19/13, 12:28 PM
0

Ray Carnes

--Ray Carnes--
16651
| 9 7 9
Atlanta, United States
--Ray Carnes--

Senior Odoo Analyst

OpenERP 6.1, 7.0; Odoo 8.0, 9.0, 10.0.

Completed Odoo Functional and Technical Training.

Major Skills:

  • User Needs and GAP Analysis;

  • Functional and Technical Design;

  • Prototyping and Proof of Concepts;

  • Requirements Specifications;

  • Agile Implementation;

  • Data Migration;

  • Configuration & Customization (UI and code);

  • Integration - Odoo and non Odoo Applications and Services;

  • Training and Knowledge Transfer;

  • Go Live Support;

  • Helpdesk;

  • Version Upgrades and Migration.

  • Accounting Expert.

I have over 20 years of experience empowering and enabling users with enterprise information systems that make a real and measurable difference in their ability to proactively manage their businesses and organizations. 

I am a skilled Communicator and I only take the serious things seriously!

Ray Carnes
On 6/19/13, 4:45 PM

Take a look at the module that exports the current view to XLS:

https://code.launchpad.net/~domsense/web-addons/7.0-web_export_view

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

Question tools

0 follower(s)

Stats

Asked: 6/19/13, 5:55 AM
Seen: 2372 times
Last updated: 3/16/15, 8:10 AM