| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Sales (sale_management)
• Discuss (mail) • Invoicing (account) |
| Technical Name |
se_show_product_cost_price |
| License | AGPL-3 |
| Website | https://www.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_cost_price |
| License | AGPL-3 |
| Website | https://www.sprinterp.com |
| Versions | 16.0 17.0 18.0 19.0 |
Show Product Cost Price
Protect your margins by restricting Cost and Sales price visibility to authorized users only.
Module Highlights
How Pricing Security Works
This module uses a robust security group-based logic to control field visibility at the UI level.
Instead of modifying the core database schema, it securely inherits the Product Template and
Product Product views to apply conditional visibility via clean XPath structures.
When a user is assigned to the authorized "Show cost price in product" security group,
the system dynamically renders the pricing fields across all standard Odoo interfaces. If the user is not
part of this group, both the numerical values and their corresponding labels are completely omitted
from the Form, List, and Kanban views, ensuring 100% financial data confidentiality.
Configure User Access Rights
Navigate to Settings > Users & Companies > Users and select the specific user. Under the Extra Rights section, you will find a new option: Show cost price in product. Enable this checkbox only for managers or authorized staff who need to see sensitive pricing information.
Security First: By default, this option is disabled for all users. This ensures that Cost and Sales prices are hidden immediately upon module installation until manually granted.
Secure Product List View
Once the security group is applied, the Sales Price and Cost Price columns in the Product List (Tree) view will only be visible to authorized users. For restricted users, these sensitive columns will be completely hidden from the list, preventing any unauthorized access to your pricing strategy.
Global Visibility: This restriction applies across all product-related menus including Sales, Purchase, and Inventory lists.
Restricted Product Form View
The core protection happens here on the Product Form View. For users without the authorized group, the Cost Price field is completely removed from the UI. This ensures that junior staff or external users can manage product information without ever knowing the internal purchase costs or profit margins.
Seamless UI: The form layout adjusts automatically when fields are hidden, maintaining a clean and professional look for all users.
Product Variants List Protection
The security restrictions extend to the Product Variants view as well. Whether your team is looking at the main product templates or specific variants with different attributes, the Sales Price and Cost Price visibility remains strictly controlled based on the user's assigned security group.
Comprehensive Coverage: Protection is active across all variant-specific lists, ensuring no pricing data leaks through secondary menus or attribute views.
Variant Form Level Security
Even when navigating deep into specific Product Variants, the pricing security remains uncompromised. The Cost Price is hidden from the variant form view for non-authorized users, ensuring that specific item costs are never exposed, regardless of the navigation path taken within Odoo.
End-to-End Protection: From the main template down to the smallest variant detail, your sensitive financial data is locked behind proper access rights.
Granting Visibility Access
To grant pricing visibility to specific users, simply navigate to their user profile and enable the Show cost price in product checkbox. Once this is checked, the authorized user will be able to see both the Cost Price and Sales Price across all product views, restoring full access to financial data for managers or accountants.
Granular Control: This ensures that only trusted personnel have access to your product margins, keeping your business data secure and private.
Full Price Visibility in List View
After enabling the security group, authorized users can now see the Cost column directly in the Product List (Tree) view. This allows managers to compare Sales Prices against Costs at a glance, making it easier to analyze profit margins across the entire product catalog.
Efficient Monitoring: Having both prices visible in one view helps in quick decision-making and effective inventory valuation for management.
Restored Cost Visibility on Product Form
Jab aap kisi user ko authorized group mein add karte hain, toh unhe Product Form par Cost field wapas dikhayi dene lagti hai. Isse Managers aur Accountants ko products ki cost verify karne aur profit margins calculate karne mein aasani hoti hai, jabki unauthorized staff ke liye ye ab bhi hidden rahegi.
Full Financial Control: Managers can now see the complete picture of Sales Price vs Cost, ensuring better control over business profitability.
Full Variant Price Control
Security rights enable hone ke baad, Product Variants ki list view mein bhi Cost column poori tarah visible ho jata hai. Isse aap har variant ki individual costing ko manage kar sakte hain aur business profitability ko variant level par track kar sakte hain.
Variant-Level Insights: Having cost visibility across all variants ensures that management can quickly spot pricing discrepancies or margin issues.
Restored Cost Visibility on Variant Form
Authorized users ke liye **Product Variant Form** par bhi **Cost** field restore ho jati hai. Isse managers ko specific variants (jaise different colors ya sizes) ki individual costs check karne ki suvidha milti hai, jisse inventory valuation aur pricing strategies zyada accurate banti hain.
Detailed Financial Overview: Variant level par cost visibility hone se managers ko har product option ki profitability ka clear idea rehta hai.
Module Capabilities & Features
A specialized security utility for Odoo Inventory that empowers administrators to protect sensitive pricing information and maintain healthy profit margins.
Group-Based Access
Automatically creates a dedicated security group. Only users added to this group can view the product cost price, ensuring total data privacy.
Cost Price Protection
Hides the 'Cost' field (standard_price) from unauthorized staff, preventing them from seeing purchase prices and internal margins.
Sales Price Control
Provides options to toggle the visibility of Sales Prices, allowing you to control exactly what information is exposed to junior sales staff.
Multi-View Integration
Restrictions are applied globally across Product Form and List (Tree), views for both Product Templates and Variants.
Native Security
Uses Odoo's native XML security attributes, ensuring zero impact on system performance and maintaining compatibility with core features.
Privacy Compliance
Perfect for businesses that share their Odoo environment with third-party agents or junior employees who shouldn't access sensitive financial data.
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