Post by christos »

How can we set the project Calendar (working hours/days etc?)
Same goes for resources, to set working time days off etc.
Thank you


Post by Terence »

This is not supported yet. I have created a feature request which you can follow here

https://github.com/bryntum/odoo-support/issues/1


Post by christos »

Thank you very much Terence. Now that this feature is not supported, what is the default behavior ?
Thank you,
Christos


Post by Terence »

[
            {
                "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
                            }
                        ]
                    }
                ]
            }
        ]

Post by Terence »

One General calendar with two sub calendars Nightly and Business


Post Reply