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 fromcsv.export.base
and - implement
get_domain
,get_headers
andget_rows
- set
_connector_model
(eg. "account.payment") - set
_filename_template
(eg. "CASH_%Y%m%d_%H%M.csv")
- implement
- add a transient model
- 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
- Robin Keunen <[email protected]>
This module is part of the coopiteasy/csv-connector project on GitHub.
You are welcome to contribute.