Skip to Content

Quoting: Hiding “Create Product”

March 5, 2024 by
Quoting: Hiding “Create Product”
ANOR, Cyrille de LAMBERT

Auguria News

Odoo: v17

Technical name: sale_restrict_product_creation

Context: Sales / Quoting

Description:

In a quotation, when adding a product, the user starts typing the product reference (e.g. “pump”). Odoo then runs an advanced search on the text entered (“pump”) and displays the search results in a dropdown (“pump 1”, “pump ABC” ...) plus a “Create Product” option. If the search returns no product, “Create Product” remains the only option available and a product is created when pressing Enter.

This behavior does not suit every customer, especially those who quickly type product references on the keyboard. The risk is creating unnecessary products.

This custom module hides the “Create Product” option in the product search dropdown.

Note: this module can be used in addition to the exact-match selection module ( https://www.auguria.fr/blog/modules-odoo-auguria-9/devisage-selection-d-un-article-par-correspondance-exacte-de-la-reference-116 )


Quoting: Hiding “Create Product”
ANOR, Cyrille de LAMBERT March 5, 2024
Share this post
Tags
Our blogs