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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_edi_party_helper_oca-18.0.1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_edi_party_helper_oca-18.0.1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3c7f28f884f02dc8b381e82d36f978496f1126d076e7beb159e8c7413865a666
MD5 94ddc8838d718807193c908752cd1719
BLAKE2b-256 b41f200afe9d7aab3779ea8d9916a46d5c0895f9c8e103e6d1fcb9b1e497af78

See more details on using hashes here.

Release history Release notifications | RSS feed

18.0.1.0.1.2

1 file

18.0.1.0.1.1

1 file

This release

18.0.1.0.1 This release

1 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