EDI Notification

edi_notification_oca
REPOSITORY
REPOSITORYOCA/edi-framework
GIT
GIThttps://github.com/OCA/edi-framework.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi-framework/tree/19.0/edi_notification_oca
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, Ricardoalso
WEBSITE
WEBSITEhttps://github.com/OCA/edi-framework
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:40:48
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/edi:
    - base_edi
OCA/edi-framework:
    - edi_core_oca
odoo/odoo:
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES PyYAML
openupgradelib
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
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

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
edi_exchange_type_view_form edi.exchange.type group Inherits edi_core_oca.edi_exchange_type_view_form
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (5)
  • notify_on_process_error Boolean
    default=False help="If an error happens on process, a notification will be sent to all selected users. If active, please select the specific groups and specific users in the 'Notifications' page."
  • notify_on_process_error_activity_type_id Many2one → mail.activity.type
    default=<expr> string='Activity Type Used When Notify On Process Error' args: 'mail.activity.type'
  • notify_on_process_error_enabled Boolean
    compute='_compute_notify_on_process_error_enabled'
  • notify_on_process_error_groups_ids Many2many → res.groups
    comodel_name='res.groups' inverse='_inverse_notify_on_process_error_groups_users' string='Notify Groups On Process Error'
  • notify_on_process_error_users_ids Many2many → res.users
    comodel_name='res.users' help="Select users to send notifications to. If 'Notification Groups' have been selected, notifications will also be sent to users selected in here." inverse='_inverse_notify_on_process_error_groups_users' string='Notify Users On Process Error'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (1)
  • on_edi_exchange_error(self, exchange_record)
    Schedule notification activities for a failed exchange record. This hook is intended to be called by an ``edi.configuration`` snippet (see ``edi_notification_oca/data/edi_configuration.xml``) when an exchange record process ends in error.
REPOSITORY
REPOSITORYOCA/edi-framework
GIT
GIThttps://github.com/OCA/edi-framework.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi-framework/tree/18.0/edi_notification_oca
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSOCA-git-bot, SilvioC2C, oca-ci
WEBSITE
WEBSITEhttps://github.com/OCA/edi-framework
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:30:12
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/connector:
    - component_event
    - component
OCA/edi:
    - base_edi
OCA/edi-framework:
    - edi_core_oca
    - edi_component_oca
odoo/odoo:
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - html_editor
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES PyYAML
openupgradelib
cachetools
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module creates activities for users when an exchange record's process fails.

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

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
edi_exchange_type_view_form edi.exchange.type group Inherits edi_oca.edi_exchange_type_view_form
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (4)
  • notify_on_process_error Boolean
    default=False help="If an error happens on process, a notification will be sent to all selected users. If active, please select the specific groups and specific users in the 'Notifications' page."
  • notify_on_process_error_activity_type_id Many2one → mail.activity.type
    default=<expr> string='Activity Type Used When Notify On Process Error' args: 'mail.activity.type'
  • notify_on_process_error_groups_ids Many2many → res.groups
    comodel_name='res.groups' inverse='_inverse_notify_on_process_error_groups_users' string='Notify Groups On Process Error'
  • notify_on_process_error_users_ids Many2many → res.users
    comodel_name='res.users' help="Select users to send notifications to. If 'Notification Groups' have been selected, notifications will also be sent to users selected in here." inverse='_inverse_notify_on_process_error_groups_users' string='Notify Users On Process Error'
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYOCA/edi-framework
GIT
GIThttps://github.com/OCA/edi-framework.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/edi-framework/tree/16.0/edi_notification_oca
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYUncategorized
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Camptocamp
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Camptocamp
COMMITTERS
COMMITTERSWeblate, OCA-git-bot, oca-ci, Quoc Duong
WEBSITE
WEBSITEhttps://github.com/OCA/edi-framework
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:53:46
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/connector:
    - component_event
    - component
OCA/edi:
    - base_edi
OCA/edi-framework:
    - edi_oca
OCA/queue:
    - queue_job
odoo/odoo:
    - base
    - mail
    - base_setup
    - web
    - bus
    - web_tour
    - base_sparse_field
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES PyYAML
cachetools
requests
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (1)
XML IDNameModelTypeStatus
edi_exchange_type_view_form edi.exchange.type group Inherits edi_oca.edi_exchange_type_view_form
Models touched (2)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (4)
  • notify_on_process_error Boolean
    default=False help="If an error happens on process, a notification will be sent to all selected users. If active, please select the specific groups and specific users in the 'Notifications' page."
  • notify_on_process_error_activity_type_id Many2one → mail.activity.type
    default=<expr> string='Activity Type Used When Notify On Process Error' args: 'mail.activity.type'
  • notify_on_process_error_groups_ids Many2many → res.groups
    comodel_name='res.groups' inverse='_inverse_notify_on_process_error_groups_users' string='Notify Groups On Process Error'
  • notify_on_process_error_users_ids Many2many → res.users
    comodel_name='res.users' help="Select users to send notifications to. If 'Notification Groups' have been selected, notifications will also be sent to users selected in here." inverse='_inverse_notify_on_process_error_groups_users' string='Notify Users On Process Error'
Public methods (0)

No public methods.