Skip to content

Latest commit

 

History

History

csv_export_base

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Export CSV Base

Beta License: AGPL-3 coopiteasy/csv-connector

Base module to create csv file exports. These file can be sent to a SFTP server.

Table of contents

  • add a module csv_export_<model>
  • add a transient model csv.export.<model> inheriting from csv.export.base and
    • implement get_domain, get_headers and get_rows
    • set _connector_model (eg. "account.payment")
    • set _filename_template (eg. "CASH_%Y%m%d_%H%M.csv")
  • add a view and menu for that model (examples in module account_export_payment)
  • add a boolean field exported_to_sftp on exported model.
  • If needed configure a sftp server in the menu Configuration > SFTP Servers
    • add export line referencing the csv.export.<model> you created.

This module was created specifically for Pro Velo ASBL.

It should be - more generic, - less dependent on other modules, - generic for export AND imports

In v12 version, it should be based on top of the OCA connector.

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

  • Coop IT Easy SC

This module is part of the coopiteasy/csv-connector project on GitHub.

You are welcome to contribute.