Skip to main content
Odoo Community Association

Edi Exchange Deduplicate OCA

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

This module adds options for deduplication of exchange records on the exchange type:

  • deduplicate_on_exchange: when a record is created, check if older records for the same record are still pending. If so, mark them as obsolete, so only the freshest one is sent or processed. Records without a related record match on the exchange type alone, which suits full-dump payloads where only the latest one matters.

  • delete_obsolete_records: Delete records marked as obsolete.

Table of contents

Configuration

Go to “EDI -> Config -> Exchange Type”.

Enable “Deduplicate on Exchange” option -> Enable “Delete obsolete records” option.

Usage

With all the types that have been enabled “Deduplicate on Exchange” option, this module will check, when a record is created, if older records for the same record (or for the same type, when no record is linked) are still pending. If so, mark them as obsolete (except “block_obsolescence” records). An obsolete record is neither sent nor processed: its job does nothing.

  • “block_obsolescence” is an technical option on records to avoid marking them as obsolete.

  • You can restrict deduplication to specific exchange states with the technical field “deduplicate_on_exchange_record_status” (comma-separated values from “edi_exchange_state”).

With all the types that have been enabled “Delete obsolete records” option, the cron will remove their obsolete records.

  • If the records are obsolete, delete them even if their type’s flag has been disabled.

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 maintainers:

simahawk etobella

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_exchange_deduplicate_oca-19.0.2.0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_edi_exchange_deduplicate_oca-19.0.2.0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9db261203434604445d3a7d8e0ef110b88ced349084a8967d8b6eb329cad86f9
MD5 3d90559b927ade4453ff04b556263b4e
BLAKE2b-256 e094687175cdbdf382c727d3461461b63a1b3b99d2986889567f33e6f279db14

See more details on using hashes here.

Release history Release notifications | RSS feed

19.0.2.0.0.4

1 file

This release

19.0.2.0.0.3 This release

1 file

19.0.2.0.0.2

1 file

19.0.1.1.1

1 file

19.0.1.1.0

1 file

19.0.1.0.0.2

1 file

18.0.1.0.0.2

1 file

16.0.1.1.0.2

1 file

16.0.1.1.0.1

1 file

16.0.1.1.0

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