OdooWiki OCA HUB

Product Configurator - Restriction Policy

product_configurator_restriction_policy folder_open OCA/product-configurator open_in_new
Generic Modules License: AGPL-3

This module adds restriction policies to products. There are two types of policies: "Standard" where the system groups restrictions together by attribute and then calculates the values that are available. "Sequential" where the system will process each restriction in order to determine the values that are available.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Lets you choose how the product configurator decides which attribute values stay selectable: either by grouping restrictions per attribute (Standard) or by checking each restriction one by one (Sequential).

When customers configure a product, some attribute values must be hidden because of restrictions. This module adds a setting that controls how those available values are calculated.

  • On each product (product.template) a new field 'Restriction Policy' appears just above the configuration lines, with two choices: Standard and Sequential.
  • In the configurator settings screen, under a 'Restrictions' heading, you can set a 'Default Restriction Policy' that is used for new products.

Standard groups the restrictions by attribute and then works out which values can be shown. Sequential goes through each restriction individually to work out the available values. The chosen policy is used when the configuration session computes the values that remain selectable, so it changes what a customer can pick during configuration.

The default for a new product is taken from the system setting, falling back to Standard if nothing is configured. The module touches product.template, product.config.session and res.config.settings.

Models and fields (3)
  • product.template · extends an existing modelrestriction_policy (Restriction Policy)
  • res.config.settings · extends an existing modelrestriction_policy (Restriction Policy)
  • product.config.session · extends an existing model

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

Confirmed on 2026-11-03 in branch 14.0 of OCA/product-configurator.

terminal Installation and usage

OCA documentation · Odoo 14.0

To use this module you need to:

  • Go to Settings > Product Configurator and set the default policy if desired (Standard is the default)
  • The policy on products will default to the default policy but can be changed on each product.

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.