Se rendre au contenu
Icône de Edi Queue Oca

Edi Queue Oca

par OCA · edi_queue_oca

Set Queue Jobs on EDI

19.0 — à porter Module Contrôle qualité : Vérifiée LGPL-3

Edi Queue Oca

This module integrates EDI exchange records with Queue Job, so that the four core exchange actions — generate, send, receive, and process — are dispatched as background jobs instead of running synchronously.

Each exchange type can optionally route its jobs to a specific channel, set a priority, or hold all jobs until a fixed time of day — useful when a trading partner’s receiving system has a nightly processing window or when the operator wants to concentrate resource-intensive EDI work in off-peak hours.

Table of contents

Usage

Automatic job dispatch

All exchange actions on edi.exchange.record are dispatched as background jobs automatically. No per-record configuration is required; the integration is active for every exchange type as soon as the module is installed.

Per-type job configuration

Each Exchange Type gains a Queue tab with optional settings:

Field Purpose
Job channel Route jobs to a specific channel (e.g. root.edi.high).
Job priority Integer priority passed to the queue job (lower = higher priority).
Enable ETA Scheduling Toggle to activate daily job accumulation (see below).
Execution time Hour, minute, and timezone at which accumulated jobs are released. Visible only when ETA Scheduling is enabled.

Accumulating jobs until a fixed daily time

Enabling ETA Scheduling on an exchange type causes every job created for that type to be held in the queue until the configured time of day, rather than being processed immediately. All jobs that arrive during the day accumulate and are released together at that moment.

Typical use cases:

  • A trading partner’s receiving system only processes incoming files at a specific nightly window (e.g. 22:00).
  • Resource-intensive EDI operations (large exports, heavy transformations) should be deferred to off-peak hours to avoid competing with daytime workloads.
  • Operational preference to send a batch of documents at a predictable daily time instead of dispatching them one by one in real time.

The execution time is configured with three fields:

  • Hour — hour of the day (00–23).
  • Minute — minute of the hour (00–59).
  • Timezone — the timezone in which the hour and minute are interpreted. Defaults to the current user’s timezone.

At runtime the configured time is converted to the next matching UTC datetime and set as the queue job ETA. If the target time for today has already passed, the job is automatically scheduled for the same time tomorrow.

When Enable ETA Scheduling is off, jobs are dispatched immediately as usual.

Duplicate-job prevention

An identity key is attached to every queued job, so re-triggering an action for a record that already has a pending job does not enqueue a duplicate.

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

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

Credits

Authors

  • Dixmit
  • Camptocamp

Contributors

Maintainers

This module is maintained by the OCA.

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.

This module is part of the OCA/edi-framework project on GitHub.

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

Ce que l'application ne fait pas

L'éditeur n'a pas encore publié la liste de ce que l'application ne fait pas. C'est une règle du magasin : demandez-la au support avant de vous engager.

Applications du magasin nécessaires

Modules Odoo Community utilisés

Aucun.

SérieVersionÉtatPubliée le
19.019.0.1.5.0 En développement 15/09/2026

Fiche générée depuis julien2364/omnifloo-oca-edi-framework (branche 19.0, commit 80778c5104f0).

Contrôle automatique du magasin (distinct de l'éditeur), appliqué à toutes les applications. Conforme.

ContrôleRésultatEffet si absent
Manifeste lisible sans exécution conforme bloquant
Licence reconnue (LGPL-3) conforme bloquant
Aucune dépendance vers Odoo Enterprise conforme bloquant
Aucun import de code Enterprise conforme bloquant
Aucun en-tête de licence Enterprise conforme bloquant
Icône static/description/icon.png conforme déclasse
Description (static/description/index.html ou README) conforme déclasse
Tests automatisés (tests/test_*.py) conforme déclasse
Traduction française (i18n/fr.po) absent info
Section « Ce que le module ne fait pas » absent info

Avis des clients connectés. Un avis noté par client ; l'éditeur peut y répondre. Connectez-vous pour laisser un avis.

Éditeur
Odoo Community Association (OCA)
Signaler un problème
https://github.com/OCA/edi-framework
Clients Omnifloo
Support inclus selon votre formule : centre d'aide.