OdooWiki OCA HUB

Restrict records duplicating

base_duplicate_security_group folder_open OCA/server-ux open_in_new
Server tools License: AGPL-3

This module adds a security group to restrict which users can make use of the duplicate records function or not.

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Adds a hidden security group called "Duplicate records" that controls whether a user can use the Duplicate action on records. Users without this group no longer see the Duplicate option in form views.

This module introduces a single hidden security group named "Duplicate records". By default, only the Odoo superuser (root) and the administrator user are members of this group.

When a user opens a record in a form view, the module checks in the background whether that user belongs to the "Duplicate records" group. If the user is not a member, the Duplicate action is removed from the form view's available actions, so the button or menu entry to copy the record is not shown.

  • The check happens automatically each time a form view is loaded.
  • No new menus, reports, or database models are added.
  • The module only affects the standard form view behaviour in the web client.
  • Administrators can assign the group to other users through the normal Users and Companies settings, since the group appears in the standard group selection screens.

The module depends on web_tour and includes automated tours that verify the Duplicate option is visible for allowed users and hidden for users without the group. It does not change any business documents, fields, or server-side rules beyond the group membership check.

Depends on

web_tour

Text generated by AI (DeepSeek) from reading the Odoo 15.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: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 15.0

Confirmed on 2026-11-03 in branch 15.0 of OCA/server-ux.

terminal Installation and usage

OCA documentation · Odoo 15.0

To allow users to duplicate records from the form view dropdown:

  • Go to Settings > Users > Groups.
  • Search for the Duplicate records group.
  • Add or remove the users that are allowed or not to duplicate records via UI.

No verified information in OCA: Installation, Usage.

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.