From d3b8d1fd31ea6e1d57eabc1db0792c15c461edaf Mon Sep 17 00:00:00 2001 From: "Xavier BOL (xbo)" Date: Tue, 28 Sep 2021 14:19:15 +0200 Subject: [PATCH] [FIX] project: remove 'Share with all users' checkbox in project sharing Before this commit, the portal user could see the checkbox in search view to share his favorite item with all users. This action is not authorize in project sharing feature and should be removed. This commit removes this checkbox to avoid the portal user to share his favorite item with others users. task-2633229 closes #77156 X-original-commit: 19b38074dd8bfe4d8347db31f946beeb2850d453 --- addons/project/__manifest__.py | 1 + .../search/favorite_menu/custom_favorite_item.xml | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 addons/project/static/src/project_sharing/search/favorite_menu/custom_favorite_item.xml diff --git a/addons/project/__manifest__.py b/addons/project/__manifest__.py index 5d9fc081dd2..9b5d8bf3740 100644 --- a/addons/project/__manifest__.py +++ b/addons/project/__manifest__.py @@ -115,6 +115,7 @@ 'web/static/src/legacy/js/public/public_widget.js', 'portal/static/src/js/portal_chatter.js', 'portal/static/src/js/portal_composer.js', + 'project/static/src/project_sharing/search/favorite_menu/custom_favorite_item.xml', 'project/static/src/project_sharing/**/*.js', 'project/static/src/scss/project_sharing/*', 'web/static/src/start.js', diff --git a/addons/project/static/src/project_sharing/search/favorite_menu/custom_favorite_item.xml b/addons/project/static/src/project_sharing/search/favorite_menu/custom_favorite_item.xml new file mode 100644 index 00000000000..e03c1be7bc8 --- /dev/null +++ b/addons/project/static/src/project_sharing/search/favorite_menu/custom_favorite_item.xml @@ -0,0 +1,8 @@ + + + + + + + +