Skip to content

[15.0][ADD] base_view_action_visibility - #1263

Open
AungKoKoLin1997 wants to merge 1 commit into
OCA:15.0from
qrtl:15.0-add-base_view_action_visibility
Open

AungKoKoLin1997 wants to merge 1 commit into
OCA:15.0from
qrtl:15.0-add-base_view_action_visibility

Conversation

@AungKoKoLin1997

@AungKoKoLin1997 AungKoKoLin1997 commented Mar 24, 2026

Copy link
Copy Markdown
Contributor

This module allows hiding standard view actions (Duplicate and Delete) on a per-model basis through configuration on the ir.model settings. You can hide these actions for all users, or hide them and specify which security groups are allowed to still see them.

@qrtl QT6466

Comment thread base_view_action_visibility/models/ir_model.py Outdated
@AungKoKoLin1997
AungKoKoLin1997 force-pushed the 15.0-add-base_view_action_visibility branch 2 times, most recently from b5d0501 to 2506501 Compare March 24, 2026 09:53
@AungKoKoLin1997

Copy link
Copy Markdown
Contributor Author

pre-commit issue fixes at #1264.

@AungKoKoLin1997
AungKoKoLin1997 force-pushed the 15.0-add-base_view_action_visibility branch from 2506501 to 2b7bb9b Compare March 26, 2026 01:26
Comment thread base_view_action_visibility/models/models.py Outdated
Comment thread base_view_action_visibility/views/ir_model_views.xml Outdated
Comment thread base_view_action_visibility/models/models.py Outdated
@yostashiro

Copy link
Copy Markdown
Member

Just attaching some screen shots...
image
image

@AungKoKoLin1997
AungKoKoLin1997 force-pushed the 15.0-add-base_view_action_visibility branch 2 times, most recently from 8bc1976 to 8e93df1 Compare March 30, 2026 09:42
Comment thread base_view_action_visibility/models/models.py Outdated
Comment thread base_view_action_visibility/readme/DESCRIPTION.rst
@AungKoKoLin1997
AungKoKoLin1997 force-pushed the 15.0-add-base_view_action_visibility branch 2 times, most recently from 7e900ee to 74de78f Compare April 14, 2026 03:39

@yostashiro yostashiro left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code review. LGTM.

@OCA-git-bot OCA-git-bot added mod:base_view_action_visibility Module base_view_action_visibility series:15.0 labels Apr 14, 2026

@smorita7749 smorita7749 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functional review LGTM

Added an user to a group and set the group in Duplicate Allowed Groups.
Set another group(no user) in Delete Allowed Groups.

Then, the user can see only Duplicate in Action.

Image Image

@OCA-git-bot

Copy link
Copy Markdown
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@nobuQuartile nobuQuartile left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Functional review: LGTM

@AungKoKoLin1997
AungKoKoLin1997 marked this pull request as draft May 19, 2026 01:16
@AungKoKoLin1997
AungKoKoLin1997 marked this pull request as ready for review May 25, 2026 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants