TIP: You can type at any time to perform a new search.

Security findings

Repository
OCA/edi-framework · module folder · Try on Runboat
Module version
Category
Uncategorized
Folder size
0.07 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/edi-framework
Last tracking update
2026-09-14 23:28:44
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Ricardoalso, Iván Todorovich, Weblate, OCA-git-bot, oca-ci, Hadrien Huvelle
Odoo dependencies
OCA/edi:
OCA/edi-framework:
odoo/odoo:
- web
- bus
Python dependencies
PyYAML, openupgradelib
System dependencies
None
Required by
None
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.

Code Analysis info_outline

Views touched (1)
XML IDNameModelTypeStatus
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_obsolescence Boolean
    default=False help='Flag record that can never be marked as obsolete'
  • edi_exchange_state Selection
    ondelete={'obsolete': 'cascade'} selection_add=[('obsolete', 'Obsolete')]
Public methods (1)
  • create(self, vals_list)
    @api.model_create_multi

New fields (4)
  • deduplicate_on_exchange Boolean
    default=False help='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_status Char
    default='new,output_pending,input_pending,input_received' groups='base.group_no_one'
  • deduplicate_on_send Boolean
    compute='_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_records Boolean
    default=True help='Delete records marked as obsolete.' string='Delete obsolete records'
Public methods (0)

No public methods.

Loading…

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
663 days ago
Last activity
28 days ago
Repository
OCA/edi-framework
Pull request
[17.0][MIG] edi_exchange_deduplicate_oca: Migration to 17.0 (#128)