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. extra rights
  3. Product Hide Cost v 18.0
  4. Sales Conditions FAQ

Product Hide Cost

by Bytelegion http://www.bytelegions.com
Odoo
v 18.0 Third Party 74
Download for v 18.0 Deploy on Odoo.sh
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 • Invoicing (account)
• Discuss (mail)
• Sales (sale_management)
Lines of code 28
Technical Name legion_product_hide_cost
LicenseAGPL-3
Websitehttp://www.bytelegions.com
Versions 12.0 13.0 14.0 15.0 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 • Invoicing (account)
• Discuss (mail)
• Sales (sale_management)
Lines of code 28
Technical Name legion_product_hide_cost
LicenseAGPL-3
Websitehttp://www.bytelegions.com
Versions 12.0 13.0 14.0 15.0 16.0 17.0 18.0 19.0
Logo
Logo
Logo
Days Free Support 365
Custom Apps 1350+
Top Seller Of Odoo Marketplace
Happy Customers 8987+
Years of Experience 10+
Countries 50+
Talented Healers 100+
Industries Served 45+
Email QR
WhatsApp QR
Meeting QR

Why Legion Product Hide Cost?

In businesses, cost/margin information is sensitive. Sales representatives should not see product cost prices or profit margins — only managers should. This module restricts visibility of cost and margin fields based on user group membership.

Get Instant Personalized Demo

Copy Link https://bytelegions.com/odoo-app-store-form/

View Our Services

Odoo Customization 365
Odoo Implementation 1350+
Odoo Support Marketplace
Odoo Integration 8987+
Odoo Migration 100+
Odoo Consultancy 50+
Odoo Hosting 100+
Industries Served 45+
Services Banner
  • Overview
  • How to Use
  • Features
  • Frequent Questions
  • Latest Release

Cost and Margin showed

Admin again go to setting and click on Users then active checkbox Show Sale Price.

Cost and Margin hidden

User go to search bar and search legion_product_hide_cost then click on and install

After install Admin go to setting and click on Users then access Show Sale Price to User

Cost and Margin showed

Admin again go to setting and click on Users then active checkbox Show Sale Price.

Cost and Margin hidden

Product Hide Cost.

The legion_product_hide_cost module provides role-based visibility for sensitive pricing data, such as product costs and margins, within the sale order view. It enables businesses to restrict access to this information, ensuring that only authorized users, like managers or finance teams, can view critical cost details.

Key Features:

  • Hide Margin Field from Sales Reps: The margin field on sale orders is hidden from regular sales users and only visible to users assigned to the "Show Sale Price" security group, protecting sensitive profitability data from front-line staff.
  • Role-Based Cost Visibility: Managers and authorized personnel can be granted access to cost information by adding them to the custom security group, while regular sales staff see a clean order form without any cost or margin data.
  • Security Group Management: A dedicated show_sale_price security group is created within the module, giving administrators fine-grained control over exactly which users can view pricing cost data across the organization.
  • Scalable Access Control: As the business grows, new managers or authorized users can be added to the security group through standard Odoo user management without any code changes required.
  • Non-Intrusive Integration: The module works by adding groups attributes to existing fields rather than removing them, meaning the fields still exist in the system and authorized users see everything normally without any UI disruption.

Frequently Asked Questions

Will hiding margin affect sales rep workflow?

No. Sales reps can still create orders, add products, set prices, and confirm orders normally. Only the margin and cost fields are hidden — all other functionality remains unchanged.

Can I hide cost on the product form too?

Yes, the same approach can be extended to product.template and product.product forms by adding similar xpath overrides targeting the standard_price field with the same security group.

What is the difference between margin and purchase_price?

margin shows the profit percentage/amount on the whole order, while purchase_price on order lines shows the cost of each individual product. Both reveal sensitive business data that this module protects.

How do I grant a user access to see costs?

Go to Settings → Users → select the user → under Application Groups or custom groups, assign them to "Show Sale Price" group defined by this module.

Does this module work with Odoo's standard reporting?

Yes. The restriction only applies to UI views. Backend data, reports accessible to authorized users, and system computations are completely unaffected.

Latest release

Latest Release 18.0
Updt
12st Feb, 2026
Product Hide Cost.

Top Contributors

Mr. Kamran Yasin

Senior Full Stack Odoo Developer

Miss Rubab Khalil

Senior Odoo Functional Consultant

Mr. Muneeb

Senior Full Stack Odoo Developer

Mr. Wasif Yasin

Senior Full Stack Odoo Developer

Mr. Hamza Khalil

Senior Full Stack Odoo Developer

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, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
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