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.0When 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
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-03Confirmation status: 1 confirmed, 8 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/edi.
terminal Installation and usage
No verified informationInstallation 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.
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.