horilla icon indicating copy to clipboard operation
horilla copied to clipboard

Assets allocation to employee not working

Open asis658 opened this issue 1 year ago • 6 comments

Bug Report

Description

[I have created some assets and allocated to employees. In assets tab it shows the assets are allocated to them but in employee profile the assets section is empty.]

Steps to Reproduce

  1. [Go go assets section from main dashboard and create some assets, while creating also allocate them to employees.]

Expected Behavior

[These should be assets showing up at employee profile]

Actual Behavior

[Currently the assets section in employee profile is empty and says no asset has been allocated even though they are already allocated.]

Environment

  • Django Version: [Django version you're using, e.g., 3.2.1]
  • Python Version: [Python version, e.g., 3.10]
  • Operating System: [Your OS, e.g., Ubuntu 22.04]
  • Browser: [Edge]

asis658 avatar Jul 25 '24 05:07 asis658

Hi @asis658 , We have checked from our end as both admin and as a normal employee. The asset allocation is working fine and its view for employee also. Could you please try the same in a fresh session, it might be due to some cache issue? If it's not solved, please let us know.

With Regards, Team Horilla

horilla-opensource avatar Jul 25 '24 09:07 horilla-opensource

On my end if a employee creates a asset request and admin approves then it shows up on employee profile. But if admin allocates directly from assets list(during asset creation or update later) it doesn't show up. I believe it's now how it works. I'll give another try with fresh installation may be.

asis658 avatar Jul 25 '24 11:07 asis658

We have checked the same workflow from our end and it's also working fine. Can you try creating a new asset and try allocating it to an employee ?

horilla-opensource avatar Jul 25 '24 12:07 horilla-opensource

I tried again with couple of fresh installations but still assets aren't showing up( or not actually allocated) when the owner is set from the assets page.

asis658 avatar Jul 29 '24 06:07 asis658

Hi @asis658 , Were you able to confirm the workflow with the latest code base?

With Regards, Team Horilla

horilla-opensource avatar Sep 24 '24 06:09 horilla-opensource

I haven't tried the latest code base yet, thanks for reminding.

asis658 avatar Sep 26 '24 10:09 asis658

Hi @asis658 , Any updates?

horilla-opensource avatar Oct 15 '24 07:10 horilla-opensource

Hi, after the update the feature to allocate asset by admin without receiving the request from the employee(whish is what this thread is about) is gone. Asset request approval is working well.

asis658 avatar Oct 16 '24 05:10 asis658