OdooWiki OCA HUB

Partner supplier information

partner_supplierinfo folder_open OCA/partner-contact open_in_new
Uncategorised License: AGPL-3

This module allows you to add customer references for different suppliers.

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Adds a "Supplier Information" tab on the contact form where you can store, for each supplier, the reference that supplier uses for that contact. A computed field shows the right reference depending on the supplier in context.

This module lets you record, on any contact, the reference codes that different suppliers use to identify that same contact. On the contact form a new "Supplier Information" tab appears, containing an editable list where each line has a reference and a supplier.

  • Each line links one contact (the partner) to one supplier and stores the supplier's own reference for that contact.
  • The same supplier cannot be listed twice for the same contact: a database rule blocks duplicates and shows the message "A reference of this supplier already exists."
  • A computed field on the contact returns the supplier-specific reference when the system knows which supplier is being used, and otherwise falls back to the contact's own reference.
  • The tab is added to the standard contact form, so it is available to all internal users, who can read, create, edit and delete these lines.

The module touches the contact model res.partner and introduces a new model partner.supplierinfo that stores the reference, the contact and the supplier. It does not add its own menu; everything is reached from the contact form.

Depends on

base
Models and fields (2)
  • res.partner · extends an existing modelsupplier_ref, supplier_info_ids
  • partner.supplierinfo · new modelref, partner_id, supplier_id

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

Confirmed on 2026-11-03 in branch 15.0 of OCA/partner-contact.

terminal Installation and usage

OCA documentation · Odoo 15.0

To gather a contact's specific supplier reference you'll need a third module that calls the field with the proper context:

partner.with_context(supplier_id=supplier.id).supplier_ref

If no supplier is found in the related partner.supplierinfo records, we'll get the regular ref field content.

To add supplier informations to your contacts:

  • Go to any partner form.
  • In Supplier Information tab customer references can be created edited or consulted.
  • In this tab there is a tree view, the following fields are displayed:
  • Ref for the customer reference
  • Supplier for the supplier it belongs to

No verified information in OCA: Installation, Configuration.

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.