Website Sale Restrict By Pricelist

website_sale_restrict_by_pricelist
REPOSITORY
REPOSITORYOCA/e-commerce
GIT
GIThttps://github.com/OCA/e-commerce.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/e-commerce/tree/15.0/website_sale_restrict_by_pricelist
VERSION
VERSION 1.0.0
CATEGORY
CATEGORYeCommerce
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), APSL-Nagarro
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), APSL-Nagarro
COMMITTERS
COMMITTERSOCA-git-bot, oca-ci, Antoni Marroig Campomar
WEBSITE
WEBSITEhttps://github.com/OCA/e-commerce
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:00:35
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - website_sale
    - website
    - digest
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - social_media
    - google_recaptcha
    - utm
    - sale
    - sales_team
    - payment
    - account
    - product
    - uom
    - analytic
    - website_payment
    - website_mail
    - portal_rating
    - rating
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module customizes the website shop page so that portal users only see products that are explicitly included in their assigned pricelist. It ensures personalized product visibility per customer without affecting internal users or public visitors.

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
res_config_settings_view_form res.config.settings.view.form.inherit res.config.settings xpath Inherits website_sale.res_config_settings_view_form
view_partner_form res.partner.view.form.inherit res.partner xpath Inherits base.view_partner_form
Models touched (2)

New fields (1)
  • restrict_products_for_all_users Boolean
    config_parameter='website_sale_restrict_by_pricelist.restrict_products' help='Enable to restrict products base on the assigned pricelist of all users.'
Public methods (0)

No public methods.

New fields (2)
  • restrict_products Boolean
    help='Enable to restrict products base on the assigned pricelist.'
  • restrict_products_for_all_users Boolean
    compute='_compute_restrict_products_for_all_users' store=False
Public methods (0)

No public methods.

STATUS
STATUSOpen migration PR - not merged yet for this version
REPOSITORY
REPOSITORYOCA/e-commerce
PULL REQUEST
PULL REQUEST[16.0][MIG]:website_sale_restrict_by_pricelist (#1166)