-->
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 2 months 2 weeks 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: 2 months 2 weeks ago by csobrino.
The administrator has disabled public write access.

Balance of remaining holidays 2 months 2 weeks ago #36162

  • eldy
  • eldy's Avatar
  • OFFLINE
  • Administrateur
  • Open Source ERP CRM expert.
  • Posts: 1703
  • Thank you received: 118
  • Karma: 180
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 2 months 2 weeks 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 2 months 2 weeks 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 2 months 2 weeks ago #36165

  • eldy
  • eldy's Avatar
  • OFFLINE
  • Administrateur
  • Open Source ERP CRM expert.
  • Posts: 1703
  • Thank you received: 118
  • Karma: 180
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: 2 months 2 weeks ago by eldy.
The administrator has disabled public write access.

Balance of remaining holidays 2 months 2 weeks ago #36166

  • hORb
  • hORb's Avatar
  • OFFLINE
  • Senior
  • Posts: 40
  • Thank you received: 6
  • Karma: 1
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.

Balance of remaining holidays 2 months 2 weeks 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 2 months 2 weeks ago #36168

  • eldy
  • eldy's Avatar
  • OFFLINE
  • Administrateur
  • Open Source ERP CRM expert.
  • Posts: 1703
  • Thank you received: 118
  • Karma: 180
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 month 3 weeks ago #36399

  • safik
  • safik's Avatar
  • OFFLINE
  • Newcomer
  • Posts: 2
  • Karma: 0
Hi,

Sorry to jump in, I created a new topic "Dolibarr 9 Leaves are not re-calculating", having missed this post my apologies. Were there any advancement on this bug report, even if it is a work around?

Thank you kindly
Gabriel
The administrator has disabled public write access.
Time to create page: 0.149 seconds