Stock Ownership
Stock Ownership¶
InvenTree supports stock ownership, which allows to set groups and users as "owners" of stock locations and items. The owners would be the only users who can edit and manage those stock locations and items.
The stock ownership feature is disabled by default, and must be enabled via the settings menu:
Existing Stock Locations and Items
Enabling the ownership feature will automatically remove the edit permissions to all users for stock locations and items which do not have any owner set. Only a user with admin permissions will be able to set the owner for those locations and items.
Owner: Group vs User¶
There are two types of owners in InvenTree: groups and users.
- If a group is selected as owner, all users linked to the specified group will be able to edit the stock location or item.
- If a user is selected as owner, only the specified user will be able to edit the stock location or item.
When selecting an owner, in the drop-down list, groups are annotated with the icon and users are annotated with the icon:
Set Stock Location Owner¶
To specify the owner of a stock location, navigate to the stock location detail page. Click on the icon under the location's name then click on "Edit Location".
Warning
If you cannot see the icon, it means that you do not have permissions to edit stock locations. Refer to the permissions documentation and/or contact your InvenTree administrator.
In the "Edit Stock Location" form, select the owner and click the "Submit" button:
Setting the owner of stock location will automatically:
- Set the owner of all children locations to the same owner.
- Set the owner of all stock items at this location to the same owner.
Info
If the owner of a children location or a stock item is a subset of the specified owner (eg. a user linked to the specified group), the owner won't be updated.
Set Stock Item Owner¶
To specify the owner of a stock item, navigate to the stock item detail page. Click on the icon under the item's name then click on "Edit stock item".
Warning
If you cannot see the icon, it means that you do not have permissions to edit stock items. Refer to the permissions documentation and/or contact your InvenTree administrator.
In the "Edit Stock Item" form, select the owner and click the "Save" button: