Skip to content

Disposed status not available in asset edit form (S2.2, US-DM-012) #46

@andrewyager

Description

@andrewyager

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions