-->
Welcome, Guest
Username: Password: Remember me
Check that your potential issue isn't already confirmed and fixed in the recent releases. A summary of all changes can be found in the Dolibarr Changelogs

TOPIC: Balance of remaining holidays

Balance of remaining holidays 1 week 1 day ago #36161

  • csobrino
  • csobrino's Avatar
  • OFFLINE
  • Newcomer
  • Posts: 4
  • Karma: 0
Hello
I've just updated to Dolibarr 9 and I still have the problem with the balance of remaining holidays. Each month increase with new days but when I approve new days doesn't automatically decrease. I have to update manually. Any solution? I've try with leave_paid type and a custom type.

DOLIBARR ENVIRONMENT
- Version: 9.0
- PHP: 7.2.7
- URL(s): holiday/list, holiday/define_holiday
Last Edit: 1 week 1 day ago by csobrino.
The administrator has disabled public write access.

Balance of remaining holidays 1 week 1 day ago #36162

  • eldy
  • eldy's Avatar
  • OFFLINE
  • Administrateur
  • Open Source ERP CRM expert.
  • Posts: 1690
  • Thank you received: 110
  • Karma: 178
Can you provide a screenshot of the setup of your leave types into home setup dictionary ?
The administrator has disabled public write access.

Balance of remaining holidays 1 week 1 day ago #36163

  • csobrino
  • csobrino's Avatar
  • OFFLINE
  • Newcomer
  • Posts: 4
  • Karma: 0
Of course, I send you a screenshot
Attachments:
The administrator has disabled public write access.

Balance of remaining holidays 1 week 1 day ago #36164

  • csobrino
  • csobrino's Avatar
  • OFFLINE
  • Newcomer
  • Posts: 4
  • Karma: 0
Of course, I send you a screenshot

Leaves_2019-02-08.jpg
The administrator has disabled public write access.

Balance of remaining holidays 1 week 1 day ago #36165

  • eldy
  • eldy's Avatar
  • OFFLINE
  • Administrateur
  • Open Source ERP CRM expert.
  • Posts: 1690
  • Thank you received: 110
  • Karma: 178
And what is the type of the leave request done and you expect to see a decrease ?
Only leave request with a type with column is 1 in first column.

On my side, i do not experience any trouble. Decrease is correct on approval as long as the type of leave request was set up for automatic decrease.
Last Edit: 1 week 1 day ago by eldy.
The administrator has disabled public write access.

Balance of remaining holidays 1 week 1 day ago #36167

  • csobrino
  • csobrino's Avatar
  • OFFLINE
  • Newcomer
  • Posts: 4
  • Karma: 0
I expect to see a decrease in LEAVE_PAID or LEAVE_VACACIONES. Where can I configure a leave request to automatic decrease?
The administrator has disabled public write access.

Balance of remaining holidays 1 week 1 day ago #36168

  • eldy
  • eldy's Avatar
  • OFFLINE
  • Administrateur
  • Open Source ERP CRM expert.
  • Posts: 1690
  • Thank you received: 110
  • Karma: 178
According to your screenshot, they are already setup for this (value is 1 in first column).
I think i have found an explanation. I try to push a fix in 9.0.1 that will be released very soon...
The administrator has disabled public write access.
The following user(s) said Thank You: hORb

Balance of remaining holidays 1 week 1 day ago #36166

  • hORb
  • hORb's Avatar
  • OFFLINE
  • Newcomer
  • Posts: 18
  • Thank you received: 4
  • Karma: 0
Hi all,
I also can confirm that the decrease of remaning holidays doesn't come automatically in 9.0.0 when the user receive an approval.

Regards,
The administrator has disabled public write access.
Time to create page: 0.089 seconds