OdooWiki OCA HUB

Sale Product Identification Numbers

sale_product_identification folder_open OCA/sale-workflow open_in_new
Uncategorised License: AGPL-3

Sometimes, when selling a product, it is necessary to require documentation (authorization, ID, etc.) from the customer to justify the sale. Examples: Sale of a corrosive product: A document authorizing its handling is required. To control this process, we configure a Corrosive category in the product listing.

Sale of alcohol: In this case, sales to minors are not permitted. To control this process, we configure a Minor category in the product listing.

This module allows you to control these processes through identifications in the product listing.

Please note that this functionality depends on the partner_identification module. For detailed setup and configuration, please refer to that addon's documentation.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Require customer identification documents (authorizations, IDs) before confirming sales orders that contain certain products. Configure which identification categories are needed per product and whether they are mandatory or optional.

This module lets you demand proof of customer identity or authorization before a sale can be confirmed. On each product's Sales tab you get an "Identification" section with a checkbox to enable the requirement and a list where you pick identification categories (defined by the partner identification module), mark each as mandatory or optional, and add an explanatory message.

When a user confirms a sales order, Odoo checks the customer's identification records. If a mandatory identification is missing or expired, confirmation is blocked with an error listing the products and the required categories. If only optional identifications are missing, a pop-up wizard appears showing the list; the user can click Confirm to proceed anyway or Cancel to stop.

  • Identifications are validated against the customer's records, taking validity dates into account.
  • Duplicate categories in a product's configuration are rejected with a validation error.
  • The module touches product.template, sale.order, res.partner.id_number and adds the product.template.id_category and confirm.identification models.
  • Access rights are granted to all internal users.
Models and fields (5)
  • sale.order · extends an existing model
  • product.template · extends an existing modelrequired_identification, product_tmpl_category_ids
  • res.partner.id_number · extends an existing model
  • confirm.identification · new modelmessage, order_ids (Orders)
  • product.template.id_category · new modelmessage, category_id, is_mandatory, product_tmpl_id

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/sale-workflow.

terminal Installation and usage

OCA documentation · Odoo 18.0

Add identifications to the product

  • Go to Sales -> Products -> Products
  • Create a new product
  • Go to the Sales tab and select the Required Identification option.
  • A tree will be enabled in which you must configure the required identification category (ies) for the product without repeating them.
  • If you define any category as optional, a wizard will appear when confirming the order to confirm whether the identifications are correct and continue with the process.
  • Save

Validate order with identification products

  • Go to Sales -> Orders -> Quotations
  • Create a new order and add any products that require identification to the lines.
  • Once the order is confirmed, the selected customer's ID numbers will be validated to see if they have the categories required for the added product(s).
  • If the partner does not have all the categories in their valid identification number (Validity Date), a message will be displayed with the missing categories (and their message defined in the product) to validate.
  • When validating the required categories, the optional ones are validated, for which a wizard will be displayed to confirm.
  • If the customer has all the correct identifications, then the order confirmation follows its normal flow.

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.