Hide Product Cost | Hide Cost Price and Margin from Sales Users | Odoo Cost Visibility Group | Stop Staff Seeing Purchase Cost
by CODEerts https://www.codeerts.com$ 29.00

Access: your cost and margin, for the right people only Hide the product cost and margins from users who should not see them.One access, Show Product Cost and Margin. Everyone without it gets an empty cost in screens, exports and the API, and cannot sort, group or sum by it. Pricing, margins and stock valuation keep running on the real cost. ✓One access, kept by existing users at install ✓Masked everywhere it is read: screens, exports, API ✓No side doors: sorting, grouping and editing refused ✓Free bridges for Sales margins, Inventory valuation and Point of Sale | Odoo 19·Community & Enterprise ![]() |
1 access to grant or remove | 3 free bridges, installed automatically | 0 changes to pricing or valuation | 0 users locked out at install |
The cost stays where it belongs
Hiding a field in a form is not enough: exports, the API and sorting give it away. This closes those too.
01 ScreensNot shown.
| 02 DataNot readable.
| 03 BusinessUnchanged.
|
Same product, two users
Every picture is the real module on a demo database.
![]() One access per userShow Product Cost and Margin, set on the user form like any other right. | ![]() With the accessA manager sees the cost of the Ergonomic Desk Chair. |
![]() Without the accessThe sales representative sees the same product without its cost. | ![]() Lists tooNo cost column, and the cost cannot be added, sorted or exported. |
Three steps to private costs
InstallEvery existing user keeps the access, so nothing changes yet. |
Remove peopleTake the access away from sales and warehouse users. |
DoneTheir screens, exports and API calls no longer show the cost. |
What it needs, and what it never does
Version 19.0 | License OPL-1 | Editions Community & Enterprise | Dependencies Products (standard Odoo) |
Requirements✓Odoo 19, Community or Enterprise ✓Depends only on Products ✓Free bridges for Sales margins, Inventory valuation and Point of Sale ✓Technical name codeerts_hide_cost_price | Not covered✓Journal items and cost of goods sold ✓Margins by Products and Invoice Analysis margin ✓Manufacturing cost analysis, landed costs, purchase prices ✓Templates that print the cost: turn on Restrict Template Rendering |
Frequently asked questions
Install Hide Product Cost, open the access group Show Product Cost and Margin and remove the salespeople from it. They no longer see the Cost field, cannot export it and get an empty value through the API.
Every internal user who exists at install keeps the access, so nothing changes on day one. New users start without it. You decide who loses it.
Yes. Pricelist rules based on cost, sale margins and stock valuation run on the real cost on the server. Only what a user without the access can read is masked.
Yes, when the Margins on Sales Orders app is installed. A free bridge installs automatically and hides the order margin, the line cost and margin, and the margin in the sales analysis.
Journal items and cost of goods sold, the Margins by Products report, the margin and value in the Invoice Analysis, manufacturing cost analysis, landed costs and purchase prices. Accounting users need those. The full list is on the store page.
Yes. The main module depends only on Products, and each bridge only on the app it covers.

About CODEerts
Full-Service Odoo ERP Company · Solutions That Scale
Every module in our store is built from real client work, tested in production and maintained long-term by a team of experienced Odoo consultants. When you need more than an app, we deliver the full solution.
01 Implementation Full Odoo roll-outs from requirements to go-live, across any industry and company size. | 02 Custom Development Bespoke modules, OWL components and business logic built precisely to your workflow. | 03 Migrations Zero-data-loss upgrades from older Odoo versions with full custom module porting. |
04 Integrations Payment gateways, shipping carriers, biometric devices, eCommerce and third-party APIs. | 05 Odoo Audits Performance, security and code-quality reviews that surface risks before they become problems. | 06 Support & Training Ongoing helpdesk, user training and monthly retainers so your team stays productive. |
Odoo Experts | 6+ Years | 150+ Projects | 10+ Industries | 270+ Published Apps |
More from CODEerts
Other apps we build to make Odoo do more. Tap any card to open it on the Odoo Apps Store.
Archive Anything | Transaction Flow Visualizer | Smart Mail Rebrand | Duplicate Record Detector |
AI Dashboard Builder | Advance Payment Pro | Dual Book & Tax Depreciation | Smart Duplicate Detector |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 249 |
| Technical Name |
codeerts_hide_cost_price |
| License | OPL-1 |
| Website | https://www.codeerts.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