v1.0.1
1.0.1 – Translation fix
- Fixed the Arabic translation file, which could not be loaded
Take product cost and order margins away from salespersons everywhere: in the screens, in the reports and in the JSON-RPC API. One group decides who still sees them.
No reviews yet0 salesby TAQNIXUpdated Oct 22, 2026
Odoo shows the product Cost and the order Margin to every internal user. A salesperson who can see that a chair costs 55 and sells for 70 negotiates differently, and may tell the customer.
Hide Product Cost & Margins from Salespersons takes cost and margin away from the people you choose, everywhere: in the screens, in the reports, and in the API. One security group decides who still sees them.
Hiding a field in a view is not enough: Odoo has an open JSON-RPC and XML-RPC API. This module protects the model itself, so a salesperson who asks the server for the cost gets an access error. Reading, searching, grouping, exporting and writing are all refused, and the fields are not even announced to the client.
The group See Product Cost & Margins is given through the roles Odoo already has: sales managers, accountants, inventory managers, purchase users and administrators keep seeing everything the moment you install. Salespersons lose it. Add or remove anyone later with a role or the group.
They still quote, confirm, deliver and invoice. Odoo keeps computing the margin in the background for the people who may see it. Nothing is changed or lost when you install or remove the module.
Vendor prices, stock valuation, manufacturing cost and Point of Sale reports belong to other apps and are protected by those apps' rights: do not give them to salespersons. The documentation lists exactly what is and is not covered.
Illustrated documentation in English and Arabic, an Arabic translation of the module and 12 automated tests, including the API calls.
Odoo 19.0 with Sales (Margins in Sales Orders), Invoicing and Inventory.
The files in the archive you can download after you buy.
No reviews yet. Bought this item? Be the first to review it.
Install and use it in a few lines.
my_secret_price = fields.Float(groups='taqnix_hide_cost_margin.group_see_cost')cost = line.product_id.sudo().standard_priceSetup, settings and troubleshooting, written by the author.
Every release, newest first.
No. It protects the fields on the model itself, so JSON-RPC and XML-RPC reads, searches, group-bys and exports by a salesperson are refused as well.
Everyone with the group “See Product Cost & Margins”. It is given automatically through sales administrators, accountants, inventory administrators, purchase users and settings administrators. You can add anyone else.
Yes. The margin is still computed in the background for the people who may see it, and the workflow does not change.
The product cost, the cost, margin and margin % of order lines, the margin of orders, the margin in the sales analysis, and the margin and inventory value in the invoice analysis.
Vendor prices, purchase orders, stock valuation, manufacturing cost and Point of Sale reports belong to other apps and are protected by those apps' access rights. Do not give them to salespersons.
No. Nothing is changed or deleted. Removing the module makes cost and margin visible to all internal users again, as in standard Odoo.
Code that reads the cost as a salesperson gets an access error. Use sudo() for the cost in that code, or give the user the group. The documentation shows how.
Yes. The module ships an Arabic translation, and the documentation is available in Arabic with right-to-left layout.
See what a customer owes you, what is overdue and what you owe them, in a banner at the top of the sales order. Red when the delay is serious. Live from your accounting, Arabic included.
Sell PDFs, templates and any file from Odoo. When the sales order is confirmed the customer gets a personal download link by email, valid for N days and N downloads, with a full download log.
Choose the look of your invoices, quotations and Point of Sale receipts in the company settings: five styles each, accent colour, amount in words (Arabic too), signature boxes, order barcode and small print.
Let people sign in only from your office or VPN addresses and only at working hours, per user or user group. Covers the login page, the API and open sessions, with a lock-out guard and an off switch.
Sell PDFs, templates and any file from Odoo. When the sales order is confirmed the customer gets a personal download link by email, valid for N days and N downloads, with a full download log.
Choose the look of your invoices, quotations and Point of Sale receipts in the company settings: five styles each, accent colour, amount in words (Arabic too), signature boxes, order barcode and small print.
See what a customer owes you, what is overdue and what you owe them, in a banner at the top of the sales order. Red when the delay is serious. Live from your accounting, Arabic included.
Let people sign in only from your office or VPN addresses and only at working hours, per user or user group. Covers the login page, the API and open sessions, with a lock-out guard and an off switch.
Hide Product Cost & Margins from Salespersons for Odoo 19 – Screens, Reports and API
$29.00