Skip to main content
Odoo Community Association

Sale Product Identification Numbers

Beta License: AGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runboat

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.

Table of contents

Usage

Add identifications to the product

  1. Go to Sales -> Products -> Products

  2. Create a new product.

  3. Go to the Sales tab and select the Required Identification option.

  4. A tree will be enabled in which you must configure the required identification category (ies) for the product without repeating them.

    ADD_IDENTIFICATION

  5. 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.

  6. Save.

Add additional validations using expression

  1. Perform steps 1-4 of section Add identifications to the product

  2. Define a category and add the expression with which you want to perform extra validation.

    IDENTIFICATION_EXPRESSION

  3. When confirming a sales order, all expressions are validated.

  4. Save.

Note: If you don’t want extra validation, leave the value field blank.

Validate order with identification products

  1. Go to Sales -> Orders -> Quotations

  2. Create a new order and add any products that require identification to the lines.

  3. 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).

  4. 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.

    CATEGORY_REQUIRED

  5. When validating the required categories, the optional ones are validated, for which a wizard will be displayed to confirm.

    CONFIRM_IDENTIFICATION

  6. If the customer has all the correct identifications, then the order confirmation follows its normal flow.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Binhex

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/sale-workflow project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Metadata

Release files for odoo-addon-sale-product-identification 18.0.2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo-addon-sale-product-identification 18.0.2.0.0
File Interpreter ABI Platform Actions
odoo_addon_sale_product_identification-18.0.2.0.0-py3-none-any.whl Python 3 none any Details for odoo_addon_sale_product_identification-18.0.2.0.0-py3-none-any.whl

Release files / odoo_addon_sale_product_identification-18.0.2.0.0-py3-none-any.whl

Download URL odoo_addon_sale_product_identification-18.0.2.0.0-py3-none-any.whl
Size 341.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
211eec6933b402801252c753d701472f57d006a976bac53573d5ac45ef6c82ab
BLAKE2b-256 checksum
How to use checksums
fb0e428e13b5d0629814feea332920d360e50aed44f26a849093f30a45c2cd8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for odoo-addon-sale-product-identification 18.0.2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page