I am unable to attach Screenshot with it but i hope you are getting what i am trying to say
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
I also faced the same and here is the scenario.
I created leaves on my test server and later on I deleted with sql query directly from the postgresql from hr_leave table.
What happens when leave is created, odoo creates an activity for the calendar in mail_activity table. So I deleted leaved from hr_leave table while having ref in mail_activity table. I cleared
activity table and problem solved.
Hope this helps.
Hi ! thanks for replying. Can you guide me through this step by step on how exaactly to do it as i have less knowledge about databases and queries. Thank you so much
Ok. First make sure you are doing it on a test database.
1. Run a sql delete query on hr_leaves table. (delete from hr_leave)
2. Now delete from mail activity table. (select * from mail_activity)
But make sure you are doing it in some test database and have no other activities in mail_activity table.
After doing above two steps, create new leaves and you should not face that problem.
There is another point. Check your Technical > Resource > Working Times
Weekends and Global Leaves do not include in Leaves counts.
Hello,
Please check your employee's working hours time and currently log in user Timezone inside user's profile.
Hope it will help you.
Thanks
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Jun 24
|
694 | ||
|
1
Jul 19
|
83 | ||
|
1
Jun 19
|
2139 | ||
|
5
Aug 24
|
12993 | ||
|
0
Aug 20
|
2731 |