| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Sales (sale_management)
• Discuss (mail) • Invoicing (account) |
| Technical Name |
se_show_product_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_price |
| License | AGPL-3 |
| Website | https://sprinterp.com |
| Versions | 16.0 17.0 18.0 19.0 |
Show/Hide Product Cost & Sale Price
Restrict visibility of both Sales Price and Cost Price using advanced security groups to protect your sensitive financial 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
Product views to apply conditional visibility.
When a user is assigned to the "Show Sale Price" or "Show Cost Price" security groups,
the system dynamically renders these fields across all standard Odoo interfaces. If the user is not
in these groups, both the numerical values and their corresponding labels are completely omitted
from the UI, ensuring 100% financial data confidentiality.
Configure Pricing Access Rights
Navigate to Settings > Users & Companies > Users and select a user. Under the Extra Rights section, you will find two new security options: "Show sale price in product" and "Show cost price in product". Simply check these boxes to grant pricing visibility to specific team members.
Granular Control: You can hide the Cost Price from sales staff while allowing them to see the Sale Price, or vice versa, ensuring complete financial confidentiality.
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, both the Sales Price and Cost Price are 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.
Secure Product List (Tree) View
The security restriction seamlessly extends to the Product List View. For unauthorized users, the pricing columns are completely removed from the table. This ensures that sensitive financial data is not exposed during bulk product browsing or inventory audits, maintaining a high level of confidentiality across the entire module.
Clean Interface: The module intelligently handles the UI layout, removing the headers and data cells for pricing fields, so your team only sees the information relevant to their role.
Complete Price Removal from Form View
For restricted users, the Sales Price and Cost Price fields are not just hiddenâthey are completely omitted from the Product Form View. As shown in the screenshot, only non-sensitive fields like Taxes and Category remain visible. This ensures that even when a user has access to view product details, your margin and pricing strategies remain strictly confidential.
Maximum Confidentiality: The module intelligently manages the UI layout. When access is restricted, the labels for price fields disappear entirely, leaving no trace of financial data on the screen for unauthorized eyes.
Full Security for Product Variants
Data leaks often happen in the sub-menus, but our module has you covered. The pricing restrictions are automatically applied to the Product Variants views as well. Whether your team is browsing through specific attributes or looking at the variant Kanban cards, the Sales and Cost prices remain invisible unless they have the required security permissions.
Consistent Security: The module ensures a uniform security policy across the entire Sales and Inventory ecosystem, protecting your margins at every possible touchpoint within the Odoo interface.
Variant List View Protection
To ensure 360-degree security, we have also secured the Product Variants List View. Even when viewing complex product structures with multiple attributes, the Sales Price and Cost Price columns are completely omitted for unauthorized users. This prevents accidental exposure of sensitive pricing data during high-volume inventory management or warehouse operations.
Seamless Integration: The layout remains clean and organized. By removing only the restricted financial columns, the module ensures that users can still focus on managing variant attributes and internal references without any distractions.
Restricted Variant Form Detail
Even when navigating into a specific **Product Variant record**, the security remains absolute. As shown in the screenshot, the Sales Price and Cost Price fields are completely omitted from the variant's General Information tab. Only relevant operational data like **Internal Reference, Barcode, and Taxes** are visible, ensuring that variant-specific costing is never leaked to unauthorized personnel.
Granular Attribute Security: Our module ensures that security follows the user everywhere. No matter how deep they dive into the product structure, their access rights dictate exactly what financial data is visible.
Enabling Pricing Visibility
To grant a user the ability to see pricing, simply navigate to their User Profile and check the desired boxes under Extra Rights. As shown in the screenshot, you can independently enable "Show sale price in product" or "Show cost price in product". Once enabled, the hidden fields will instantly reappear for that specific user across all views.
Instant Application: There is no need for complex technical configurations. Just a simple tick in the user settings is enough to restore visibility, making it easy for administrators to manage permissions on the fly.
Restored Pricing Visibility
Once the security permissions are granted, the Sales Price and Cost Price are instantly restored across all views. As seen in this Product Kanban View, authorized users can now see the price tags clearly displayed on the product cards. This dynamic visibility ensures that only the right people see the right data at the right time.
Role-Based Access: This completes the full cycle of our security management systemâproviding a secure, automated, and easy-to-manage solution for sensitive pricing information in Odoo.
Full Price Visibility in List View
For users with the correct security permissions, the **Sales Price** and **Cost** columns are fully restored in the **Product List View**. This allows authorized staff, such as Sales Managers or Accountants, to perform quick price audits and review margins across multiple products simultaneously. The integration is clean and perfectly aligned with Odoo's native interface.
Efficient Management: By enabling these columns only for specific roles, you eliminate data clutter for general users while providing powerful data insights for those who need them to drive business decisions.
Full Price Details on Product Form
For users granted full pricing access, the **Product Form** provides complete transparency. As shown in the highlighted sections, both the **Sales Price** and **Cost** fields are fully visible and editable. This allows authorized personnel to manage pricing strategies and review product margins directly within the General Information tab, ensuring a smooth and efficient workflow.
Complete Pricing Control: The module intelligently toggles field visibility based on user rights. This ensures that while sensitive data is protected from general staff, it remains readily available for managers to execute business-critical pricing updates.
Restored Visibility on Product Variants
When the security group is active, authorized users can once again see specific pricing on the Product Variants Kanban View. As highlighted, each variant card now displays the individual price, allowing for quick comparison between different product attributes and configurations. This ensures that managers can oversee specific variant margins without any visibility gaps.
Full Attribute Insight: The module provides a consistent user experience. Once access is granted, the pricing information flows through to every sub-menu, ensuring that your authorized team has a complete view of your product's financial data.
Full Price Transparency in Variant List View
For users with elevated permissions, the Product Variants List View becomes a powerful auditing tool. As highlighted, the Sales Price and Cost columns are fully restored, allowing for an efficient overview of pricing across all product attributes. This ensures that authorized personnel can verify pricing consistency and manage specific variant profitability at a glance.
Comprehensive Variant Oversight: The module bridges the gap between security and utility. By restoring these columns for authorized roles, your team can manage complex product catalogs with the full financial context required for accurate inventory and sales management.
Restored Visibility on Variant Form
The visibility restoration is complete even at the most granular level. As shown in the Product Variant Form, authorized users can once again view and manage the specific Sales Price and Cost for each individual variant. This ensures that managers can maintain full control over variant-specific pricing strategies and margins without any technical barriers once permissions are granted.
Granular Pricing Control: This concludes the full documentation of our security system. From total lockdown to granular restoration, the module provides a seamless and secure experience for managing sensitive pricing data across your entire Odoo environment.
Module Capabilities & Features
A specialized security utility for Odoo that provides granular control over sensitive product pricing, ensuring data confidentiality across your organization.
Dual Price Protection
Independently restrict visibility for both Sales Price (list_price) and
Cost Price (standard_price) based on user roles.
Independent Access Groups
Create separate permissions: 'Show Sale Price' for your sales team and 'Show Cost Price' for purchase and accounting departments.
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 views: Form view, List (Tree) view, and even Kanban cards and snippets.
No Data Interruption
Only the visual layer is restricted. Background calculations, reports, and inventory valuation remain fully functional for the system.
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