跳至内容
菜单
此问题已终结
1 回复
697 查看

Hello Odoo Community,

We are currently preparing an Odoo 18 Enterprise deployment for a client with a specific shift planning requirement.

Each employee follows a rotating 3-week schedule:

  • Week 1: 06:00 - 14:00
  • Week 2: 14:00 - 22:00
  • Week 3: 22:00 - 06:00

This pattern repeats continuously. Furthermore, on the same day, we might have employees working in different shifts depending on their current week in the cycle.

My questions are:

  1. Is it possible to define such a 3-week cyclic schedule natively in Odoo 18 Enterprise?
  2. Can we assign this cyclic planning per employee in a way that the system automatically detects which shift an employee is supposed to be working on a specific day?
  3. If this is not supported out of the box, is there any recommended customization or third-party module to manage such scheduling needs?

Any help or guidance would be greatly appreciated!

Thank you,

形象
丢弃

Hello,

I am experiencing the same difficulties. In the industry, three-week schedules are common.

I haven’t found a workaround and I am stuck.

Have you, on your side, found a solution?

Best regards,

最佳答案

Hi,

Odoo 18 Enterprise provides strong scheduling features through the Planning and HR apps, but it only supports weekly recurring schedules. This means you can easily set up calendars that repeat every seven days, such as a morning or afternoon shift, but you cannot directly define a 21-day rotating cycle like the one you need.

Employees can be assigned to different resource calendars or weekly shift templates, and the Planning app allows schedules to be copied forward. However, Odoo does not natively “auto-rotate” shifts on a 3-week basis, nor can it automatically detect which shift an employee should be in without manual setup or additional logic.

To achieve this, you have two main options. One is to build a custom extension to resource calendars or the Planning app so that Odoo understands and generates 21-day cycles. Another is to use or adapt a third-party module from the Odoo Apps store, such as those for shift planning or workforce management, which sometimes support rotating schedules.

In practice, if shifts are stable and predictable, extending the resource calendar to handle a 3-week rotation is a simple and low-cost customization. If more flexibility is needed, enhancing the Planning app with a rotation generator is more practical. Out of the box, though, Odoo does not provide this functionality.

Related modules:

https://apps.odoo.com/apps/modules/18.0/hr_employee_shift

https://odoo-community.org/shop/employees-shifts-716582#attr=943771


Hope it helps

形象
丢弃