rsx-labs / aide-frontend

This is the repository for AIDE
https://rsx-labs.github.io/aide-frontend/
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

[Asset Assignment] When asset was unassigned from self, it got automatically approved but status remains partially unassigned #621

Closed charissasylim closed 4 years ago

charissasylim commented 4 years ago

Describe the bug When asset was unassigned from self, it got automatically approved (assets_inventory.approval =5 instead of 6) but status remains partially unassigned (assets_inventory.status = 4)

To Reproduce Steps to reproduce the behavior:

  1. Unassign asset from self.
  2. Asset is set as approved and partially unassigned
  3. When logging in as manager, no asset for approval thus asset is stuck at partially unassigned state.

Expected behavior Once an asset is unassigned from self, it should not be automatically set as approved. Should go through approval process thus assets_inventory.approval should be 6.

Screenshots If applicable, add screenshots to help explain your problem. image

Version (please complete the following information):

Additional context This was recently encountered in QA. Not yet re-tested in Dev.