From 210144e1352f8d728f5ef978094113aa18c6eb8e Mon Sep 17 00:00:00 2001 From: Oleksandr Hladchenko1 Date: Mon, 25 Nov 2024 16:05:56 +0100 Subject: [PATCH] UIDATIMP-1679: Allow central tenant to create action profile for Orders and Invoices --- CHANGELOG.md | 5 +++++ src/settings/ActionProfiles/ActionProfilesForm.js | 2 ++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad74362b6..29138af2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ ### Features added: * `React v19`: refactor away from default props for functional components. (UIDATIMP-1634) +## [8.0.3] (IN PROGRESS) + +### Bugs fixed: +* Allow central tenant to create action profile for Orders and Invoices. (UIDATIMP-1679) + ## [8.0.2] (IN PROGRESS) ### Bugs fixed: diff --git a/src/settings/ActionProfiles/ActionProfilesForm.js b/src/settings/ActionProfiles/ActionProfilesForm.js index c17a84b86..e942d8d61 100644 --- a/src/settings/ActionProfiles/ActionProfilesForm.js +++ b/src/settings/ActionProfiles/ActionProfilesForm.js @@ -131,6 +131,8 @@ export const ActionProfilesFormComponent = ({ const RECORD_TYPES = isUserInCentralTenant ? pick(ACTION_PROFILES_FORM_FOLIO_RECORD_TYPES, [ ACTION_PROFILES_FORM_FOLIO_RECORD_TYPES.INSTANCE.type, + ACTION_PROFILES_FORM_FOLIO_RECORD_TYPES.INVOICE.type, + ACTION_PROFILES_FORM_FOLIO_RECORD_TYPES.ORDER.type, ACTION_PROFILES_FORM_FOLIO_RECORD_TYPES.MARC_BIBLIOGRAPHIC.type, ACTION_PROFILES_FORM_FOLIO_RECORD_TYPES.MARC_AUTHORITY.type, ])