| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Sales (sale_management)
• Discuss (mail) • Invoicing (account) |
| Technical Name |
se_show_product_sale_price |
| License | AGPL-3 |
| Website | https://sprinterp.com |
| Versions | 16.0 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Sales (sale_management)
• Discuss (mail) • Invoicing (account) |
| Technical Name |
se_show_product_sale_price |
| License | AGPL-3 |
| Website | https://sprinterp.com |
| Versions | 16.0 17.0 18.0 19.0 |
Show/Hide Product Sale Price
Restrict visibility of Product Sales Price using advanced security groups to protect your sensitive pricing data.
Module Highlights
How Pricing Security Works
This module uses a robust security group-based logic to control field visibility at the view level.
Instead of modifying the database schema, it securely intercepts the Product Template and Product
Variant views to apply conditional visibility.
When a user is assigned to the "Show Sale Price in Product" security group,
the system dynamically renders the pricing fields across all standard Odoo interfaces. If the user
is not
in this group, both the numerical values and their corresponding labels are completely omitted
from the UI, ensuring 100% financial data confidentiality for your sensitive pricing strategy.
Configure Pricing Access Rights
Navigate to Settings > Users & Companies > Users and select a user. Under the Extra Rights section, you will find the security option: "Show sale price in product". Simply check this box to grant sales pricing visibility to specific team members.
Granular Control: Pricing data is hidden by default. Only users with this specific right can view the sales price across all product views.
Pricing Lockdown in Kanban & List Views
Security is not limited to the form view. When a user without specific permissions accesses the Product Kanban or List View, the Sales Price is completely hidden. This ensures your sensitive financial data remains protected even from high-level dashboards or quick-look views.
Global UI Protection: The module utilizes advanced XPath inheritance to automatically remove price fields from every standard interface, maintaining a clean and secure environment without disrupting background calculations.
Confidentiality in List (Tree) View
The List View is often used for quick data exports and comparisons. This module ensures that the Sales Price column is completely removed for unauthorized users, preventing any accidental data exposure when browsing through the full product catalogue.
Column-Level Security: The column header and the values are both stripped from the view, ensuring that restricted users see a clean list without any pricing placeholders.
Secure Product Form View
On the Product Form View, the Sales Price field is completely removed for users without the required access rights. Even the field label is hidden, ensuring that the interface remains clean and does not reveal that any sensitive information is being withheld.
Seamless UI Integration: The layout automatically adjusts when fields are hidden, providing a natural user experience for non-authorized staff while maintaining strict data privacy.
Full Protection for Product Variants
Security isn't just applied to the main product template. This module extends its protection to the Product Variants level as well. Whether your team is looking at individual variants or the entire list, the Sales Price remains strictly hidden for unauthorized users.
Variant Level Security: The module ensures that no pricing information leaks through different UI layers, maintaining total data confidentiality across all product-related views.
Variant Kanban Privacy
The security extends to the Product Variants Kanban View as well. This ensures that even when team members are browsing through different variant combinations in a card-based layout, the sensitive sales pricing remains completely invisible to anyone without authorized access.
Consistent Security: Whether it's the main product list or the specific variants kanban, our module maintains a consistent lockdown of pricing data across the entire Odoo ecosystem.
Restricted Variant Form View
The protection is absolute. Even when opening a specific Product Variant Form, the Sales Price field is completely removed for unauthorized users. This ensures that sales staff or other departments can manage variant details like internal references or barcodes without accessing sensitive pricing data.
Deep Field Security: The module targets the core 'list_price' and 'lst_price' fields across all inherited views, ensuring a 360-degree security lockdown of your product pricing.
Granting Access to Authorized Users
To allow a specific user (like a Sales Manager) to view product pricing, simply navigate to their user profile and enable the "Show sale price in product" checkbox. Once checked, all price fields will become visible to that user across all Odoo interfaces instantly.
Easy Management: Access control is handled directly through Odoo's standard security framework, making it easy to audit and manage permissions as your team grows.
Full Price Visibility for Authorized Staff
Once the access right is granted, authorized team members can view the Sales Price seamlessly across all interfaces. In the Kanban View, the price tag reappears on each product card, allowing for quick reference during sales calls or inventory management without any extra clicks.
Seamless Experience: The module ensures that while unauthorized users are restricted, authorized personnel experience zero friction, seeing all necessary data in Odoo's standard layout.
Full Price Visibility in List View
For authorized users, the Sales Price column is fully restored in the Product List View. This allows managers and authorized staff to perform quick audits, compare pricing across the product range, and make data-driven decisions with all financial information at their fingertips.
Complete Data Access: The module ensures that when the security group is assigned, the user regains complete access to the pricing column, maintaining the standard Odoo list view functionality without any loss of data.
Full Price Visibility in Form View
Once authorized, the Sales Price field is fully restored on the Product Form View. Authorized users can now view and edit the sales pricing directly from the product detail page, ensuring they have all the necessary information to manage product data effectively.
Standard Functionality Restored: The module ensures that for authorized personnel, the Odoo interface remains completely standard and functional, allowing for seamless pricing management without any UI changes.
Variant Level Pricing Visibility
Authorized users regain full access to pricing at every level. In the Product Variants List View, the Sales Price column becomes visible, allowing managers to see specific pricing for each attribute combination, ensuring accurate financial tracking for all product versions.
Total Transparency: The module ensures that when the "Show sale price in product" group is assigned, there are no hidden gapsâprices are restored across Templates, Variants, and all their respective views.
Variant Kanban Price Restoration
The final piece of the puzzle: for authorized users, the **Sales Price** reappears on each card in the **Product Variants Kanban View**. This ensures that managers can quickly scan through different product variations and their respective prices in a highly visual and efficient layout.
Comprehensive Visibility: Our module ensures a consistent experienceâhiding data where it's not needed and fully restoring it across every single Odoo view for those with the right permissions.
Variant Detail Visibility
For authorized users, the Sales Price is also fully restored on the individual Product Variant Form. This allows for precise pricing management at the variant level, ensuring that specific prices for custom attributes (like color or material) can be reviewed and edited with full transparency.
Full Access Restored: The module seamlessly transitions between restricted and full-access modes based on the user's security group, providing a powerful yet simple way to manage data privacy.
Module Capabilities & Features
A specialized security utility for Odoo that provides granular control over sensitive product pricing, ensuring data confidentiality across your organization.
Sale Price Protection
Automatically hides the Sales Price (list_price) from unauthorized users
to keep your pricing strategy sensitive and secure.
Custom Access Group
Manage permissions easily with the "Show sale price in product" security group. Simply assign users who are authorized to see the prices.
Smart Label Hiding
Not just the values, but the field labels are also completely removed from the UI to maintain a clean and professional interface for restricted users.
Multi-View Protection
Prices are automatically hidden across all Odoo UI layers: Form view, List (Tree) view, and even Kanban cards and snippets.
Variant Level Security
Full support for both Product Templates and Product Variants, ensuring no pricing data leaks through different UI levels.
Odoo Optimized
Built with clean XPath structures to ensure smooth integration with Odoo Standard and Enterprise editions.
Need Any Help?
Installation, Configuration & Bug Fixing support from our experts.
© 2017 SprintERP Technologies. All Rights Reserved.
Please log in to comment on this module