OdooWiki OCA HUB

Account Edi Retrieve Partner

account_edi_retrieve_partner folder_open OCA/edi open_in_new
Uncategorised License: AGPL-3

This module ensures that the imported invoice is always linked to the commercial partner. By default, the import mechanism may return a child contact instead of the main company.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

When importing a vendor invoice from an EDI/XML file, Odoo now always links it to the main company contact instead of a child contact.

This module changes how Odoo identifies the vendor when it imports an invoice from an electronic file (EDI/XML).

Normally, the import process looks for a matching contact using the name, phone, email or VAT number found in the file. That search can return a child contact (for example, a specific person or department inside a company) rather than the main company record.

With this module installed, after Odoo finds the matching contact, it automatically replaces it with the main company contact (the commercial partner). The invoice is therefore always attached to the parent company, not to one of its sub-contacts.

  • Applies to the EDI invoice import flow handled by account.edi.format.
  • No new menus, screens, buttons or reports are added.
  • No new settings or configuration options are introduced.
  • The change is automatic and silent: users simply see the imported invoice linked to the correct main vendor.

This helps keep vendor accounting consistent, because invoices, payments and reports stay grouped under the main company instead of being split across several child contacts.

Depends on

account_edi

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.