Description
The asset edit form's FORM_STATUS_CHOICES does not include "disposed" as an option. Department Managers cannot dispose of assets through the edit form — the status transition is only possible via the admin.
Spec Sections: S2.2, S10B (US-DM-012)
Severity: MEDIUM
MoSCoW: MUST
What the spec requires
US-DM-012: "As a Department Manager, I want to dispose of an asset in my department so that it's removed from active inventory."
What currently exists
FORM_STATUS_CHOICES in the asset edit form excludes "disposed". The model supports the status, but the form doesn't offer it.
Xfail Test Coverage (2 tests)
| File |
Test |
Reason |
test_dept_manager.py |
TestUS_DM_012::test_dispose_transitions_to_disposed |
"disposed" not in FORM_STATUS_CHOICES |
test_dept_manager.py |
TestUS_DM_012::test_disposed_asset_not_in_default_search |
"disposed" not in FORM_STATUS_CHOICES |
Branch: feature/test-reorganisation-and-functional-suite (PR #37)
Description
The asset edit form's
FORM_STATUS_CHOICESdoes not include "disposed" as an option. Department Managers cannot dispose of assets through the edit form — the status transition is only possible via the admin.Spec Sections: S2.2, S10B (US-DM-012)
Severity: MEDIUM
MoSCoW: MUST
What the spec requires
US-DM-012: "As a Department Manager, I want to dispose of an asset in my department so that it's removed from active inventory."
What currently exists
FORM_STATUS_CHOICESin the asset edit form excludes "disposed". The model supports the status, but the form doesn't offer it.Xfail Test Coverage (2 tests)
test_dept_manager.pyTestUS_DM_012::test_dispose_transitions_to_disposedFORM_STATUS_CHOICEStest_dept_manager.pyTestUS_DM_012::test_disposed_asset_not_in_default_searchFORM_STATUS_CHOICESBranch:
feature/test-reorganisation-and-functional-suite(PR #37)