Skip to main content
Pending validationOdoo 20.0Community and Enterprise

The holiday request has no type, dates or contract

Symptom​

The request is saved with zero days, not of the type you wanted, or the screen refuses it because a date or the year's holiday calendar is missing.

Message​

Three cases, seen on screen:

  • No type (Worker). If you delete the type, the default one comes back, Training. When saving, the screen does not complain and the request is immediately Approved, with 8:00 hours, on today's date.
  • The end date is left empty (Worker). Today, when you delete the end date, the screen shows “Access Error You do not have permission to see this “Worker” field: its content is reserved for a more specific profile. […]” instead of the message about the problem; the same happens with dates in the following year. Close the window and choose both dates again in the calendar (see How to request holidays or another absence).
  • The year has no holiday calendar (HR manager, 15/12/2025). “Invalid Operation There is no holiday calendar for 2025 (Continente) in company “…”. What happened: the working days are never guessed without the holidays of the year. How to fix it: create the calendar in Payroll › Configure › Company › Holiday calendars and press “Generate holidays”.”

Verified causes​

  • The type was deleted. The request goes back to the default type, which is not holidays.
  • The end date is before the start date. The request is not saved.
  • The year's holiday calendar is missing. See How to configure public holidays.
  • Request on non-working days. A request on a Sunday or a public holiday has 0 days.
Pending validation on screen: the message about no contract in force. In three attempts (full day before the contract start, hourly type before the contract start and an employee without a contract), the request was saved without an error, so the message was not seen; and missing absence hours was not triggered.

What to check​

  1. The request's Time Type: it must be the company's holiday type (Annual holidays).
  2. The two dates in Dates and the days the screen shows below (for example 10.00 day(s)).
  3. In Holiday calendars, whether the request's year exists.

How to fix it​

  • No type or 0 days: open the request and, if it is still To Approve, choose Annual holidays and the dates. If it became Approved as Training, the request has the Cancel button and, in the gear menu, Delete.
  • End date empty or before the start date: choose both dates again in the calendar.
  • No calendar for the year: ask the Administrator to generate it.

Expected result​

The request shows the right type and days and is saved as To Approve.

When to contact support​

The screen refuses the request and all three causes are fine.

Information to send​

The full text of the message, the type, the dates and the employee.

Versions: Odoo 20.0Community and Enterprisefiscaldoo 20.0 (master 0289754a8)ID DOC-0390
Was this page helpful?