Skip to content

[16.0][FIX] base_maintenance: domain team_member_ids#562

Open
CristianoMafraJunior wants to merge 1 commit into
OCA:16.0from
Escodoo:16.0-fix-team_member_ids
Open

[16.0][FIX] base_maintenance: domain team_member_ids#562
CristianoMafraJunior wants to merge 1 commit into
OCA:16.0from
Escodoo:16.0-fix-team_member_ids

Conversation

@CristianoMafraJunior
Copy link
Copy Markdown
Member

@CristianoMafraJunior CristianoMafraJunior commented May 15, 2026

@Escodoo SO571-56

Summary

  • Adds a team_member_ids related field on maintenance.request (derived from maintenance_team_id.member_ids) to expose the selected team's members to the view layer.
  • Applies a domain on the Responsible (user_id) field in the maintenance request form so that, when a team is selected, only that team's members are listed as options.

Motivation

Previously the Responsible dropdown listed all internal users regardless of the selected team, making it easy to accidentally assign a request to someone outside the team. This change improves usability by scoping the selection to the relevant people.

cc @WesleyOliveira98 @marcelsavegnago @kaynnan

Copy link
Copy Markdown

@WesleyOliveira98 WesleyOliveira98 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown

@WesleyOliveira98 WesleyOliveira98 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Member

@marcelsavegnago marcelsavegnago left a comment

Choose a reason for hiding this comment

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

LGTM

@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). 🤖

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