OdooWiki OCA HUB

Product Readonly Security

product_readonly_security folder_open OCA/product-attribute open_in_new
Product License: AGPL-3

This module creates a specific permission to allow modification of products and variants.

Note: The "Product Creation" permission allows you to create products without needing the specific permission added by this module.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds a new 'Product edition' permission that controls who can create, modify or delete products and product variants. Users without this permission can still view products but cannot change them.

This module introduces a dedicated permission called 'Product edition' (found in the Usability section of the user rights). It is meant to separate the right to see products from the right to change them.

  • Users who do NOT have the 'Product edition' permission can only read products and product variants. Any attempt to create, write or delete a product or variant is blocked with an access error.
  • Users who DO have the permission (the administrator is added automatically when the module is installed) can create, edit and delete products and variants as usual.
  • The restriction is applied on both product.template (the general product form) and product.product (the individual variants), so it covers the whole product area.
  • The check is skipped for the superuser and during automated tests unless a specific test flag is set, so normal system operations are not affected.

There are no new menus, buttons or reports: the module only changes who is allowed to modify existing product records. To grant the right, an administrator simply adds the user to the 'Product edition' group in the user settings.

Depends on

product
Models and fields (3)
  • product.product · new model
  • product.template · new model
  • product.readonly.security.mixin · new model

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: 4 confirmed, 5 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/product-attribute.

terminal Installation and usage

OCA documentation · Odoo 18.0
  • Create or edit a user and uncheck the 'Product edition' permission.
  • Login with that user.
  • Go to any product.
  • None can be created, modified or deleted.

No verified information in OCA: Installation, Configuration.

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.