Skip to main content
Odoo Community Association

EDI Party helper

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

Technical module to retrieve party information for EDI exchanges.

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.

Usage

Via the edi.party.helper abstract model:

party = self.env["edi.party.helper"].get_party(exchange_record, partner)

Or directly, with no ORM registry lookup involved:

from odoo.addons.edi_party_helper_oca.utils import EDIParty

party = EDIParty(exchange_record=exchange_record, partner=partner)

Both return an EDIParty instance: the party data (name, identifiers, endpoint, lang) is exposed directly as attributes, alongside partner. It also behaves like a read-only dict of those same keys (party["name"], dict(party), equality against a plain dict), for backward compatibility with code expecting the old DotDict-based party data.

Both accept the same optional keyword arguments: name_field (defaults to "name") and lang_code (a language code overriding the partner’s own).

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.

Release files for odoo-addon-edi-party-helper-oca 18.0.1.1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-edi-party-helper-oca 18.0.1.1.0.2
File Interpreter ABI Platform
odoo_addon_edi_party_helper_oca-18.0.1.1.0.2-py3-none-any.whl Python 3 none any Details

Release files / odoo_addon_edi_party_helper_oca-18.0.1.1.0.2-py3-none-any.whl

Download URL odoo_addon_edi_party_helper_oca-18.0.1.1.0.2-py3-none-any.whl
Size 33.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8a3a8d4e65904b5b0761377d5ef3c344fdd60d6dbb0ea3a55d42668990ec7b2e
BLAKE2b-256 checksum
How to use checksums
ec674f370e24313206def6f15747ad00139724a2b32fc25a6342fab80d2fa676
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release history Release notifications | RSS feed

This release

18.0.1.1.0.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page