Repository
OCA/edi-framework · module folder · Try on Runboat
Module version
1.2.0
Category
Uncategorized
Folder size
0.07 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/edi-framework
Last tracking update
2026-08-07 09:06:36
Authors
Camptocamp, Odoo Community Association (OCA), Dixmit
Maintainers
Camptocamp, Odoo Community Association (OCA), Dixmit
Committers
Ricardoalso, Weblate, OCA-git-bot, oca-ci, Hector Vior, Sergij Pfaifer
Odoo dependencies
OCA/edi:
OCA/edi-framework:
OCA/queue:
odoo/odoo:
- web
- bus
Python dependencies
PyYAML, openupgradelib, requests
System dependencies
None
Required by
None
Description
This module integrates EDI exchange records with
[Queue Job](https://github.com/OCA/queue), 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.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
edi_exchange_record_form_view edi.exchange.record form Inherits edi_core_oca.edi_exchange_record_view_form
edi_exchange_type_form_view edi.exchange.type form Inherits edi_core_oca.edi_exchange_type_view_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • related_queue_jobs_count Integer
    compute='_compute_related_queue_jobs_count'
Public methods (5)
  • action_exchange_generate_send_chained(self)
  • action_exchange_send_job_options(self)
  • action_view_related_queue_jobs(self)
  • delayable(self, **kw)
  • with_delay(self, **kw)

New fields (6)
  • job_channel_id Many2one → queue.job.channel
    comodel_name='queue.job.channel'
  • job_eta_enabled Boolean
    help='Accumulate all queue jobs for this exchange type and release them at the daily time configured below, instead of dispatching each job immediately. Use this when a trading partner only processes files at a fixed daily window, or to concentrate resource-intensive EDI work in off-peak hours.' string='Enable ETA Scheduling'
  • job_eta_hour Selection
    default='00' help='Hour of the day at which jobs for this type should be scheduled.' string='Execution time - hour' args: <expr>
  • job_eta_minute Selection
    default='00' help='Minute of the hour at which jobs for this type should be scheduled.' string='Execution time - minute' args: <expr>
  • job_eta_tz Selection
    default=<expr> help="ETA's timezone for jobs of this type" string='Execution time - timezone' args: timezone_selection
  • job_priority Integer
Public methods (0)

No public methods.

Loading…