Connector Importer Source SFTP
connector_importer_source_sftp · OCA/connector-interfaces
Health
75/100
good
-
Security25/25No findings
-
Activity20/25Last human commit 12 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 13.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
7 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
0 migration notes
2 models
1 view
0 HTTP endpoints
Description
Add import source capable of loading files from SFTP.
Source type provided at the moment: CSV.
Special feature: move files to another path when the import is finished.
You can configure input, error, success path.
Files are searched into input folder and if the flag move_file_after_import is enabled, the file will be moved to error or success path depending on the result of the import process.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_import_source_csv_form |
import.source.csv.sftp.form.inherit | import.source.csv.sftp | form | Inherits connector_importer.view_import_source_csv_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (8)
-
move_file_after_importBooleanhelp='If enabled, the file processed will be moved to success/error folders depending on the result of the import' -
nameCharcompute=False -
send_back_error_reportBooleanhelp='If enabled, the CSV report will be generated and put in the error folder' -
sftp_filename_patternChardefault='.*\\.csv$'help='Regex pattern to match CSV file names.'required=Truestring='SFTP Filename pattern' -
sftp_path_errorChardefault='error'help='Where to move CSV files if errors occurred when `Move file after import` is enabled. Eg: `/mnt/csv/res_partner/error/`'required=Truestring='SFTP Folder path - Error' -
sftp_path_inputChardefault='pending'help='Where to find CSV files to import. Eg: `/mnt/csv/res_partner/pending/`'required=Truestring='SFTP Folder path - Input' -
sftp_path_successChardefault='done'help='Where to move CSV files if no errors occurred when `Move file after import` is enabled. Eg: `/mnt/csv/res_partner/done/`'required=Truestring='SFTP Folder path - Success' -
storage_idMany2one → storage.backendcomodel_name='storage.backend'domain=[('backend_type', '=', 'sftp')]ondelete='restrict'required=Truestring='Storage backend'
No public methods.
Loading…
Loading…
Loading…
Loading…