0% found this document useful (0 votes)
10 views4 pages

Public Employee HR Data Structure

The document defines the 'Public Employee' object within the HR module, detailing its fields, relationships, and security settings. It includes various attributes such as employee details, attendance, leaves, and skills, along with their data types and relationships to other objects. Additionally, it lists the views associated with this object for different functionalities in the HR system.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views4 pages

Public Employee HR Data Structure

The document defines the 'Public Employee' object within the HR module, detailing its fields, relationships, and security settings. It includes various attributes such as employee details, attendance, leaves, and skills, along with their data types and relationships to other objects. Additionally, it lists the views associated with this object for different functionalities in the HR system.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Object: [Link].

public Type: Base Object


Name: Public Employee
Transient: False

Apps: hr, hr_attendance,


hr_contract, hr_org_chart, hr_skills

Security

Group R W C U Name

User types / Internal User X hr.employee_public

Fields

Name Label Type Attribute Rq Ro Tr Idx Apps

active Active boolean X hr

address_id Work Address many2one - relation = [Link] X hr

- ondelete = Set NULL

allocation_count Total number of days allocated. float X hr_holidays

allocation_display Allocation Display char X hr_holidays

allocation_remaining_display Allocation Remaining Display char X hr_holidays

allocations_count Total number of allocations integer X hr_holidays

attendance_manager_id Attendance Manager many2one - relation = [Link] X hr_attendance

attendance_state Attendance Status selection X hr_attendance

avatar_1024 Avatar 1024 binary X hr

avatar_128 Avatar 128 binary X hr

avatar_1920 Avatar binary X hr

avatar_256 Avatar 256 binary X hr

avatar_512 Avatar 512 binary X hr

badge_ids Employee Badges one2many - relation = [Link] X hr_gamification

child_all_count Indirect Subordinates Count integer X hr_org_chart

child_count Direct Subordinates Count integer X hr_org_chart

child_ids Direct subordinates one2many - relation = [Link] X hr

- field = parent_id

coach_id Coach many2one - relation = [Link] X hr

- ondelete = Set NULL

color Color Index integer X hr

company_id Company many2one - relation = [Link] X hr

- ondelete = Set NULL

create_date Create Date datetime X hr


create_uid Created by many2one - relation = [Link] X hr

- ondelete = Set NULL

current_leave_state Current Time Off Status selection - selection = [ (draft, New), (confirm, Waiting X hr_holidays
Approval), (refuse, Refused), (validate1, Waiting
Second Approval), (validate, Approved), (cancel,
Cancelled),]

department_color Department Color integer X hr_org_chart

department_id Department many2one - relation = [Link] X hr

- ondelete = Set NULL

direct_badge_ids Direct Badge one2many - relation = [Link] hr_gamification

- field = employee_id

display_name Display Name char X hr

employee_id Employee many2one - relation = [Link] X hr

- ondelete = Set NULL

employee_skill_ids Skills one2many - relation = [Link] hr_skills

- field = employee_id

first_contract_date First Contract Date date X hr_contract

goal_ids Employee HR Goals one2many - relation = [Link] X hr_gamification

has_badges Has Badges boolean X hr_gamification

hours_today Hours Today float X hr_attendance

hr_icon_display Hr Icon Display selection - selection = [ (presence_present, Present), X hr, hr_holidays


(presence_absent_active, Present but not active),
(presence_absent, Absent), (presence_to_define,
To define), (presence_undetermined,
Undetermined), (presence_holiday_absent, On
leave), (presence_holiday_present, Present but on
leave),]

hr_presence_state Hr Presence State selection - selection = [ (present, Present), (absent, Absent), X hr


(to_define, To Define),]

id ID integer X hr

image_1024 Image 1024 binary X hr

image_128 Image 128 binary X hr

image_1920 Image binary X hr

image_256 Image 256 binary X hr

image_512 Image 512 binary X hr

is_absent Absent Today boolean X hr_holidays

is_manager Is Manager boolean X hr

is_subordinate Is Subordinate boolean X hr_org_chart


job_id Job Position many2one - relation = [Link] X hr

- ondelete = Set NULL

job_title Job Title char X hr

last_activity Last Activity date X hr

last_activity_time Last Activity Time char X hr

last_attendance_id Last Attendance many2one - relation = [Link] X hr_attendance

last_check_in Check In datetime X hr_attendance

last_check_out Check Out datetime X hr_attendance

leave_date_from From Date date X hr_holidays

leave_date_to To Date date X hr_holidays

leave_manager_id Time Off many2one - relation = [Link] hr_holidays

- ondelete = Set NULL

leaves_count Number of Time Off float X hr_holidays

member_of_department Member of department boolean X hr

mobile_phone Work Mobile char X hr

name Name char X hr

newly_hired Newly Hired boolean X hr

parent_id Manager many2one - relation = [Link] X hr

- ondelete = Set NULL

remaining_leaves Remaining Paid Time Off float X hr_holidays

resource_calendar_id Resource Calendar many2one - relation = [Link] hr

- ondelete = Set NULL

resource_id Resource many2one - relation = [Link] X hr

- ondelete = Set NULL

resume_line_ids Resume lines one2many - relation = [Link] hr_skills

- field = employee_id

show_hr_icon_display Show Hr Icon Display boolean X hr

show_leaves Able to see Remaining Time Off boolean X hr_holidays

subordinate_ids Subordinates one2many - relation = [Link] X hr_org_chart

total_overtime Total Overtime float X hr_attendance

tz Timezone selection X hr

user_id User many2one - relation = [Link] X hr

- ondelete = Set NULL

user_partner_id User's partner many2one - relation = [Link] X hr


work_contact_id Work Contact many2one - relation = [Link] X hr

- ondelete = Set NULL

work_email Work Email char X hr

work_location_id Work Location many2one - relation = [Link] X hr

- ondelete = Set NULL

work_phone Work Phone char X hr

write_date Last Updated on datetime X hr

write_uid Last Updated by many2one - relation = [Link] X hr

- ondelete = Set NULL

Views

Seq Type Name XML ID Inherited

16 Form [Link] form hr_contract.view_employee_public_form hr.hr_employee_public_view_form

16 Form [Link] hr.hr_employee_public_view_form

16 Hierarchy [Link] hr_org_chart.hr_employee_public_hierarchy_view

16 Kanban [Link] hr_holidays.hr_kanban_view_public_employees_kanban hr.hr_employee_public_view_kanban

16 Form [Link] hr_holidays.hr_employee_public_form_view_inherit hr.hr_employee_public_view_form

16 Search [Link] hr_skills.hr_employee_public_view_search hr.hr_employee_public_view_search

16 Form [Link] hr_gamification.hr_employee_public_view_form hr.hr_employee_public_view_form

16 Form [Link].org_chart hr_org_chart.hr_employee_public_view_form_inherit_org_chart hr.hr_employee_public_view_form

16 Form [Link] hr_skills.hr_employee_public_view_form_inherit hr.hr_employee_public_view_form

16 Search [Link] hr.hr_employee_public_view_search

16 Tree [Link] hr.hr_employee_public_view_tree

You might also like