Skip to main content
Pending validationOdoo 20.0Community and Enterprise

The absence has more days than allowed

Symptom​

The holiday request is not saved, or is saved with a warning, because the days requested are more than the employee has.

Message​

When you choose the type and the dates, the sentence “You have 5 days left; after this request, -1.” appears under the type and, under the duration, the warning in red:

“Only 5.0 day(s) available”

When saving, the Validation Error window says:

“Eva Cristina Rocha does not have a valid allocation for the absence type Annual holidays that covers this request.”

Verified causes​

  • The request's days exceed the holiday days left. In the example, the employee had 22 days, had already requested 10, 2 and 5 days and asked for another 6: 5 were left. To Approve requests also count: the sentence “You have N days left” and the Request time off card no longer count the days of requests still to be decided.
  • The request ends on 31/12/2026. With 28/12/2026 to 31/12/2026, the Invalid Operation window appeared, even before saving: “There is no holiday calendar for 2027 (Continente) in company “Empresa Demonstração, Lda”. […] create the calendar in Payroll › Configure › Company › Holiday calendars and press “Generate holidays”.”. It is seen with the Worker profile, which does not have that menu: the request has to be undone and the Administrator told.
  • When no days are left, the Annual holidays type is no longer offered: when you type “Férias” in Time Type, the list says “No records”, and the Request time off card shows “0 Annual holidays Available”.
  • Pending validation on screen: the causes involving the absence reason without hours, the company shutdown, waiving holiday days and the hour bank, which the Request time off screen did not show in this demo.

What to check​

  1. The days left: My space › Absences and attendance › Request time off shows the Annual holidays card, and the request says “You have N days left; after this request, M.”. The HR manager sees them in People › Leave and absences › Holiday balances.
  2. Whether any To Approve or Approved request already takes up days you think are free.

How to fix it​

  • Done by the employee: reduce the request to the days left, or decline to book the excess.
  • Ask the HR manager: if days are missing because the year's allocation is wrong, only HR can correct it. For the holiday calendar, the Administrator generates the next year in the employee's company, in step 2 of Public holidays.

Expected result​

The warning “Only N day(s) available” disappears and the request is saved in To Approve.

When to contact support​

The employee has more free days on screen and the message persists.

Information to send​

The employee's name, the dates, the time type, the days the screen says are left and the full text of the message.

Versions: Odoo 20.0Community and Enterprisefiscaldoo 20.0 (master ba9c8bd7)ID DOC-0386
Was this page helpful?