Post by julius stein »

I have two suggestions:

1.) Could you add a column with the end date? so the user is able to set start and ende date and the duration is calculated?

2.) The usability would improve if the user could open the task in the form view directly from the bryntum gantt view. Either in a Popup or in Full Screen.

Any plans to integrate these two features?


Post by Terence »

I think those features are already there.

1) You can add the column with a configuration setting in the settings panel.

{
  "columns": [
    {
      "type": "wbs",
      "id": "br_column_1"
    },
    {
      "type": "name",
      "width": 250,
      "id": "br_column_2"
    },
    {
      "type": "startdate",
      "id": "br_column_3"
    },
    {
      "type": "enddate",
      "id": "br_column_3_1"
    },
    {
      "type": "duration",
      "id": "br_column_4_1"
    },
    {
      "type": "resourceassignment",
      "width": 120,
      "showAvatars": false,
      "id": "br_column_5"
    },
    {
      "type": "percentdone",
      "showCircle": true,
      "width": 70,
      "id": "br_column_6"
    },
    {
      "type": "predecessor",
      "width": 112,
      "id": "br_column_7"
    },
    {
      "type": "successor",
      "width": 112,
      "id": "br_column_8"
    },
    {
      "type": "schedulingmodecolumn",
      "id": "br_column_9"
    },
    {
      "type": "calendar",
      "id": "br_column_10"
    },
    {
      "type": "constrainttype",
      "id": "br_column_11"
    },
    {
      "type": "constraintdate",
      "id": "br_column_12"
    },
    {
      "type": "addnew",
      "id": "br_column_13"
    }
  ]
}
Screenshot 2022-03-10 at 16.24.46.png
Screenshot 2022-03-10 at 16.24.46.png (115.6 KiB) Viewed 1037 times

You can use the full configuration for the view as described here (for so far the Odoo controller and model supports it).

https://www.bryntum.com/docs/gantt/api/Gantt/view/Gantt

For more columns and configurations...

https://www.bryntum.com/docs/gantt/api/Gantt/column/EndDateColumn

2) You can double click a task, or right click

Screenshot 2022-03-10 at 16.26.13.png
Screenshot 2022-03-10 at 16.26.13.png (64.65 KiB) Viewed 1037 times

Post by julius stein »

I check out point 1, thanks.

Related to point 2: I would like to have an option to Jump to the form view of the task in Odoo like shown in the screenshot.

Attachments
Screenshot 2022-03-14 at 15.14.08.png
Screenshot 2022-03-14 at 15.14.08.png (133.45 KiB) Viewed 927 times

Post by Terence »

Thanks for the update. I have created a ticket.

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


Post Reply