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. Inventory
  3. InvOdoo Hide Product Cost v 19.0
  4. Sales Conditions FAQ

InvOdoo Hide Product Cost

by InvOdoo https://www.invodoo.com
Odoo

$ 19.58

v 19.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 • Discuss (mail)
• Inventory (stock)
• Invoicing (account)
Technical Name invodoo_hide_product_cost
LicenseLGPL-3
Websitehttps://www.invodoo.com
Versions 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Inventory (stock)
• Invoicing (account)
Technical Name invodoo_hide_product_cost
LicenseLGPL-3
Websitehttps://www.invodoo.com
Versions 18.0 19.0

🔒 InvOdoo Hide Product Cost Module

Version: 19.0.0.1.0.0 | Author: InvOdoo | Price: $20.00

📋 Overview

This module provides comprehensive cost information protection by hiding product costs, stock valuations, and related financial data from inventory users and sales staff. Only authorized accounting personnel can view sensitive cost and valuation information.

🎯 Purpose

Why hide product costs?

  • Security: Prevent unauthorized access to sensitive pricing and cost data
  • Role Separation: Ensure inventory users focus on stock management, not financials
  • Data Protection: Protect profit margins and supplier pricing from unauthorized viewing
  • Compliance: Meet organizational policies requiring cost information restrictions

✨ Key Features

  • Hide product cost fields from non-accounting users
  • Restrict access to stock valuation layers and reports
  • Hide cost-related buttons and actions
  • Control access at both view level and data model level
  • Hide inventory valuation menus
  • Protect stock quant value information
  • Seamless integration with existing Odoo views

🔐 What Gets Hidden

Location Hidden Field/Element Visible To
Product Template Form Cost / Standard Price field Accounting Users Only
Product Template Tree Cost column Accounting Users Only
Product Variant Form Cost / Standard Price field Accounting Users Only
Product Variant Tree Unit Cost, Total Value columns Accounting Users Only
Product Variant Tree Valuation Report buttons Accounting Users Only
Stock Quant Views Value field and Valuation button Accounting Users Only
Stock Valuation Layer Entire model (all records) Accounting Users Only
Menus Stock Valuation menus Accounting Users Only

🚀 Getting Started

Prerequisites

⚠️ Required Modules:
  • stock_account - Inventory Accounting
  • product - Product Management

These modules must be installed before installing InvOdoo Hide Product Cost.

Installation

  1. Ensure stock_account and product modules are installed
  2. Go to Apps menu in Odoo
  3. Remove the "Apps" filter to show all modules
  4. Search for "InvOdoo Hide Product Cost"
  5. Click Install
  6. Wait for installation to complete
✓ Automatic Configuration: Once installed, cost fields are automatically hidden from non-accounting users. No additional configuration needed!

👥 User Roles & Permissions

Who Can See Cost Information?

User Group View Product Cost View Stock Valuation Access Valuation Reports
Portal Users ❌ No ❌ No ❌ No
Inventory Users ❌ No ❌ No ❌ No
Sales Users ❌ No ❌ No ❌ No
Purchase Users ❌ No ❌ No ❌ No
Accounting Users ✅ Yes ✅ Yes ✅ Yes
System Administrator ✅ Yes ✅ Yes ✅ Yes

Granting Access to Cost Information

To allow a user to view cost information:

  1. Go to Settings → Users & Companies → Users
  2. Select the user
  3. Go to Access Rights tab
  4. Under Accounting section, select at least:
    • Billing or
    • Billing Manager
  5. Save the user
⚠️ Important: Only grant accounting access to users who legitimately need to view cost and valuation data for financial reporting and analysis.

📊 Visual Examples

Product Form View

❌ Before (All Users)

  • Cost field visible
  • Standard Price shown
  • Anyone can see margins

✅ After (Non-Accounting Users)

  • Cost field hidden
  • Standard Price not visible
  • Cost information protected

Stock Quant View

❌ Before (Inventory Users)

  • Value column visible
  • Valuation button accessible
  • Total stock value shown

✅ After (Inventory Users)

  • Value column hidden
  • Valuation button removed
  • Focus on quantities only

🎯 Usage Scenarios

Scenario 1: Inventory Manager

User: John (Inventory Manager)

Access Level: Inventory / User

What John Can Do:

  • ✅ View product stock levels
  • ✅ Manage inventory operations
  • ✅ Create stock moves and transfers
  • ✅ Perform stock counts

What John Cannot See:

  • ❌ Product costs
  • ❌ Stock valuation amounts
  • ❌ Total inventory value
  • ❌ Valuation reports

Scenario 2: Sales Manager

User: Sarah (Sales Manager)

Access Level: Sales / Manager

What Sarah Can Do:

  • ✅ Create quotations and sales orders
  • ✅ View sales prices
  • ✅ Manage customer relationships
  • ✅ Access sales reports

What Sarah Cannot See:

  • ❌ Product purchase costs
  • ❌ Actual profit margins
  • ❌ Supplier pricing
  • ❌ Stock valuation data

Scenario 3: Accountant

User: Mike (Accountant)

Access Level: Accounting / Billing

What Mike Can See:

  • ✅ All product costs
  • ✅ Stock valuation layers
  • ✅ Total inventory value
  • ✅ Valuation reports and buttons
  • ✅ Cost analysis and margins
  • ✅ All financial data

⚙️ Technical Information

Security Implementation

This module implements multi-layer security:

1. View-Level Security

Fields are hidden using the groups attribute in XML views:

<attribute name="groups">account.group_account_user</attribute>

2. Model-Level Security

Access to stock.valuation.layer model is restricted via ir.model.access.csv

3. Menu-Level Security

Valuation menus are restricted to accounting users only

Modified Views

  • product.product_template_form_view - Product template form
  • product.product_template_tree_view - Product template list
  • product.product_normal_form_view - Product variant form
  • stock_account.product_product_stock_tree_inherit_stock_account - Product variant list with valuation
  • stock_account.view_stock_quant_tree_inherit - Stock quant list
  • stock_account.view_stock_quant_tree_editable_inherit - Stock quant editable list

Protected Fields

Model Field Name Description
product.template standard_price Product cost/standard price
product.product standard_price Variant cost/standard price
product.product avg_cost Average unit cost
product.product total_value Total inventory value
stock.quant value Stock on hand value

❓ Frequently Asked Questions

Q: Can users bypass this restriction using developer mode?

A: No. The security is implemented at both the view and model level. Even with developer mode enabled, users without accounting rights cannot access the data through the API or database queries.

Q: Will this affect my existing reports?

A: No. Standard Odoo reports will continue to work. Users will only see cost data in reports if they have accounting access rights.

Q: Can I temporarily grant someone access to see costs?

A: Yes. Simply add the user to the "Accounting / Billing" group temporarily. Remove the access when no longer needed.

Q: Does this module affect data import/export?

A: Yes. Users without accounting rights cannot export or import cost-related fields. This maintains data security during import/export operations.

Q: What about API access?

A: The access restrictions apply to API calls as well. External applications using non-accounting user credentials cannot retrieve cost information.

Q: Can I customize which fields are hidden?

A: Yes, but it requires development work. You can inherit the module's views and modify the security attributes or create your own custom security group.

Q: Does this work in multi-company environments?

A: Yes. The security restrictions work correctly across all companies in multi-company setups.

🛠️ Troubleshooting

Issue: I'm an accountant but I still can't see costs

Solution:

  1. Check your user access rights: Settings → Users → Your User
  2. Verify you have "Accounting / Billing" or higher in the Accounting section
  3. Log out and log back in to refresh your access rights
  4. Clear your browser cache

Issue: Cost fields still visible to inventory users

Solution:

  1. Verify the module is properly installed (not just downloaded)
  2. Upgrade the module if you recently modified it
  3. Check that the user doesn't have accounting access rights
  4. Refresh the browser (Ctrl+F5 or Cmd+Shift+R)

Issue: Module installation fails

Solution:

  1. Ensure stock_account module is installed first
  2. Check server logs for specific error messages
  3. Verify all dependencies are properly installed
  4. Contact your system administrator if issues persist

🔄 Uninstalling the Module

⚠️ Before Uninstalling

Important considerations:

  • All users will regain access to cost information
  • This may expose sensitive pricing data to unauthorized users
  • Consider your security and compliance requirements

Uninstallation Steps:

  1. Go to Apps menu
  2. Remove the "Apps" filter
  3. Search for "InvOdoo Hide Product Cost"
  4. Click Uninstall
  5. Confirm the uninstallation
  6. All cost fields will become visible to all users again

📞 Support & Contact

For technical support, questions, or feature requests:

  • Module: invodoo_hide_product_cost
  • Version: 19.0.0.1.0.0
  • Author: InvOdoo
  • Website: www.invodoo.com
  • Price: $20.00 USD
  • Category: Inventory
  • License: LGPL-3

✨ Best Practices

  • Regularly review user access rights to ensure proper security
  • Only grant accounting access to users who truly need it
  • Document which users have cost visibility access for audit purposes
  • Train users on the importance of protecting cost information
  • Periodically verify that cost fields remain hidden from non-accounting users

© 2026 InvOdoo Hide Product Cost Module | Odoo 19.0 | Protecting Your Cost Data

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