Aller au contenu

AbstractImporter usage

Status: Placeholder — to be developed. Last reviewed:

Scope

Conventions for adding a new importer: subclassing AbstractImporter, declaring ImportRow schema, bulk-mode rules, error handling, idempotency, file-format expectations, how the importer is wired into apps/collection/ (remote agent uploads) and the admin.

Sources to mine when writing this

  • apps/imports/AbstractImporter definition and existing importers (CIVIL, ACTES_2, GL trial balance).
  • docs/IMPORTS_MODULE.md — existing module documentation (in French); extract the rules, leave the reference material in docs/.
  • apps/imports/importers/gl_trial_balance.py — recent example.