Skip to main content

Attachment Synchronize using patterns

Project description

Beta License: AGPL-3 shopinvader/pattern-import-export

This module uses the pattern_import_export and attachment_synchronize modules to automate imports and exports. Different functionalities that are not self-explanatory are used, so you can check the depending modules for more context about this module’s usage and configuration.

Table of contents

Usage

Here is the full workflow for imports and exports in this module. In italics are the modules relevant to that particular functionality.

Exports

  1. Create a filter and a pattern.config for the model to export (pattern_import_export)

  2. Create an attachment.synchronize.task of type “export” and configure it (attachment_synchronize)

  3. Create and configure a pattern.export.task using elements of steps 1. and 2.

  4. Call pattern.export.task.run_pattern_export_scheduler()

  5. Observe the following:

  • A pattern.file is created from the filter and pattern configuration from step 1.

  • The result of that export is in the storage that you configured in step 2.

This is to be used with a cron to call run_pattern_export_scheduler() for automation.

Imports

  1. Create a pattern.config (pattern_import_export)

  2. Create an attachment.synchronize.task of type “Import using pattern” and configure it (attachment_synchronize)

  3. Call pattern.synchronize.task.run_import_scheduler()

  4. Observe the following:

  • Files that match the configuration of attachment_synchronize_task are run through the import procedure

  • For every file, once imported, the patterned import is executed

This is to be used with a cron to call run_import_scheduler() for automation.

Bug Tracker

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 smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Akretion

Contributors

Akretion :

Maintainers

Current maintainers:

kevinkhao sebastienbeau

This module is part of the shopinvader/pattern-import-export project on GitHub.

You are welcome to contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page