OdooWiki OCA HUB

Account Edi No Autocreate Partner

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

This module modifies the invoice import process so that no longer partners are auto-created when no matching is found.

Instead, imported invoices that cannot be linked to an existing partner are automatically assigned to a dedicated fallback partner named "Partner Not Found".

This prevents uncontrolled partner creation and allows users to manually review and correct partner information before posting invoices.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Stops Odoo from creating new vendor contacts when importing electronic invoices. Unmatched invoices are assigned to a protected 'Partner Not Found' contact that must be corrected before posting.

When electronic invoices (UBL/EDI) are imported, Odoo normally tries to match the vendor to an existing contact and creates a new one if none is found. This module changes that behaviour: if no match is found, the invoice is linked to a special fallback contact named 'Partner Not Found' instead of creating a new contact.

The fallback contact is created automatically and is archived (inactive) by default. It is protected: users cannot delete it, and they cannot reactivate it. This keeps it out of normal contact lists while still being available for imported invoices.

A business rule is added on invoices: you cannot post an invoice that is still assigned to the 'Partner Not Found' contact. If you try, Odoo shows an error asking you to assign a proper vendor first. This forces a manual review of imported invoices before they are posted.

The module touches the invoice import matching logic, the invoice posting action, and the contact model. It does not add new menus or screens; the fallback contact appears in the Contacts app (archived) and on the imported invoice's vendor field.

Depends on

account_edi
Models and fields (2)
  • res.partner · extends an existing model
  • account.move · extends an existing model

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.