Edi Exchange Deduplicate OCA
edi_exchange_deduplicate_oca · OCA/edi-framework
Health
83/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by15/251 module depends on it
-
Maturity18/25In 3 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Required by
1
Modules depending on it
External deps
2 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.07 MB
Module directory on disk
Code analysis
0 migration notes
3 models
1 view
0 HTTP endpoints
Description
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.
Dependencies
- Odoo dependencies
- Python dependencies
- PyYAML, openupgradelib
- System dependencies
- None
- Required by
- edi_exchange_deduplicate_payload_oca
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
edi_exchange_type_view_form_inherit |
edi.exchange.type.form.inherit | edi.exchange.type | form | Inherits edi_core_oca.edi_exchange_type_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (2)
-
block_obsolescenceBooleandefault=Falsehelp='Flag record that can never be marked as obsolete' -
edi_exchange_stateSelectionondelete={'obsolete': 'cascade'}selection_add=[('obsolete', 'Obsolete')]
-
create(self, vals_list)@api.model_create_multi
New fields (4)
-
deduplicate_on_exchangeBooleandefault=Falsehelp='When an exchange record is created, mark the older ones for the same record that are still pending 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.'string='Deduplicate on Exchange' -
deduplicate_on_exchange_record_statusChardefault='new,output_pending,input_pending,input_received'groups='base.group_no_one' -
deduplicate_on_sendBooleancompute='_compute_deduplicate_on_send'help="Deprecated: alias of 'Deduplicate on Exchange'."inverse='_inverse_deduplicate_on_send'search='_search_deduplicate_on_send'string='Deduplicate on Send' -
delete_obsolete_recordsBooleandefault=Truehelp='Delete records marked as obsolete.'string='Delete obsolete records'
No public methods.
Loading…
Loading…
Loading…