Product Configurator - Restriction Policy

product_configurator_restriction_policy
REPOSITORY
REPOSITORYOCA/product-configurator
GIT
GIThttps://github.com/OCA/product-configurator.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/product-configurator/tree/14.0/product_configurator_restriction_policy
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYGeneric Modules
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Open Source Integrators
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Open Source Integrators
COMMITTERS
COMMITTERSoca-travis, Weblate, OCA-git-bot, Patrick Wilson
WEBSITE
WEBSITEhttps://github.com/OCA/product-configurator
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:50
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/product-configurator:
    - product_configurator
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
product_configurator_policy_product_template_form_view product.configurator.policy.product.template.form product.template xpath Inherits product_configurator.product_template_only_form_view_inherited
product_configurator_policy_settings_view_form res.config.settings.view.form.inherit.sale res.config.settings xpath Inherits product_configurator.configurator_settings_view_form
Models touched (3)

New fields (0)

No new fields.

Public methods (1)
  • values_available(self, check_val_ids=None, value_ids=None, custom_vals=None, product_tmpl_id=None)
    @api.model
    Overrides product configurator values_available to include the restriction policy option while generating available values

New fields (1)
  • restriction_policy Selection
    default=<expr> help='Standard: When the system is calculating the available values from\n restrictions, it will group the restrictions by attribute and then\n determine the values to show.\n Sequential: The the system will go through each restriction individually\n to calculate the available values to show.' string='Restriction Policy' args: [('standard', 'Standard'), ('sequential', 'Sequential')]
Public methods (0)

No public methods.

New fields (1)
  • restriction_policy Selection
    config_parameter='product_configurator_restriction_policy.restriction_policy' default='standard' help='Standard: When the system is calculating the available values from\n restrictions, it will group the restrictions by attribute and then\n determine the values to show.\n Sequential: The the system will go through each restriction individually\n to calculate the available values to show.' string='Restriction Policy' args: [('standard', 'Standard'), ('sequential', 'Sequential')]
Public methods (0)

No public methods.