OdooWiki OCA HUB

Product Customer code for account invoice

product_customerinfo_invoice folder_open OCA/account-invoicing open_in_new
Account License: AGPL-3

Based on product_customerinfo, this module loads in every account invoice the customer code defined in the product.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Shows the customer-specific product code on customer invoices and credit notes, pulled automatically from the product's customer information.

This module adds a customer code column to the invoice lines of customer documents in Odoo's Accounting app.

  • On customer invoices and credit notes (sale documents), a new column appears next to the product on each invoice line, showing the product code defined for that customer in the product's customer information.
  • The code is filled in automatically: it looks at the product and the invoice's customer, finds the matching customer-specific product code, and displays it. If no customer code is defined, the column stays empty.
  • The column is hidden on documents that are not customer documents, such as vendor bills, so it only shows where it makes sense.
  • The value is recalculated when the product, the customer, or the document type changes, so it always stays in sync.
  • It works together with the product customer information module, which is where the customer codes are maintained.

It touches the invoice and invoice line records (account.move and account.move.line) and adds the column to the standard invoice form view.

Depends on

Models and fields (2)
  • account.move · extends an existing modelpartner_show_customer_code
  • account.move.line · extends an existing modelproduct_customer_code

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

Confirmed on 2026-11-03 in branch 18.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.