Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Is there an issue with drag in calendar view when date_deadline is first_day_of_week?

René Schuster
on 9/24/14, 4:47 AM 738 views

I have recently trouble with the calendar view. When dragging a new event from one date to another date, I sometimes get wrong behaviour. The problem only occurs, when date_deadline is first_day_of_week, and only, when dragging (click on calendar works for every day).

I first thought, there might be something wrong with my custom code, but after some investigation I found out, that this issue happens in default modules aswell, e.g. the crm.meetings calendar view or the hr.holidays holiday request calendar view.

The detailed behaviour when dragging from any date to a monday:
The end_date gets set to the start_date and it operates like I only clicked on the start_date.

Is there a bug? Any further information on this subject?


The behaviour only occurs, when first day of week is monday, e.g. when users language is german. For first_dow = sunday (language english) everything works fine.


Recently the language and thus the first_day_of_week don't play a part anymore...

Wrong behaviour occurs always.

I've reproduced the fault with a freshly set up server as well as with a running production server.

Also tried Firefox 33.1 and Internet Explorer 11.0

Finally I have tried to use the latest dhtmlxScheduler, but this didn't help either.




Ludo - Neobis

--Ludo - Neobis--
| 2 2 5
Hoogvliet, Netherlands
--Ludo - Neobis--


Ludo - Neobis
On 11/14/14, 8:11 AM

This is odd. A good find though, worth posting on the bugs list of github (www.github.com/odoo).

My guess is that it has something to do with the python calendar used. We have encountered a similair bug using the WeekOfYear functionality in sequences, which was off by 1 week due to wrong calendar usage.

Have you been able to reproduce the phenomenon described in my answer?

René Schuster
on 11/19/14, 10:21 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 9/24/14, 4:47 AM
Seen: 738 times
Last updated: 3/16/15, 8:10 AM