invantive documentation
Invantive Support ForumsLog In / Sign Up

calendar: Odoo itgen_odoo_calendar

read only per partition

  • Catalog: Odoo
  • Schema: resource
  • Label: itgen_odoo_calendar

Resource Working Time

Can only retrieve data.

Summary

Calendar model for a resource. It has

 - attendance_ids: list of resource.calendar.attendance that are a working
                   interval in a given weekday.
 - leave_ids: list of leaves linked to this calendar. A leave can be general
              or linked to a specific resource, depending on its resource_id.

All methods in this class use intervals. An interval is a tuple holding
(begin_datetime, end_datetime). A list of intervals is therefore a list of
tuples, holding several intervals of work or leaves.

Table Columns

The columns of the table calendar are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
active boolean Active If the active field is set to false, it will allow you to hide the Working Time without removing it.
associated_leaves_count int32 Time Off Count
attendance_ids varchar2
company_id varchar2
company_id_label varchar2
contracts_count int32 # Contracts using it
create_date datetime Created on
create_uid varchar2
create_uid_label varchar2
display_name varchar2 Display Name
full_time_required_hours numeric Fulltime Hours Number of hours to work to be considered as fulltime.
global_leave_ids varchar2
hours_per_day numeric Average Hour per Day Average hours per day a resource is supposed to work with this calendar.
hours_per_week numeric Hours per Week
id int32 ID
is_fulltime boolean Is Full Time
leave_ids varchar2
name varchar2 Name
two_weeks_calendar boolean Calendar in 2 weeks mode
two_weeks_explanation varchar2 Explanation
tz varchar2 Timezone This field is used in order to define in which timezone the resources will work.
tz_offset varchar2 Timezone offset
work_time_rate numeric Work Time Rate Work time rate versus full time working schedule, should be between 0 and 100 %.
write_date datetime Last Updated on
write_uid varchar2
write_uid_label varchar2

Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver: