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.
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
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.
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
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()
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.
- Camptocamp
- Simone Orsi <simone.orsi@camptocamp.com>
This module is maintained by the OCA.
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:
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.