OdooWiki OCA HUB

EDI Notification

edi_notification_oca folder_open OCA/edi-framework open_in_new
Uncategorised License: LGPL-3

This module creates activities for users when an exchange record's process fails.

It also installs an edi.configuration rule (Notify Users On Exchange Error) that calls edi.notification.tool on process errors.

Exchange types must be configured properly to create such activities:

  • field "Notify On Process Error" must be checked to activate the feature for the current exchange type
  • field "Activity Type Used When Notify On Process Error" is used to define the type of the newly created activity
  • fields "Notify Groups On Process Error" and "Notify Users On Process Error" are used to define the users that will be assigned to the newly created activity

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

When an EDI exchange fails, this module automatically creates warning activities for the users and groups you choose, so they can follow up on the error.

This module adds a notification option to EDI exchange types. On the exchange type form, you can tick "Notify On Process Error" and then, on a new "Notification" tab, choose the activity type to use, the user groups and the individual users who should be notified.

When an exchange record of that type ends in error, the module schedules an activity for every selected user (including all members of the selected groups). The activity uses the chosen activity type, is marked as automated, and its note contains the exchange error message, so the user sees what went wrong directly in the activity.

A default activity type named "EDI Exchange Record: Failed" is provided, with a warning icon, and is preselected when you enable the option. If you untick the notification option, the selected groups and users are cleared automatically; conversely, selecting groups or users turns the option on.

The feature is driven by a global EDI configuration rule called "Notify Users On Exchange Error", which triggers on record errors and only runs when the exchange type has a complete notification setup (option enabled, activity type set, and at least one group or user).

The module extends edi.exchange.type and adds activity support to edi.exchange.record through the standard activity mixin.

Depends on

Models and fields (3)
  • edi.exchange.type · extends an existing modelnotify_on_process_error, notify_on_process_error_enabled, notify_on_process_error_users_ids (Notify Users On Process Error), notify_on_process_error_groups_ids (Notify Groups On Process Error), notify_on_process_error_activity_type_id (Activity Type Used When Notify On Process Error)
  • edi.exchange.record · new model
  • edi.notification.tool · new model

Text generated by AI (DeepSeek) from reading the Odoo 19.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 19.0

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

terminal Installation and usage

OCA documentation · Odoo 19.0

The module provides an edi.configuration entry named Notify Users On Exchange Error.

You can review or adapt this configuration under EDI configurations if you need to change the trigger behavior or the executed snippets.

To enable notifications for a specific exchange type:

  • enable Notify On Process Error
  • select an activity type in Activity Type Used When Notify On Process Error
  • assign recipients with Notify Groups On Process Error and/or Notify Users On Process Error

No verified information in OCA: Installation, Usage.

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.