Skip to content

Conversation

@AungKoKoLin1997
Copy link

This module adds an "Allowed User Groups" field on accounts. By assigning this field, you can restrict which users are allowed to see journal items and journal entries that use those accounts.

@qrtl QT6166

@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 16.0-add-account_move_group_restriction branch from e452009 to 34496b9 Compare December 12, 2025 07:27
@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 16.0-add-account_move_group_restriction branch from 67006b5 to 0741960 Compare December 23, 2025 14:06
<field name="domain_force">
['|',
('move_id.account_security_group_ids', '=', False),
('move_id.account_security_group_ids', 'in', user.groups_id.ids)
Copy link
Member

Choose a reason for hiding this comment

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

This allows users to access the move when they have ANY of the access groups involved (instead of all), which should not be something intended.

We may leave the design as is, since most use cases will involve only one such group, but we should add a ROADMAP.md to explain this limitation.

@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 16.0-add-account_move_group_restriction branch from 0741960 to d98fba6 Compare December 24, 2025 01:40
Copy link
Member

@yostashiro yostashiro left a comment

Choose a reason for hiding this comment

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

Code review. Just a couple of minor non-blocking points.

@AungKoKoLin1997 AungKoKoLin1997 force-pushed the 16.0-add-account_move_group_restriction branch from d98fba6 to b403a84 Compare December 24, 2025 07:05
@OCA-git-bot
Copy link
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). 🤖

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