Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0] Wrong behaviour of Time Off create form when opened as calendar popup #65090

Open
CRogos opened this issue Jan 26, 2021 · 1 comment
Open
Labels
14.0 HR Related to Human Resources Applications OE the report is linked to a support ticket (opw-...)

Comments

@CRogos
Copy link

CRogos commented Jan 26, 2021

Impacted versions: 14.0 Enterprise

Steps to reproduce:
When using the calendar popup create method, the create form is not working as expected.

In the first video (1-calendar-create.gif) we see the expected behavior.

  • The Duration is calculated currectly
  • No timezone warning is diplayed
    1-calendar-create

In the second video (2-calendar-drag-nochange.gif):

  • When the create form opens, the duration value is not calculated correctly
  • A timezone warning is displayed at the top.
  • The entry is created "today" and not at the correct position.
    2-calendar-drag-nochange

In the thired video (3-calendar-drag-create.gif):

  • The duration is not calculated correctly when changing the end date.
  • The enty is created at the correct position, but with a wrong duration.
    3-calendar-drag-create

The issue can be reproduced on a fresh database with the "Time Off" application installed.

Current behavior:
Duration is not calculated correctly and the start/end date is not correct when not changed in popup edit form

Expected behavior:
Duration, start- and enddate should be correct in popup create form.

Support ticket number submitted via odoo.com/help (optional):
#2448112

@pedrobaeza pedrobaeza added 14.0 HR Related to Human Resources Applications OE the report is linked to a support ticket (opw-...) labels Jan 27, 2021
@CRogos
Copy link
Author

CRogos commented Feb 5, 2021

The Odoo support showed me a work around for this issue by reselecting the time off type.
Reselect time off type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
14.0 HR Related to Human Resources Applications OE the report is linked to a support ticket (opw-...)
Projects
None yet
Development

No branches or pull requests

2 participants