Skip to main content
Odoo Community Association

EDI Exchange Deduplicate Payload

Beta License: LGPL-3 OCA/edi-framework Translate me on Weblate Try me on Runboat

Glue between edi_exchange_deduplicate_oca and edi_payload_tracking_oca.

It adds the Deduplicate unchanged payloads option to output exchange types: an exchange whose payload holds nothing new compared with the payload already exported for its record is not sent, and is marked as obsolete instead. The payload of a record deleted meanwhile is not sent either.

Table of contents

Use Cases / Context

Integrations sending only what changed since the last export (see edi_payload_tracking_oca) still include some keys in every payload, e.g. the identifiers the partner needs. An export triggered by a change that does not affect the payload then carries nothing new. Left pending, such an exchange would be queued again by the output cron, forever: marking it as obsolete, as edi_exchange_deduplicate_oca does for superseded exchanges, ends it.

Usage

Tick Deduplicate unchanged payloads on the output exchange type. The model of the exported records must inherit edi.payload.consumer.mixin, and the send handler must store the exported payload after each successful send (record.edi_payload_set_output()).

Before sending, the payload of the exchange (a JSON object) is compared with the stored one through record._edi_payload_has_changes(payload): by default, it has changes when nothing was exported yet, or when a key holds a value different from the stored one. Override this method to refine the comparison for a model.

Records of models that do not track their payload are sent as usual.

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.

Metadata

Release files for odoo-addon-edi-exchange-deduplicate-payload-oca 19.0.1.0.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-exchange-deduplicate-payload-oca 19.0.1.0.0.2
File Interpreter ABI Platform Actions
odoo_addon_edi_exchange_deduplicate_payload_oca-19.0.1.0.0.2-py3-none-any.whl Python 3 none any Details for odoo_addon_edi_exchange_deduplicate_payload_oca-19.0.1.0.0.2-py3-none-any.whl

Release files / odoo_addon_edi_exchange_deduplicate_payload_oca-19.0.1.0.0.2-py3-none-any.whl

Download URL odoo_addon_edi_exchange_deduplicate_payload_oca-19.0.1.0.0.2-py3-none-any.whl
Size 30.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b0a46f83e5ba12db6e5ecc5b54d17f08b55788478d1cd9e0e892ed026a439f5
BLAKE2b-256 checksum
How to use checksums
39f7ab951143030f1293fdda268c53f0c99b8cca1a83119ed881c79841fe7d7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for odoo-addon-edi-exchange-deduplicate-payload-oca 19.0.1.0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

19.0.1.0.0.2 This release

1 release file No provenance

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