Keep Cost and Margin Confidential Across Every Screen
Hide cost price, sales price and sale-order margin from everyone except the roles you choose, with per-product overrides and a batch update tool for the users who still need to maintain it.
Odoo shows cost price and sale-order margin across the back office by default, so any user who can open a product or a quotation can read what you paid a supplier and what you are earning. Most hide-cost apps only cover the product form, leaving margin exposed on sales orders, and grant access all-or-nothing with no way to let managers see what junior staff should not.
This module hides cost price, sales price and sale-order margin together, behind a single Can View Cost & Margin group that is granted to Sales Managers automatically and denied to everyone else by default. Per-product and per-variant overrides handle the exceptions, and a batch update wizard keeps cost maintenance fast for the users who are still authorised to see it.
Everything you need to keep cost data confidential
Every capability below is implemented in the module.
Cost Price Hidden on Every Product View
The cost price field is removed from the product form and list/kanban views for anyone outside the Can View Cost & Margin group, not just greyed out.
Sales Price Restriction, Opt-In
An independent, opt-in group can additionally hide the sales price for specific users, for businesses that treat list price as confidential too.
Sale Order Margin & Cost Hidden
Margin, margin percent and purchase price are hidden on quotations and sales order lines, so the confidential number cannot be inferred from the derived margin.
Graduated Roles, Not All-or-Nothing
Sales Managers are granted cost visibility automatically; every other user starts with no access, giving you a manager-sees, junior-doesn't hierarchy from day one.
Secure-by-Default Visibility
Cost and margin are hidden from every user until they are explicitly added to the viewer group, the safer inversion of the usual restrict-a-group approach.
Per-Product and Per-Variant Overrides
Set a Cost Visibility Policy of Default, Always hide, or Always show on any product or variant; the variant setting always wins over the template.
Batch and Inline Cost Updates
Authorised users can edit a product's cost inline or update many products at once with the batch cost-update wizard, so locking visibility never slows down cost maintenance.
Single Cost Visibility Menu
One dedicated menu lists who can view cost and margin and gives authorised users direct access to the batch update tool, with no scattered settings to hunt for.
How it works
Install the module
Install Advanced Hide Product Cost Price & Margin and the Cost Visibility menu appears alongside your existing Sales and Inventory apps.
Assign cost viewers
Add trusted users to the Can View Cost & Margin group; Sales Managers receive it automatically, everyone else starts hidden.
Set product overrides
Mark specific products or variants as Always hide or Always show to handle exceptions without touching anyone's access group.
Maintain costs safely
Authorised users update costs inline or in bulk with the batch wizard, while everyone else never sees the figures at all.
See it in action
Cost and margin, hidden or visible, exactly where role membership says they should be.
Set a product's Cost Visibility Policy to Always hide and the cost field disappears from the form entirely, replaced by a clear notice for anyone without access.
Authorised cost viewers, such as Sales Managers, see the Cost Visibility Policy selector alongside the actual cost price on the same form.
Cost and Sales Price columns appear in list views only for users in the Can View Cost & Margin group; everyone else never sees the columns at all.
Quotations and sales orders show Margin and Purchase Price columns to authorised users, closing the leak where cost is hidden but margin still gives it away.
Select any number of products from the list, open Batch Update Cost, and update current and new cost values for all of them in one pass.
The Cost Visibility menu gives administrators a single place to see and manage exactly who can view cost and margin.
Frequently asked
Does hiding cost price also hide margin on sales orders?
Yes. The same Can View Cost & Margin group controls both the product cost price and the Margin, Margin % and Purchase Price columns on quotations and sales order lines, so the confidential number cannot be inferred from the derived margin either.
Can Sales Managers see cost while junior salespeople cannot?
Yes. The module grants the cost-viewing group to the standard Sales Manager role automatically, while every other user starts with no access, giving you a manager-sees, junior-doesn't hierarchy out of the box.
Can I hide cost for most products but show it for a specific one?
Yes. Every product and every variant carries its own Cost Visibility Policy - Default, Always hide, or Always show - and the variant setting wins over the template, so you can carve out exceptions without changing anyone's access group.
How do authorised users update costs without exposing them to other staff?
Authorised users can edit a single product's cost inline or select many products and use the batch cost-update wizard, both restricted to members of the cost-viewer group, so maintenance never requires loosening visibility.
Get in Touch
Have questions or need customization? Every purchase includes 30 days of free support — we are here to help.
Visit Our Website
www.cerevantix.comExplore our apps, services, and portfolio.
Empowering growth through technology.
Advanced Hide Product Cost Price & Margin hides cost price, sales price and sale-order margin behind a graduated, role-based access model with per-product overrides and a batch update wizard.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Sales (sale_management)
• Discuss (mail) • Invoicing (account) |
| Lines of code | 269 |
| Technical Name |
cerevantix_hide_product_cost_price |
| License | OPL-1 |
| Website | https://cerevantix.com |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module