2. Introduction Implementation Future extensions
The task
allocate resources of type X, Y and Z over time
take care that there are no overlaps
take resourcesâ âwork timesâ into account (including
vacations)
also resourcesâ time eïŹciency
this is a very boring thing to reimplement every time we
need it, so put it into an own addon
Holger Brunn Therp BV
Generic resource planning in OpenERP
3. Introduction Implementation Future extensions
resource planning
mixin-class for your model that represents the planning
resource ïŹelds
a list of the objectsâ resource ïŹelds
(resource.resource)
date ïŹeld
a datetime ïŹeld giving the start of the activity
your model represents
end date ïŹeld
a datetime ïŹeld giving the end of the activity your
model represents
duration ïŹeld
alternative to end date ïŹeld, duration in hours
Holger Brunn Therp BV
Generic resource planning in OpenERP
4. Introduction Implementation Future extensions
ModiïŹed calendar view
queries a modelâs resource ïŹelds if available
shows planned resources as ïŹlters in sidebar
restricts ïŹlters to currently visible period
Holger Brunn Therp BV
Generic resource planning in OpenERP
5. Introduction Implementation Future extensions
Demo
Demo
Code is available on https://code.launchpad.net/
~hbrunn/+junk/resource_planning for now
Holger Brunn Therp BV
Generic resource planning in OpenERP
6. Introduction Implementation Future extensions
Contributions welcome!
undo changes in calendar view if we run into an exception
make use of http://dhtmlx.com/docs/products/
dhtmlxScheduler/sample_units.shtml
hook into vacation requests to warn about a resource
being planned for that period
oïŹer more sophisticated rules for work times (iCalendar
recurrance rules should suïŹce)
Holger Brunn Therp BV
Generic resource planning in OpenERP