You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2021-09-25 22:19:02

wolvverinemp
Member
From: Poland
Registered: 2021-09-20
Posts: 31

[Proposition] Add new field "Owner" for some items

The user who uses item versus the owner of the item.

From what I can see, items are assigned to the user who uses the item.
He is treated as the owner of the item and has it in stock (via plugins or reports, for example).
However, in most cases, the person who uses the item does not own the item who has it in stock. For example, at Open Space.
Perhaps an additional "Owner" field of user type should be added to the items, which could be used.

And a tab next to the user that would show items that he owns / has in stock.

The users field in many scenarios is changed, for example, by fusioninwentory to the currently logged in user (and that's good because we have stories of who uses the equipment).

Field for: Computers, Monitors, Network Devices, Devices, Printers, Phones, Passive devices

Adding an additional field by eg the "fields" plugin is quite difficult due to the later need to use this field and the lack of standardization eg when referring to other plugins.

Offline

#2 2021-10-07 17:15:47

david.grenon
Member
Registered: 2020-12-10
Posts: 8

Re: [Proposition] Add new field "Owner" for some items

Hi wolvverinemp, we also have the same roadblock has you for now as we're currently using GLPI as our tool to generate users equipment items (Consumables, devices, computers, monitors, etc).

Computers have "locks" where the device field (status/user/alternate username, etc) is manually set, the field as a locked icon next to it and no matter what fusion inventory is registering afterward, the value won't change. That is nice because you can also see all the locks and compare it to the previous fusion inventory update and decide to remove the lock on the specific field or not. The thing is... this nice feature only apply to computers...

So in our case, we can often see people with floating desks equipment assigned to them.

Offline

#3 2021-10-08 18:38:31

wolvverinemp
Member
From: Poland
Registered: 2021-09-20
Posts: 31

Re: [Proposition] Add new field "Owner" for some items

Look here - but need some correct (TODO line) , is ready to test. (open image in new tab wink )

develop


Make new pole for Owner in Fields plugind for items, and use new develop version of protocolsmanager plugin from my fork.

Last edited by wolvverinemp (2021-10-09 20:50:09)

Offline

#4 2021-10-12 16:31:46

david.grenon
Member
Registered: 2020-12-10
Posts: 8

Re: [Proposition] Add new field "Owner" for some items

Ok interesting. Will look for it.

Offline

#5 2021-10-15 11:25:18

wolvverinemp
Member
From: Poland
Registered: 2021-09-20
Posts: 31

Re: [Proposition] Add new field "Owner" for some items

Code is now in orginal develop repository.

Offline

#6 2022-06-23 19:24:33

wolvverinemp
Member
From: Poland
Registered: 2021-09-20
Posts: 31

Re: [Proposition] Add new field "Owner" for some items

Here is version for GLPI 10 with field plugin integration:

develop-v10-dompdf

(open "develop-v10-dompdf" image in new tab)

Offline

Board footer

Powered by FluxBB