How to assign task in saturday and sunday? as task options only general, business
what is general and business and night shift in bryntum?
Support Forum
Currently those two calendars are returned statically
{
"id": "general",
"name": "General",
"intervals": [
{
"recurrentStartDate": "on Sat at 0:00",
"recurrentEndDate": "on Mon at 0:00",
"isWorking": False
}
],
"expanded": True,
"children": [
{
"id": "business",
"name": "Business",
"hoursPerDay": 8,
"daysPerWeek": 5,
"daysPerMonth": 20,
"intervals": [
{
"recurrentStartDate": "every weekday at 12:00",
"recurrentEndDate": "every weekday at 13:00",
"isWorking": False
},
{
"recurrentStartDate": "every weekday at 17:00",
"recurrentEndDate": "every weekday at 08:00",
"isWorking": False
}
]
},
{
"id": "night",
"name": "Night shift",
"hoursPerDay": 8,
"daysPerWeek": 5,
"daysPerMonth": 20,
"intervals": [
{
"recurrentStartDate": "every weekday at 6:00",
"recurrentEndDate": "every weekday at 22:00",
"isWorking": False
}
]
}
]
}
We have a ticket to make the calendars manageable
https://github.com/bryntum/odoo-support/issues/1
Hi Terence,
is the 1.2.5 version already updated? checking just now https://apps.odoo.com/apps/modules/14.0/bryntum_gantt_enterprise/#
still downloading version 1.2.4
I see that in 1.2.7 it is not possible anymore to have a normal working week calendar with 5 days (mon-fri) of 8 hours.
If I now add a task of 5 days duration in the 'general' calendar, then the weekends are counted as working days too (also for already existing tasks). This is not good, because we planned all tasks in working days and now our planning is completely messed up.
If I set the task to 'business' calendar, then suddenly 5 days duration means +/- 21 days on the gantt chart. This is probably due to a wrong calculation: the duration in days is multiplied by 24 to get hours and then spread over 8 hours per working day and 5 days per working week.
This is a mix of duration and effort.