Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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.
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.
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 platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 9/24/14, 4:47 AM|
|Seen: 842 times|
|Last updated: 3/16/15, 8:10 AM|