Post by cameronp »

Hi there - Is there a reason you used users, instead of the resource for the model in odoo?

This has caused some issues in our usage, in regards to the models in odoo:

some employees are users, but not all
all employees inherit from the resources model

This would allow greater flexibility too, since all resources are not necessarily human. You could schedule a expensive piece of machinery etc, which can also be a resource in odoo.

Resources also have a working time which basically maps to calendar in bryntum. Could this also be included instead of being hard coded into the config of the gantt?

Thanks


Post by Terence »

Hi,

We agree. This is high on our list, we want to have a dependency on the Employee model.

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

This will be probably a new module with histogram included. ETA hopefully before November.


Post by cameronp »

Hmm, I don't think its necessary to have the dependency on that, you could just use resources as the dependency. Every employee / user is already a resource (base class)


Post by Terence »

Good point! In that case maybe we can add this to the Gantt Pro View solution as well.


Post Reply