-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add documents tab to a few models #22240
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
base: main
Are you sure you want to change the base?
Conversation
cedric-anne
left a comment
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.
I think custom asset models should also be added automatically to $CFG_GLPI['document_types'].
cedric-anne
left a comment
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.
You added the document tab to asset definitions, but it should rather be added to Glpi\Asset\AssetModel concrete classes.
Checklist before requesting a review
Please delete options that are not relevant.
Description
Added the Document tab to the following models:
It is now possible to add documents to all of these models.
Screenshots (if appropriate):