This question has been flagged

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


Avatar
Discard