Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Purchase
  3. Hide Product Cost Price v 16.0
  4. Sales Conditions FAQ

Hide Product Cost Price

by SprintERP Technologies https://www.sprinterp.com
Odoo

$ 2.94

v 16.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Sales (sale_management)
• Discuss (mail)
• Invoicing (account)
Technical Name se_hide_product_cost_price
LicenseAGPL-3
Websitehttps://www.sprinterp.com
Versions 16.0 17.0 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Sales (sale_management)
• Discuss (mail)
• Invoicing (account)
Technical Name se_hide_product_cost_price
LicenseAGPL-3
Websitehttps://www.sprinterp.com
Versions 16.0 17.0 18.0 19.0
sprinterp-logo

Hide Product Cost Price

Secure sensitive cost information by blocking access for specific users using advanced Negative Group Logic.

Module Highlights

Cost Confidentiality
Negative Logic Security
Zero-Leak UI (Labels Hidden)
One-Click Restriction
Tree & Form View Protection
High Performance Integration

How the Price Restriction Works

Our module uses a "Restriction-First" approach powered by Odoo's advanced Negative Security Groups. By simply assigning a user to the "Hide cost price" group, the system uses the "!" (NOT) operator to dynamically modify the UI and strip away sensitive costing fields. This ensures that while administrators and procurement managers can see the full financial data, restricted personnel only see the sales and operational information they need to perform their jobs, with zero-leakage of profit margins.

Step 1
User Access Restriction Setup

Go to Settings > Users & Companies > Users and select the specific user you want to restrict. Under the Extra Rights section, you will find the "Hide cost price in product" checkbox. Simply tick this option to hide the sensitive cost information for this user across the entire system.

Odoo User Access Settings for Cost Hiding

Negative Group Logic: This module uses "!" (Not) operator logic, making it extremely easy to block a handful of users from seeing margins without affecting others.

Step 2
Cost Price Visibility Control

Normal users with appropriate rights can usually see the Cost Price under the 'General Information' tab of a product. By activating our restriction, the Cost field and its label will be completely removed from the view for the restricted user group.

Odoo Product Form Cost Price View

Complete UI Cleanup: The module doesn't just hide the value; it uses Odoo's invisible attribute to ensure the entire row/label is gone, leaving no empty gaps in the UI.

Step 3
List View Data Protection

Not just the form view, but the Product List (Tree) View is also secured. When the restriction is active, the 'Cost' column is automatically hidden. This prevents unauthorized users from exporting or viewing the entire inventory's cost structure at once.

Odoo Product List View Cost Column

Global Field Restriction: Our module applies the security group directly to the standard_price field definition in XML, ensuring a consistent lockdown across all Odoo views.

Step 4
Product Variant Protection

Our security system extends to the Product Variants level. Even when users navigate to specific variants, the Cost Price column remains strictly hidden. This ensures comprehensive data protection across both product.template and product.product models.

Odoo Product Variants List View Security

Multi-Model Security: The module is designed to inherit multiple views (Template & Variants), leaving no loopholes for sensitive price discovery.

Step 5
Variant Detail View Security

The restriction is equally effective in the Product Variant Form View. Even if a user opens a specific variant (like a different color or size), the Cost field and its label remain hidden. This ensures that sensitive purchase data is locked down at every possible entry point in the UI.

Odoo Product Variant Form View Security

360° Data Privacy: By targeting both Template and Product models, our module provides a "no-leak" environment for your sensitive company margins.

Step 6
Activating the Restriction

To apply the security, simply check the "Hide cost price in product" box on the user's profile. Once saved, the Odoo security group will immediately trigger the negative logic, hiding all sensitive cost fields from this specific user's interface across the entire system.

Odoo Activate Hide Cost Restriction

Instant Activation: No server restart is required. Changes take effect as soon as the user's record is saved, providing real-time security management.

Step 7
Verified Result: Cost Price Hidden

You can see the final result here after applying the settings. For restricted users, the 'Cost' field and its label have been completely removed from the Product Form. Now, the user can only view the Sales Price, ensuring your sensitive profit margin data remains fully secured.

Odoo Cost Price Hidden Successfully

Data Privacy Secured: The field is automatically removed without any layout breakdown, maintaining a clean and professional interface.

Step 8
List View Security Verified

As confirmed in the screenshot above, the 'Cost' column is automatically removed from the Product List View. This prevents unauthorized users from viewing or exporting the cost data of your entire inventory in bulk, providing an extra layer of data privacy.

Odoo Product List Cost Column Hidden

Mass Export Protection: Since the field is restricted at the view level, users cannot add it back or see it even through the 'Add Custom Field' options.

Step 9
Variant Detail Privacy Confirmed

As displayed in the result above, the security restriction is fully applied to Product Variant Detail Views as well. Even when a user drills down into specific variants, the Cost Price field is hidden, ensuring no sensitive purchase information is leaked at any level.

Odoo Product Variant Cost Hidden Result

Granular Security: The module ensures that whether it's a main product or its variants, your confidential costing remains strictly private for restricted user groups.

Step 10
Variant List Security Verified

In this final verification step, you can see that the 'Cost' column has also been securely hidden from the Product Variants Tree View. This ensures that users cannot access bulk cost prices through the variants list, keeping your business data protected from every angle.

Odoo Product Variant List Cost Hidden

360° Field Lockdown: Protection has been successfully verified across all four main views—Template Form, Template List, Variant Form, and Variant List.

Module Capabilities & Features

A specialized security utility for Odoo Inventory that empowers businesses to protect sensitive costing data through robust access control.

Cost Confidentiality

Targeted restriction for the standard_price field across the system, ensuring purchase prices remain visible only to authorized personnel.

Negative Logic Security

Uses advanced "!" operator logic. Instead of giving access to many, simply "Block" the specific users who should not see cost data.

Zero-Leak UI

Ensures that even the field labels for cost prices are completely removed from the view, maintaining a clean and secure interface.

Comprehensive Protection

Secures data across Product Form views (Templates & Variants), List/Tree views, and even Product Labels or Groups.

Lightweight Architecture

Optimized for Odoo with clean XPath inheritance. Zero impact on database speed or system processing performance.

Margin Protection

Prevents sales staff or unauthorized users from calculating sensitive company margins by keeping the base cost strictly private.

Need Any Help?

Free 90 Days Support

Installation, Configuration & Bug Fixing support from our experts.

Email Support sales.sprinterp@gmail.com
Microsoft Teams abulkasim7214

© 2017 SprintERP Technologies. All Rights Reserved.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with