Website Sale Restrict By Pricelist
website_sale_restrict_by_pricelist · OCA/e-commerce
Health
47/100
poor
-
Security25/25No findings
-
Activity12/25Last human commit 13 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 15.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.09 MB
Module directory on disk
Code analysis
1 migration note
2 models
2 views
1 HTTP endpoint
Migration considerations
view_partner_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
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.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_config_settings_view_form |
res.config.settings.view.form.inherit | res.config.settings | form | Inherits website_sale.res_config_settings_view_form |
view_partner_form |
res.partner.view.form.inherit | res.partner | form | Inherits base.view_partner_form |
HTTP endpoints 1
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
| (inherited route override) | WebsiteSaleRestrictPartnerProductController.shop |
inherited | http | ALL |
Models touched 2
New fields (1)
-
restrict_products_for_all_usersBooleanconfig_parameter='website_sale_restrict_by_pricelist.restrict_products'help='Enable to restrict products base on the assigned pricelist of all users.'
No public methods.
New fields (2)
-
restrict_productsBooleanhelp='Enable to restrict products base on the assigned pricelist.' -
restrict_products_for_all_usersBooleancompute='_compute_restrict_products_for_all_users'store=False
No public methods.
Loading…