v 10.0 v 11.0 Third Party 839
Download for v 10.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Calendar (calendar)
Discuss (mail)
Technical Name calendar_resource
LicenseAGPL-3
Websitehttps://github.com/OCA/crm
Versions 10.0 11.0
You bought this module and need support? Click here!

Calendar Resource

This module adds new features to facilitate resource management with meetings:

  • To attach resources to a meeting, go to Calendar => Click on a meeting => Edit => Edit => add any related resources.
  • To edit or add a resource, go to Calendar => Resources => Resources.
  • This module can also prevent resources from being double-booked. Go to a resource and disable or enable Allow Double Booking (this is disabled by default). As a note, the same resource in a meeting that ends at 5pm and in a meeting that starts at 5pm on the same day would not not be considered double-booked.
  • You can restrict resources to certain calendar types. In the Resources form view, edit the Event Types field. The resource can then be added to events only of those types.
  • Resources cannot be added to events when they're not available, either because they're on leave or because the event time is outside their working time.
  • If you have an event selected as allday, only if there are no working times available on 1 or more of the days in that event will an error be raised. For example, if you set an event to allday on a Saturday and there are no working times at all that Saturday for a particular resource, then an error will be raised. However, if there is at least 1 working time interval for that resource on the Saturday, regardless of how long or short that working time is, the day will be considered covered by that working time. If the event is not allday, any time the resource is not available during the event, regardless of the time of day, will cause an error to be raised.
  • To stop leaves and working time validations on a resource when adding to an event, set the resource's Working Time field to blank in the resource form view.

Usage

Try me on Runbot

Roadmap

  • Abstract out logic from _check_resource_ids_working_times into separate methods in resource.calendar.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smash it by providing detailed and welcomed feedback.

Credits

Images

  • Odoo Community Association: Icon.

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit http://odoo-community.org.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
There are no ratings yet!
do not install in odoo 10
by
Joseph
on 10/25/17, 4:15 PM

get this error please help Traceback (most recent call last): File "/odoo/odoo-server/odoo/http.py", line 640, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/odoo/odoo-server/odoo/http.py", line 677, in dispatch result = self._call_function(**self.params) File "/odoo/odoo-server/odoo/http.py", line 333, in _call_function return checked_call(self.db, *args, **kwargs) File "/odoo/odoo-server/odoo/service/model.py", line 101, in wrapper return f(dbname, *args, **kwargs) File "/odoo/odoo-server/odoo/http.py", line 326, in checked_call result = self.endpoint(*a, **kw) File "/odoo/odoo-server/odoo/http.py", line 935, in __call__ return self.method(*args, **kw) File "/odoo/odoo-server/odoo/http.py", line 506, in response_wrap response = f(*args, **kw) File "/odoo/odoo-server/addons/web/controllers/main.py", line 889, in call_button action = self._call_kw(model, method, args, {}) File "/odoo/odoo-server/addons/web/controllers/main.py", line 877, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/odoo/odoo-server/odoo/api.py", line 681, in call_kw return call_kw_multi(method, model, args, kwargs) File "/odoo/odoo-server/odoo/api.py", line 672, in call_kw_multi result = method(recs, *args, **kwargs) File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 410, in button_immediate_install return self._button_immediate_function(type(self).button_install) File "/odoo/odoo-server/odoo/addons/base/module/module.py", line 484, in _button_immediate_function modules.registry.Registry.new(self._cr.dbname, update_module=True) File "/odoo/odoo-server/odoo/modules/registry.py", line 82, in new odoo.modules.load_modules(registry._db, force_demo, status, update_module) File "/odoo/odoo-server/odoo/modules/loading.py", line 339, in load_modules loaded_modules, update_module) File "/odoo/odoo-server/odoo/modules/loading.py", line 237, in load_marked_modules loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks) File "/odoo/odoo-server/odoo/modules/loading.py", line 156, in load_module_graph _load_data(cr, module_name, idref, mode, kind='data') File "/odoo/odoo-server/odoo/modules/loading.py", line 95, in _load_data tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report) File "/odoo/odoo-server/odoo/tools/convert.py", line 845, in convert_file convert_xml_import(cr, module, fp, idref, mode, noupdate, report) File "/odoo/odoo-server/odoo/tools/convert.py", line 915, in convert_xml_import obj.parse(doc.getroot(), mode=mode) File "/odoo/odoo-server/odoo/tools/convert.py", line 799, in parse self._tags[rec.tag](rec, de, mode=mode) File "/odoo/odoo-server/odoo/tools/convert.py", line 707, in _tag_record id = self.env(context=rec_context)['ir.model.data']._update(rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode) File "/odoo/odoo-server/odoo/addons/base/ir/ir_model.py", line 1228, in _update record = record.create(values) File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 362, in create return super(View, self).create(self._compute_defaults(values)) File "/odoo/odoo-server/odoo/models.py", line 3838, in create self._fields[key].determine_inverse(record) File "/odoo/odoo-server/odoo/fields.py", line 1000, in determine_inverse getattr(records, self.inverse)() File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 220, in _inverse_arch view.write(data) File "/odoo/odoo-server/odoo/addons/base/ir/ir_ui_view.py", line 380, in write return super(View, self).write(self._compute_defaults(vals)) File "/odoo/odoo-server/odoo/models.py", line 3564, in write self._write(old_vals) File "/odoo/odoo-server/odoo/models.py", line 3715, in _write self._validate_fields(vals) File "/odoo/odoo-server/odoo/models.py", line 1083, in _validate_fields raise ValidationError("%s\n\n%s" % (_("Error while validating constraint"), tools.ustr(e))) ParseError: "Erreur lors de la validation de la contrainte Le champ `allowed_event_types` n'existe pas Contexte de l'erreur : Vue `resource.resource.form` [view_id: 2047, xml_id: n/a, model: resource.resource, parent_id: 213] None" while parsing /odoo/odoo-server/addons/calendar_resource/views/resource_resource_view.xml:5, near resource.resource.form resource.resource <xpath expr="//group[group[field[@name='user_id']]]" position="before">

<xpath expr="//field[@name='active']" position="after"> <xpath expr="//field[@name='time_efficiency']" position="after">