OdooWiki OCA HUB

Partner Uom Mapping

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

This module adds a mapping table between the unit of measure defined in Odoo and a partner side one.

This can be useful for data exchange and if partner (e.g.: supplier) is not using conventions.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets you record, for each contact, the unit of measure name that partner uses, mapped to the matching Odoo unit of measure. Useful when exchanging data with partners who use different unit names.

This module adds a new table called Partner Uom where you can link a contact to an Odoo unit of measure and write the equivalent name that the partner uses for it.

  • Each line stores a contact, an Odoo unit of measure, and the partner's own wording for that unit.
  • The list is editable directly in the grid, and archived lines appear greyed out.
  • A search view lets you filter by contact, by unit of measure, or by the partner's wording, and group the list by contact.
  • The screen is available from the Contacts configuration menu, under the name Partner Uom, and only users in the Partner UOM group can see it.
  • Regular users can read the mapping; only partner managers can create, edit or delete entries.
  • The system prevents saving two active lines with the same contact, same Odoo unit of measure and same partner wording.
  • Each line's display name is built automatically as contact name, partner wording, and Odoo unit name, so it is easy to recognise in lists and links.
  • Lines can be archived instead of deleted, and archived lines are excluded from the duplicate check.

The module touches contacts (res.partner) and units of measure (uom.uom). It does not change sales, purchases or stock documents; it only stores the mapping for reference or for other modules to use.

Depends on

contactsuom
Models and fields (1)
  • partner.uom · new modelactive, uom_id (Unit of Measure), partner_id, partner_uom (Partner Unit of Measure)

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

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

terminal Installation and usage

OCA documentation · Odoo 19.0
  • Go to Settings \> Users & Companies \> Groups
  • Add users to 'Partner UOM'
  • Go to Contacts application \> Configuration \> Product Uom
  • To be able to create and modify Partner Uom, user should be member of Contact Creation group.
  • Create as many mapping per partner as you want.

The mapping value should be unique per partner and per Odoo unit of measure.

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.