[18.0][IMP] helpdesk_mgmt: Add exclude_from_count field on stages#925
Open
JulienMartinez wants to merge 1 commit intoOCA:18.0from
Open
[18.0][IMP] helpdesk_mgmt: Add exclude_from_count field on stages#925JulienMartinez wants to merge 1 commit intoOCA:18.0from
JulienMartinez wants to merge 1 commit intoOCA:18.0from
Conversation
7b84a22 to
0bc38d7
Compare
Allow to exclude certain ticket stages from the team dashboard counters. This is useful for stages like 'Waiting for Customer' where tickets should not be counted in the 'TODO' counter. Also fixes missing dependency on ticket_ids.closed in _compute_todo_tickets which prevented the counter from updating when tickets are closed.
0bc38d7 to
87f16ef
Compare
flotho
approved these changes
Jan 21, 2026
Member
flotho
left a comment
There was a problem hiding this comment.
Hi,
Thanks for this great improvement, even with tests !
Code review LGTM
DorianMAG
approved these changes
Jan 21, 2026
DorianMAG
left a comment
There was a problem hiding this comment.
Thx for this feature.
Code review and functional test OK.
LGTM
Contributor
|
This PR has the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds the ability to exclude certain ticket stages from the team dashboard counters.
Use Case
Some stages like "Waiting for Customer Feedback" or "On Hold" should not be counted in the "TODO" counter as they are pending external action and don't represent actual work in progress for the team.
Changes
exclude_from_countboolean field onhelpdesk.ticket.stage_compute_todo_ticketsto filter out excluded stagesHow to Test
helpdesk_mgmtmoduleScreenshots