Post by visiniaga »

update to Version 14.0.2.1.19 and Version 14.0.2.1.20
duration show wrong as seen in the attachment

configuration settings:

[
  {
    "id": "general",
    "name": "General",
    "intervals": [],
    "expanded": true,
    "children": [
      {
        "id": "calendar_days",
        "name": "All days (Calendar days 24/7)",
        "hoursPerDay": 24,
        "daysPerWeek": 7,
        "daysPerMonth": 30,
        "intervals": []
      },
      {
        "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 }
        ]
      }
    ]
  }
]

Attachments
Screenshot from 2025-08-18 13-10-05.png
Screenshot from 2025-08-18 13-10-05.png (153.35 KiB) Viewed 21512 times
Screenshot from 2025-08-18 13-44-34.png
Screenshot from 2025-08-18 13-44-34.png (78.34 KiB) Viewed 21512 times

Post by nivl »

Hi visiniaga,

Thank you for your submission.

What I would do, instead of using the Gantt Configuration Object on its own, is create the calendars you want to use in Settings - Technical - Working times --> see image attached.

Once you've done this, select a calendar under Settings - Gantt View Pro - Default Calendar, which then sets a global calendar for the Gantt --> see other image attached.

You'll also see the Gantt Configuration Object data you've entered behave differently on the Advanced tab - Calendar of a task.

Attachments
Default Calendar.png
Default Calendar.png (89.29 KiB) Viewed 21507 times
Create Working Times.png
Create Working Times.png (35.52 KiB) Viewed 21507 times

Niels


Post by visiniaga »

Hi Niels,

with this configuration, it will showing duration with only working days? how if we want to have duration for calendar days instead only business working hour?


Post by nivl »

Hi visiniaga,

It will show whatever calendar you create. I.e. If you create a calendar that has Saturday and Sunday listed as days off, that's what will be reflected in the Gantt. If you pick different off-days on the calendar you want to use for your company, those will be reflected in the Gantt.

I've attached a clip for clarification.

Attachments
Working time calendar in Gantt.webm
(3.03 MiB) Downloaded 1477 times

Niels


Post by visiniaga »

Thanks Niels,

How actually will working time for calendar with calendar days, is monday-sunday with 8 hours or 24hours monday-sunday?

This should be default calendar days? Not checking on project calendar days?

Second problem, task with dependency when moving right or left predecessor or successor dont moving following, how to check?


Post by nivl »

Hi visiniaga,

I don't understand what you are trying to ask about monday - sunday 8 or 24 hours. Please clarify.

Yes, it should be default calendar where you select the calendar you created in Settings - Technical - Working Times. It sets it globally for the Gantt, so for all projects you open in Gantt View Pro.

Having all dependencies move depends if you have Auto Schedule selected in Settings - Gantt View Pro. If yes, dependencies will move. Of no, the dependencies will stay in place. On our demo (https://odoo-gantt14.bryntum.com/), Auto Schedule is selected, and you'll see dependencies move along when you move related tasks.

Niels


Post by visiniaga »

pls check video
it have set working time in odoo 00:00 - 23:59

autoscheduling also already enabled, but not working, task that have dependency dont move when other task is moving

Attachments
Screencast from 2025-08-19 11-12-41.webm
(9.81 MiB) Downloaded 1246 times

Post by nivl »

Hi visiniaga,

Thank you for the clip, I can see what's going on.

After watching your video, I can see that the moving works as it should; When you move the milestones, the tasks underneath move with it, which is the proper behavior.

The reason the parent tasks/milestones themselves do not interact with one another is because the tasks within don't overlap at any point. They're all on the left side of the parent task/milestone (the beginning), so the planning as far as the Gantt is concerned, is fine. If you move the predecessor parent task/milestone completely past the successor, it should move the successor to stay ahead of the predecessor.

The only thing I'm puzzeled by is how you are able to set time on a parent task/milestone. It should follow the amount of time allocated to the children/tasks within the milestone. This behavior is not present in the Gantt on its own. Did you import this project into Odoo, perhaps?

Niels


Post by visiniaga »

Hi Niels,

No it created from odoo itself, but it may duplicate from other project in odoo,

How about the duration calculation?


Post by nivl »

Hi visiniaga,

Alright, the reason I asked is because that might be why the Duration calculation for the parent task/milestone isn't working.

Another possibility that might cause interference is if there are other 3rd party modules or customizations present on your Odoo. This can sometimes interact with Gantt View Pro in a way that it causes weird behavior or errors.

Niels


Post Reply