-
-
Notifications
You must be signed in to change notification settings - Fork 359
[17.0][IMP] helpdesk_mgmt: ticket categories hierarchy support #723
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@mpascuall @peluko00, could you review it, please? |
category.complete_name = category.name | ||
|
||
@api.constrains("parent_id") | ||
def _check_category_recursion(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! You were right — this wasn't needed, so I removed it. I also updated the test that was checking it.
58bc1e0
to
6a99c15
Compare
6a99c15
to
be46ed7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good, thx!
/ocabot merge minor |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 9e62a3d. Thanks a lot for contributing to OCA. ❤️ |
With this improvement, ticket category becomes hierarchical.