| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Sales (sale_management)
• Discuss (mail) • Invoicing (account) |
| Technical Name |
se_hide_product_sale_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_hide_product_sale_price |
| License | AGPL-3 |
| Website | https://www.sprinterp.com |
| Versions | 16.0 17.0 18.0 19.0 |
Hide Product Sales Price
Enhance data security by restricting specific users from viewing Product Sales Prices across all primary Odoo views.
Module Highlights
How the Last Sale Works
User Access Configuration
Navigate to Settings > Users & Companies > Users and select the specific user profile. Under the Extra Rights section, you will find the "Hide sale price in product" checkbox. Enabling this option will instantly restrict the user from viewing sales prices across the entire system.
Secure Restriction: Once checked, the Sales Price field is completely removed from Form, List, and Kanban views, ensuring total data privacy for the selected user.
Kanban View Price Restriction
The module ensures complete privacy in the Product Kanban View. For restricted users, the "Price" tag and its value are completely removed from the product cards. This prevents unauthorized personnel from seeing product valuations while browsing the catalog or managing inventory visually.
Total Privacy: Unlike simple UI CSS hiding, our module uses Odoo's security attributes to ensure the data is not just hidden from view, but effectively blocked from being sent to the restricted user's browser.
List View Price Column Restriction
Our module extends security to the Product List (Tree) View. When the restriction is active, the entire "Sales Price" column is removed from the list. This ensures that restricted users cannot see or compare prices across multiple products while performing bulk operations or inventory checks.
Column-Level Security: The column is not just hidden; it is conditionally removed from the view definition for the specific user group, preventing any leakage via export or view customization.
Product Form View Price Protection
Inside the Product Form View, the "Sales Price" field is completely protected. When the "Hide sale price" group is assigned, the field, its label, and the associated currency value are removed from the General Information tab. This ensures that even when viewing full product details, sensitive pricing remains confidential.
Field-Level Security: By removing the field directly from the UI for specific users, our module provides a robust layer of security that prevents internal data leakage to unauthorized staff members.
Product Variant Kanban Security
The restriction also applies to the Product Variants Kanban view. Even when viewing specific variations (like different colors or materials), the "Price" remains hidden for restricted users. This ensures that pricing logic for complex products with multiple variants is never exposed to unauthorized personnel.
Consistent Protection: Whether it's the master product template or an individual product variant, the price hiding logic stays consistent across all Odoo views to prevent any information gaps.
Product Variant List View Protection
The security module extends its reach to the Product Variants List View. For the restricted group, the "Sales Price" column is completely stripped from the table. This prevents users from seeing individual prices for specific variant combinations, ensuring your business's pricing strategy remains secure across all granular levels.
Universal Application: By targeting both product templates and variants, this module leaves no loopholes, providing a truly comprehensive security layer for your Odoo Sales and Inventory operations.
Product Variant Form View Security
The restriction is fully enforced on the Product Variant Form View. Even when viewing the detailed record of a specific variant (e.g., Customizable Desk in Custom/White), the "Sales Price" field is completely removed for restricted users. This ensures that unique pricing for specific attributes is never disclosed.
Granular Protection: Our module provides complete security by covering every possible UI entry point, ensuring that no matter how a user navigates to a product price, the restriction remains solid and unbreakable.
Assigning Security Groups to Users
To activate the restriction, go to Settings > Users & Companies > Users. Under the Extra Rights section of the user form, simply check the box for "Hide sale price in product". Once enabled, the negative logic kicks in, and the user will no longer have access to sales price data across any product views.
Easy Management: Managing permissions is effortless. Administrators can toggle this setting for individual users or apply it to specific roles, ensuring that sensitive financial data is only available to those who truly need it.
Final Result: Secured Product Kanban View
This view shows the system in action for a restricted user. Notice how the entire "Price" information has been wiped from the product cards. The layout remains clean and professional, but the sensitive financial data is completely inaccessible. This ensures your sales team can still navigate the catalog without seeing restricted price points.
Clean Interface: Our module doesn't just hide the value; it removes the "Price:" label entirely. This prevents any empty fields or awkward spacing, maintaining a high-quality user experience for your staff.
Final Result: Secured Product List View
This screenshot demonstrates the Product List View for a user with restricted access. The "Sales Price" column has been completely removed from the interface. While other data like Internal Reference and Cost (if permitted) remains visible, the core sales pricing data is effectively blocked, ensuring full compliance with your internal security policies.
No Data Leakage: Because the column is removed at the view level, users cannot bypass the restriction by trying to show the column via the list's 'add custom field' or 'toggle' options.
Final Result: Secured Product Form View
This image shows the Product Form View for a restricted user. As you can see, the "Sales Price" field has been completely removed from the right-hand column of the General Information tab. The interface remains seamless, automatically adjusting the remaining fields like Sales Taxes and Cost to fill the space while keeping sensitive data hidden.
Professional UX: The module ensures that the UI doesn't look broken. By removing the field and its label entirely, the form remains clean and intuitive for the user, while your financial privacy is fully maintained.
Final Result: Secured Product Variants Kanban View
The security coverage extends to the Product Variants Kanban View. As shown in the final result for a restricted user, the "Price" tag and numerical value are completely stripped from every variant card. This ensures that even when staff members are filtering through specific attributes like color or material, the underlying sales price remains strictly confidential.
Comprehensive Security: By securing the variant-level kanban cards, we eliminate one of the most common "backdoor" ways users find pricing data in Odoo, providing you with a truly airtight privacy solution.
Final Result: Secured Product Variants List View
The final result for the Product Variants List View demonstrates a completely protected interface. The "Sales Price" column is entirely absent from the list, ensuring that users cannot view the individual prices assigned to different variants. This multi-layered approach ensures your data privacy is maintained across all variant management screens.
Airtight Privacy: By removing the column from the variant list, we ensure that bulk pricing data cannot be harvested or exported by restricted users, providing a complete security shield for your product catalog.
Final Result: Secured Product Variant Form View
The final enforcement point is the Product Variant Form View. As shown in the image, for a restricted user, the "Sales Price" field is completely removed from the General Information tab. The UI remains perfectly aligned, ensuring that even when a user dives deep into a specific variant's configuration, the pricing remains strictly hidden.
End-to-End Privacy: From the master product list down to individual variant forms, our module ensures that no loophole is left open, providing a truly comprehensive security solution for your Odoo environment.
Module Capabilities & Features
A specialized security utility for Odoo that protects sensitive pricing data by restricting visibility to authorized personnel only.
Targeted Price Hiding
Specifically targets the Sales Price field to ensure that restricted users cannot view product valuation or markup details.
Group-Based Security
Leverages Odoo's native security groups. Simply assign the "Hide sale price" group to any user to activate instant restriction.
Multi-View Protection
Ensures complete privacy by removing price data from Form views, List (Tree) views, and Kanban product cards simultaneously.
UI Label Removal
Automatically hides associated field labels and currency symbols to prevent any visual clues about the hidden pricing data.
Native Performance
Uses standard Odoo XML inheritance and security attributes, ensuring zero impact on system speed or server load.
Odoo Ready
Fully optimized for the latest Odoo architecture, ensuring a seamless experience with the newest UI/UX updates.
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