OdooWiki OCA HUB

Product Customer code for account invoice

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

Based on product_supplierinfo_for_customer, 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 16.0

Shows the customer-specific product code on invoice lines for sales documents, pulled automatically from the product's customer information.

When you create a customer invoice or credit note, each invoice line can display the product reference that this specific customer uses for that product, instead of only the internal product name. This is useful when a customer orders using their own article numbers and you want to see them on the invoice.

The module adds a computed "customer code" column on the invoice lines table, right after the product column. It only appears on sales documents (customer invoices and credit notes), not on vendor bills. The code is filled in automatically from the customer-specific product information stored on the product, based on the customer selected on the invoice. If no customer code is defined for that product and customer, the field stays empty.

No new menus or screens are added; the change appears directly inside the standard invoice form. The module touches account.move.line and the invoice form view. It relies on the customer product information feature provided by the product_supplierinfo_for_customer module, so that data must be configured on the product beforehand.

Models and fields (1)
  • account.move.line · extends an existing modelproduct_customer_code, partner_show_customer_code

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: 5 confirmed, 4 with no information of 9 versions.

Sources · Odoo 12.0

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