Re: how to change calendar in gantt for odoo to weekdays
I have that question, when im using that config, it changes general calendar option too, i want to use that only for Business , how to do that.
regards
I have that question, when im using that config, it changes general calendar option too, i want to use that only for Business , how to do that.
regards
can i use that config for only Business intervals?
You can specify working times on the calendars.
See: https://bryntum.com/products/gantt/docs/api/Gantt/model/ProjectModel#field-hoursPerDay
hoursPerDay are used for calculating durations. You can set it to 24 and specify the working time on the calendar.
Here you find it in more detail: https://bryntum.com/products/gantt/docs/guide/Gantt/basics/calendars
Up in this topic you can read how to change the calendar config.
In Odoo, calendar configuration object, i want to exclude weekdays, how to do that, i cant found out
You can exclude days by using intervals in the calendar
"calendars": {
"rows": [
{
"id": "general",
"name": "General",
"intervals": [
{
"recurrentStartDate": "on Sat at 0:00",
"recurrentEndDate": "on Mon at 0:00",
"isWorking": false
}
]
}
]