horilla-opensource / horilla

Horilla is a free and open source HR software.
https://www.horilla.com/
GNU Lesser General Public License v2.1
154 stars 103 forks source link

Assets allocation to employee not working #261

Open asis658 opened 1 month ago

asis658 commented 1 month ago

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

horilla-opensource commented 1 month ago

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

asis658 commented 1 month ago

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.

horilla-opensource commented 1 month ago

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 ?

asis658 commented 1 month ago

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.