Skip to content
Health
83/100
good
  • Security25/25
    No findings
  • Activity20/25
    Last human commit 9 months ago
  • Required by20/25
    2 modules depend on it
  • Maturity18/25
    In 3 Odoo series since 14.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
Required by
2
Modules depending on it
External deps
2 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.06 MB
Module directory on disk
Code analysis 1 migration note 4 models 7 views 0 HTTP endpoints

Description

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

Dependencies

Odoo dependencies
OCA/edi:
OCA/edi-framework:
odoo/odoo:
- web
- bus
Python dependencies
PyYAML, openupgradelib
System dependencies
None
Required by
edi_sale_ubl_oca, edi_sale_ubl_output_oca

Code analysis

Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.

Views touched 7

XML IDNameModelTypeStatus
edi_exchange_type_view_form edi.exchange.type form Inherits edi_core_oca.edi_exchange_type_view_form
edi_state_view_form edi.state form New
edi_state_view_search edi.state search New
edi_state_view_tree edi.state list New
edi_state_workflow_view_form edi.state.workflow form New
edi_state_workflow_view_search edi.state.workflow search New
edi_state_workflow_view_tree edi.state.workflow list New

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 4

New fields (1)
  • state_workflow_ids Many2many → edi.state.workflow
    comodel_name='edi.state.workflow' help='Allowed workflows that can be used by this type of exchanges. You can select only 1 workflow per model.' string='Enabled state workflows'
Public methods (1)
  • get_state_for_model(self, model, code=None, default=False)

New fields (5)
  • code Char
  • description Char
    translate=True
  • is_default Boolean
  • name Char
    required=True translate=True
  • workflow_id Many2one → edi.state.workflow
    comodel_name='edi.state.workflow' ondelete='cascade'
Public methods (0)

No public methods.

New fields (2)
  • edi_state_id Many2one → edi.state
    comodel_name='edi.state' copy=False ondelete='restrict' string='EDI state'
  • edi_state_workflow_id Many2one
    related='edi_state_id.workflow_id'
Public methods (2)
  • edi_find_state(self, code=None, default=False)
  • edi_is_valid_state(self, state=None, exc_type=None)

New fields (5)
  • backend_type_id Many2one → edi.backend.type
    comodel_name='edi.backend.type' ondelete='restrict' required=True string='Backend type'
  • description Char
  • model_id Many2one → ir.model
    comodel_name='ir.model' ondelete='set null'
  • name Char
    required=True
  • state_ids One2many → edi.state
    comodel_name='edi.state' inverse_name='workflow_id' string='Available states'
Public methods (3)
  • get_default_state(self)
  • get_state(self, code)
  • is_valid_for_model(self, model_name)

Loading…

Loading…