Skip to content

Conversation

@Xavier-Do
Copy link
Contributor

No description provided.

@C3POdoo C3POdoo requested a review from a team July 30, 2025 08:43
@Xavier-Do Xavier-Do force-pushed the 18.0-better-error-merge-xdo branch from 6eccfe7 to cc52145 Compare July 30, 2025 13:29
@Xavier-Do Xavier-Do changed the title [IMP] error management [IMP] runbot: improve error merge Dec 17, 2025
@Xavier-Do Xavier-Do changed the base branch from 18.0 to 19.0 December 22, 2025 14:27
@Xavier-Do Xavier-Do force-pushed the 18.0-better-error-merge-xdo branch 2 times, most recently from 31e5a4b to 6539992 Compare December 22, 2025 14:29
for field in fields_to_merge + fields_to_copy:
if previous_error[field]:
if field in fields_to_merge and error[field] and error[field] != previous_error[field] and not self.env.su:
raise UserError(f"error {error.id} as already a responsible ({error.responsible}) cannot assign {previous_error.responsible}")
Copy link
Contributor

Choose a reason for hiding this comment

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

Adapt the UserError in accordance of the field that is causing the error.

@Xavier-Do Xavier-Do force-pushed the 18.0-better-error-merge-xdo branch from 6539992 to 43745a9 Compare December 22, 2025 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants