Odoo Community Association

EDI Party data

Alpha License: AGPL-3 OCA/edi-framework Translate me on Weblate Try me on Runboat

Technical module for the EDI suite module to retrieve data for parties of an exchange.

This module provides default component and a mixin to be used for registering new components for specific backends.

Deprecated: the actual party data lookup logic has moved to edi_party_helper_oca, which has no dependency on the component framework. This module now only wraps it in a component for backward compatibility and will be removed once its usages are ported over. A deprecation notice is logged on server startup while this module is installed.

Important

This is an alpha version, the data model and design can change at any time without warning. Only for development or testing purpose, do not use in production. More details on development status

Table of contents

Configuration

ID numbers selection

See edi_party_helper_oca’s configuration.

Name field

On the exchange type form, modify the advanced settings so that the work context of the component that is used (eg: generate) contains party_data_name_field. For instance:

components:
    generate:
        usage: my.generate
        work_ctx:
            party_data_name_field: name

Usage

An handy util method is to retrive the component:

from odoo.addons.edi_party_data_oca.utils import get_party_data_component

component = get_party_data_component(exchange_record, partner)

data = component.get_party()

Deprecated: prefer edi_party_helper_oca’s edi.party.helper model or its EDIParty class directly, they don’t require any component lookup.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Camptocamp

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

simahawk

This module is part of the OCA/edi-framework project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.