Skip to main content

Allow to store metadata for related records.

Project description

Alpha License: LGPL-3 OCA/edi-framework Translate me on Weblate

Technical module for the EDI suite to provide a way to store some technical data.

For instance, you receive a sale order via EDI and you want to store some original values from the incoming file without having to parse again the whole file or compute values that you need later to compite something else.

Table of contents

Usage

Get / set metadata

On a edi.exchange.record:

exc_record.set_metadata({…}) exc_record.get_metadata()

Automatically store metadata from consumer records

  • Make sure your model inherits from edi.exchange.consumer.mixin

  • Override _edi_get_metadata_to_store

NOTE: automatic storage happens only when create gets called in an EDI framework session (edi_framework_action is in ctx).

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 smashing 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.

Project details


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

File details

Details for the file odoo14_addon_edi_record_metadata_oca-14.0.1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo14_addon_edi_record_metadata_oca-14.0.1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cb1bb93c660ba8e0609245d6f00d75925e0300b805c56a1dca5924e58f520a03
MD5 359525f75bcba3878018f2e0491d4008
BLAKE2b-256 0e449cb69553b83e14f3fb896c5ba3502624daaf124e75f90b5b17e9036d1f6c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page