Sale Product Identification Numbers
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
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.
Add additional validations using expression
Perform steps 1-4 of section Add identifications to the product
Define a category and add the expression with which you want to perform extra validation.
When confirming a sales order, all expressions are validated.
Save.
Note: If you don’t want extra validation, leave the value field blank.
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.
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
Contributors
-
Edilio Escalona Almira e.escalona@binhex.cloud
Maintainers
This module is maintained by the OCA.
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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| 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.