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

[V9]Export data automatically

By
TK Fontaine
on 1/4/16, 8:13 AM 541 views

Hello,


I would like to export data in excel/csv automatically;the Export Data when selected items, with options:

  • Export Type : Export all Data

  • Export Formats : Excel

I know that it call a javascript function on_click_export_data in addons/web/static/src/js/widgets/data_export.js.

I read that I could use the function export_data in openerp.models (https://www.odoo.com/fr_FR/forum/help-1/question/how-to-call-a-javascript-function-from-odoo-86782).

How could I use its (javascript function or python function) into a ir.actions.server for automatic execution (in ir.cron)?


Thank you


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

1 follower(s)

Stats

Asked: 1/4/16, 8:13 AM
Seen: 541 times
Last updated: 1/4/16, 8:32 AM