Stock Ownership Control feature not working
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 32/100
Research direction
The payload names no files or tests. Start by reproducing the steps on a local instance: enable System Settings -> Stock -> Stock Ownership Control, set a stock item's owner to a different user, then try a transfer as a non-owner. Trace where the stock transfer action checks the ownership setting, and read epic #7466 for the intended permission model. Done means a non-owner transfer is refused when the setting is on, with a test covering that case.
Written by the indexing model from the issue text.
Description
Please verify that this bug has NOT been raised before.
- I checked and didn't find a similar issue
Describe the bug*
The Stock Ownership Control feature does not work as described in the documentation.
Probably relates to epic https://github.com/inventree/InvenTree/issues/7466
Steps to Reproduce
e.g. using demo server:
- ensure System Settings -> Stock -> Stock Ownership Control is enabled
- change owner of a stockitem to user "admin"
- login as non-superuser "allaccess"
- allaccess user CAN transfer the stockitem to another location
Expected behaviour
- ensure System Settings -> Stock -> Stock Ownership Control is enabled
- change owner of a stockitem to user "admin"
- login as non-superuser "allaccess"
- non-owner "allaccess" CANNOT transfer the stockitem to another location
Deployment Method
None
Version Information
InvenTree-Version: 1.3.0 dev
Django Version: 5.2.11
Commit Hash: 867f5a6
Commit Date: 2026-02-15
Commit Branch: null
Database: django.db.backends.postgresql
Debug-Mode: False
Deployed using Docker: True
Platform: Linux-5.15.0-100-generic-x86_64-with-glibc2.41
Installer: DOC
Active plugins: false
Try to reproduce on the demo site
I tried to reproduce
Is the bug reproducible on the demo site?
Reproducible
Relevant log output
- Dominant language
- Python
- Stars
- 7.7k
- Forks
- 1.6k
- Avg merge
- 21h 45m
- Merged PRs (30d)
- 204
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from inventree/InvenTree
-
enhancement triage:not-checked
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
inventree/InvenTree#13318 · 1 reaction ·
Maintainers usually reply within 1 day
-
enhancement User Interface wontfix
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
inventree/InvenTree#13292 · 5 comments ·
Maintainers usually reply within 1 day
-
[FR] Add spinner arrows in Quantity when adding a BOM itemMay be free again @Alonso-Lopez-1 claimed this 50 days ago, and no pull request is open. Openenhancement help wanted starter User Interface
Difficulty 2/5 1-3 hours Newbie friendliness 61/100
inventree/InvenTree#12677 · 6 comments ·
Maintainers usually reply within 1 day
-
enhancement triage:not-checked
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
inventree/InvenTree#13317 · 1 reaction ·
Maintainers usually reply within 1 day
-
bug stock
Difficulty 3/5 1-2 days Newbie friendliness 40/100
inventree/InvenTree#13285 · 1 comment ·
Maintainers usually reply within 1 day
All issues in inventree/InvenTree
Similar issues
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
aws-samples/sample-spec-driven-presentation-maker#648 ·
Maintainers usually reply within 1 day
-
firestore: enable live window.yaml pipeline system tests once add_window_fields is in productionOpen
Difficulty 1/5 Under an hour Newbie friendliness 64/100
googleapis/google-cloud-python#19115 ·
Maintainers usually reply within 2 days
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day