Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
14277 Lượt xem

Hello, I need to set up a room occupancy chart for an hotel management application. Rooms should be on rows and each room type should be a row group. Days should be on columns. Every guest stay should be a bar on a room row extending from the arrival day to the departure day. What is the best way to integrate this view in openerp? I have seen that the dhtmlScheduler library supports the timeline mode but I cannot find how to set the calendar view to use it

Thank you for any help.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Your description seems to perfectly fit in the Gantt View:

image description

Have a look at Project Tasks. This is the XML code for the view above:

<gantt date_start="date_start" date_stop="date_end" string="Tasks" default_group_by="project_id">
</gantt>

In your case:

  • "Projects" are Rooms
  • "Tasks" are Guests
Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you Daniel, I will try to use gantt. In Gantt view I see each tasks on a different row while I would like to see one single row for each room and all the guest stays side by side on the same row. I do not see how to get this. Do you?

Tác giả

I have tried the Gantt view. Unfortunately there is no way of having more tasks on the same line and this is a must for a room reservation chart. I am now trying to use the dhtmlxscheduler_timeline.js library but I do not know how to activate it in the calendar view. Could anyone help me?

Câu trả lời hay nhất

Hello Bruno

Did you get any success trying dhtmlxscheduler timeline with Openerp/Odoo ?

I am in the same situation but focusing on manufacturing operations.

BR

Flemming

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 25
995
1
thg 6 23
3735
0
thg 11 24
991
2
thg 10 22
5729
0
thg 12 21
2578