OdooWiki OCA HUB
Uncategorised License: LGPL-3

Technical module for the EDI suite to provide additional states for any records.

Example: a SO is generated via UBL file and you want to provide an ORDRSP with the right state on the order and on each line.

It provides 2 new models:

  • EDI state workflow > - groups states together > - limit states to a specific model
  • EDI state > - describe the state of the record

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you define EDI state workflows and states, and assign an EDI state to records such as orders and order lines so their EDI progress is tracked.

This module adds a way to describe the EDI (electronic data interchange) status of business records. It introduces two new configuration screens under the EDI configuration menu, in a "States" section: "EDI state workflow" and "EDI state".

  • An EDI state workflow groups the possible states for one specific model (for example, a sales order) and is linked to a backend type. Each workflow lists its available states.
  • An EDI state has a name, a description, a code and a default flag. Codes must be unique inside a workflow, and only one state per workflow can be marked as the default one.

On EDI exchange types, a new "States" tab lets you enable the workflows that this exchange type may use. Only one workflow per model is allowed, and Odoo blocks saving if you select two workflows for the same model.

Records that use the EDI state consumer mixin get an "EDI state" field (and its related workflow). Odoo checks that the chosen state belongs to a workflow valid for that record's model and enabled on the record's exchange type; otherwise it refuses the change with an error. Helper methods let the system find a state by code or the default state, and set the state automatically.

Depends on

Menus it adds

Statesmenu_edi_state_workflowmenu_edi_state
Models and fields (4)
  • edi.state · new modelcode, name, is_default, description, workflow_id
  • edi.exchange.type · extends an existing modelstate_workflow_ids (Enabled state workflows)
  • edi.state.workflow · new modelname, model_id, state_ids (Available states), description, backend_type_id (Backend type)
  • edi.state.consumer.mixin · new modeledi_state_id (EDI state), edi_state_workflow_id

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/edi-framework.

terminal Installation and usage

OCA documentation · Odoo 18.0

Go to "EDI -\> Config -\> States" and configure workflow and states. Go to "EDI -\> Config -\> EDI Exchange Type" and enable 1 or more workflow on a given type.

Add the mixin edi.state.consumer.mixin to the model that will use states.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.