Website Pricelist Restriction MEP
Ultimate control over B2B and B2C pricing visibility in your Odoo E-commerce
Why do you need this module?
Managing different pricing strategies for B2B (wholesale/internal) and B2C (public) customers on the same Odoo website can be challenging. By default, if a pricelist is selectable, it becomes visible to everyone on the web, exposing your internal or specialized rates to unauthorized visitors.
This module bridges the gap between backend sales permissions and the frontend e-commerce. It perfectly integrates with the 'restrict_pricelist_user' app to ensure that internal employees can only select their authorized pricelists, while public visitors and portal customers are strictly locked to a single, default public price, completely hiding the selector to prevent URL-tampering.
Main Features
ð Smart Restriction for Internals
Automatically filters the website's pricelist dropdown for logged-in employees, displaying only the specific pricelists assigned to their user profile in the backend.
ð Default Public Pricing
Allows you to define a "Default Public Pricelist" in the website settings. This rate is aggressively forced for all anonymous visitors and logged-in portal customers.
ðï¸ Clean & Secure UI
Because external users are forced into a single pricelist, the Odoo frontend automatically hides the pricelist selector from the header, ensuring a clean and secure checkout process.
â¡ Highly Optimized
Built with performance in mind. The module injects its logic safely into the `get_pricelist_available` method without causing recursive database queries or slowing down product rendering.
System Views
Global Settings Configuration
Internal User View (Authorized Pricelists)
Public View (Selector Hidden)
Important: Dependencies
To work correctly, this application acts as a bridge and requires the installation of the following modules in your Odoo environment:
- eCommerce (website_sale): The standard Odoo web shop module.
- Restrict Pricelists for Users (restrict_pricelist_user): The base backend module by Cybrosys Technologies that adds the 'Allowed Pricelists' tab in the user form.
Support and Contact
Designed by engineers, for engineers. Taking your company's analytical capacity to the next level.
Ing. Melvin Padilla
Software Engineering, Data Analysis & ERP | PyDataCrunch, C.A.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Sales (sale_management) • Discuss (mail) • Invoicing (account) • Website (website) |
| Community Apps Dependencies | Show |
| Lines of code | 150 |
| Technical Name |
website_pricelist_restriction_mep |
| License | LGPL-3 |
| Website | https://www.meppadilla.com |
Please log in to comment on this module