OdooWiki OCA HUB

Product Standard Margin Security

product_standard_margin_security folder_open OCA/margin-analysis open_in_new
Uncategorised License: AGPL-3

This module adds security for the module product_standard_margin. Only users with the correct permissions can see product margins.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Restricts who can see product margin information in Odoo. Only users with the product cost permission group can view the standard margin, margin rate, markup rate and VAT-excluded price fields.

This module adds access control on top of the standard margin feature. It does not create new screens or menus; instead it limits the visibility of existing margin-related fields on products.

The following fields on both product.product and product.template are now restricted to users belonging to the product cost security group: list_price_vat_excl (the sales price without VAT), standard_margin (the margin amount), standard_margin_rate (the margin as a percentage) and standard_markup_rate (the markup as a percentage).

  • Users without that permission will not see these fields at all.
  • Users with the permission see them as usual.

Because the module is set to install automatically when both product_standard_margin and product_cost_security are present, no manual installation step is needed. It does not add any checks, computed values, emails or scheduled actions; its only effect is field-level access control.

Models and fields (2)
  • product.product · extends an existing modelstandard_margin, list_price_vat_excl, standard_margin_rate, standard_markup_rate
  • product.template · extends an existing modelstandard_margin, list_price_vat_excl, standard_margin_rate, standard_markup_rate

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 2 confirmed, 7 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/margin-analysis.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.