Repository
OCA/connector-interfaces · module folder · Try on Runboat
Module version
1.0.0
Category
Uncategorized
Folder size
0.07 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/connector-interfaces
Last tracking update
2026-08-07 08:43:06
Authors
Camptocamp, Odoo Community Association (OCA), ACSONE
Maintainers
Camptocamp, Odoo Community Association (OCA), ACSONE
Committers
Iván Todorovich, Maksym Yankin, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
OCA/connector:
OCA/connector-interfaces:
OCA/queue:
OCA/server-env:
OCA/storage:
odoo/odoo:
- web
- bus
Python dependencies
cryptography, chardet, pytz, pyyaml, requests, cachetools, paramiko
System dependencies
None
Required by
None
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.

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
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_import Boolean
    help='If enabled, the file processed will be moved to success/error folders depending on the result of the import'
  • name Char
    compute=False
  • send_back_error_report Boolean
    help='If enabled, the CSV report will be generated and put in the error folder'
  • sftp_filename_pattern Char
    default='.*\\.csv$' help='Regex pattern to match CSV file names.' required=True string='SFTP Filename pattern'
  • sftp_path_error Char
    default='error' help='Where to move CSV files if errors occurred when `Move file after import` is enabled. Eg: `/mnt/csv/res_partner/error/`' required=True string='SFTP Folder path - Error'
  • sftp_path_input Char
    default='pending' help='Where to find CSV files to import. Eg: `/mnt/csv/res_partner/pending/`' required=True string='SFTP Folder path - Input'
  • sftp_path_success Char
    default='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=True string='SFTP Folder path - Success'
  • storage_id Many2one → storage.backend
    comodel_name='storage.backend' domain=[('backend_type', '=', 'sftp')] ondelete='restrict' required=True string='Storage backend'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
168 days ago
Last activity
122 days ago
Repository
OCA/connector-interfaces
Pull request
[16.0][MIG] connector_importer_source_sftp: Migration to 16.0 (#182)
Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
29 days ago
Last activity
29 days ago
Repository
OCA/connector-interfaces
Pull request
[19.0][MIG] connector_importer_source_sftp: Migration to 19.0 (#186)