Toggle navigation

EDI Party data

Alpha License: AGPL-3 OCA/edi 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.

It’s based on partner_identification so that the party information will include allowed ID numbers for a given exchange.

You can configure which ID number categories are allowed on the exchange type.

Table of contents

Configuration

ID numbers selection

On the exchange type form, find the field «ID categories» and set the categories allowed for that exchange type.

If not set, all the IDs of the partner will be exposed.

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()

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 project on GitHub.

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