Skip to content

Latest commit

 

History

History

connector_importer

Connector Importer

Beta License: AGPL-3 OCA/connector-interfaces Translate me on Weblate Try me on Runboat

This module allows to import / update records from files using the connector framework (i.e. mappers) and job queues.

Table of contents

  • with the import of standard Odoo CSV files, a concurrency error occurs when updating the report_data of import_recordset table (from the importer: self._do_report() -> self.recordset.set_report(...)). The job is automatically retried a second time (without concurrency errors). For small files it's not a big issue, but for files with a huge amount of lines it takes time to process them two times.
  • refactor the recordset.full_report_url field to return a QWeb report instead of a home-made HTML document + display it on the recordset form.
  • move generic functions from utils.mapper_utils to the connector module
  • unit tests for record handler and tracker
  • add more test coverage for mapper utils and dynamic mapper
  • consider making dynamic mapper the default one
  • control how to generate xid (eg: from a specicic field with key must_generate_xmlid_from_key)
  • add manual control for backend_to_rel mappers
  • refactor source to be a specific m2o to ease mgmt instead of a generic relation

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.

  • Camptocamp

Simone Orsi (Camptocamp) for the original implementation.

Other contributors include:

  • Guewen Baconnier (Camptocamp)
  • Mykhailo Panarin (Camptocamp)
  • Sébastien Alix (Camptocamp)

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

simahawk

This module is part of the OCA/connector-interfaces project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.