OdooWiki OCA HUB

Automatically select invoicing partner on invoice

account_invoice_partner folder_open OCA/account-invoicing open_in_new
Accounting & Finance License: AGPL-3

Replace the partner by an invoice contact if found

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

When you pick a customer or vendor on an invoice, Odoo automatically swaps it for that contact's designated invoicing address, so the bill or invoice goes to the right recipient.

This module changes how the partner is chosen on invoices and bills in Odoo's Accounting app.

  • On any invoice or vendor bill (account.move), when you select a partner in the Partner field, Odoo looks up the invoicing contact configured on that partner's record.
  • If an invoicing contact exists, the Partner field is automatically replaced with that contact, so the document is addressed to the correct invoicing entity.
  • The replacement happens as soon as you change the partner or the company, so you do not have to search for the invoicing contact manually.
  • If no specific invoicing contact is defined, the partner you selected stays as it is.

The behaviour is built on the standard partner change logic, so all the usual automatic updates (payment terms, accounts, taxes, etc.) still run afterwards. There are no new menus, screens, buttons or reports: the change is only visible in the Partner field of invoices and bills. It touches the account.move model and relies on the partner's invoicing address (res.partner).

Depends on

account
Models and fields (1)
  • account.move · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 14.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.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/account-invoicing.

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.