Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

2

How to create a timeline view ?

By
Bruno
on 10/4/13, 7:51 AM 4,600 views

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.

0
Kronhoj.dk
On 6/25/14, 3:36 PM

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

0

Daniel Reis

--Daniel Reis--
3436
| 6 7 9
Lisbon, Portugal
--Daniel Reis--

Author of the "Odoo Development Essentials" book.

Applications Manager at Securitas Portugal

Github: https://github.com/dreispt

Twitter; @reis_pt


Daniel Reis
On 10/4/13, 10:18 AM

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

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?

Bruno
on 10/4/13, 11:25 AM

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?

Bruno
on 10/6/13, 2:14 PM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 10/4/13, 7:51 AM
Seen: 4600 times
Last updated: 3/16/15, 8:10 AM