Odoo 19.0 Community · Persistent

hr.employee.public: fields, relations and API

The hr.employee.public model ("Public Employee") is a persistent model declared by the Employees module, then extended by 12 other modules. It exposes 104 fields, 99 of them declared directly on the model; 2 fields from other models point to it. Below you will find every field with its technical name, type, label and relations, followed by an Odoo 19 JSON-2 API call.

Model identity

Technical name
hr.employee.public
Label
Public Employee
Type
Persistent (models.Model)
SQL table
None (no table)
Origin module
Employees (hr)
Extended by
hr_attendance, hr_expense, hr_fleet, hr_gamification, hr_holidays, hr_homeworking, hr_maintenance, hr_org_chart, hr_presence, hr_skills, hr_skills_slides, hr_timesheet
Default order (_order)
name

Model fields

99 own fields, 0 inherited from mixins and 5 automatic ORM fields. Click a name to get a direct link to that field.

104 of 104 fields shown

Technical nameLabelTypeDetails
activeActiveboolean
read-only
address_idAddressmany2one
read-only
allocation_displayAllocation Displaychar
computed

added by Time Off (hr_holidays)

allocation_remaining_displayAllocation Remaining Displaychar

related: employee_id.allocation_remaining_display

added by Time Off (hr_holidays)

attendance_manager_idAttendance Managermany2one

related: employee_id.attendance_manager_id

added by Attendances (hr_attendance)

attendance_stateAttendance Stateselection
read-only

related: employee_id.attendance_state

added by Attendances (hr_attendance)

avatar_1024Avatar 1024image

related: employee_id.avatar_1024

avatar_128Avatar 128image

related: employee_id.avatar_128

avatar_1920Avatarimage

related: employee_id.avatar_1920

avatar_256Avatar 256image

related: employee_id.avatar_256

avatar_512Avatar 512image

related: employee_id.avatar_512

badge_idsBadgeone2many
read-onlycomputed

added by HR Gamification (hr_gamification)

birthday_public_display_stringPublic Date of Birthchar

related: employee_id.birthday_public_display_string

certification_idsCertificationone2many

related: employee_id.certification_ids

added by Skills Management (hr_skills)

child_all_countChild All Countinteger
computed

added by HR Org Chart (hr_org_chart)

child_countChild Countinteger
computed

added by HR Org Chart (hr_org_chart)

child_idsDirect subordinatesone2many
read-only

inverse: parent_id

coach_idCoachmany2one
read-only
colorColorinteger
read-only
company_idCompanymany2one
read-only
country_codeCountry Codechar
computed
courses_completion_textCourses Completion Textchar

related: employee_id.courses_completion_text

added by Skills e-learning (hr_skills_slides)

create_dateCreate Datedatetime
read-only
current_employee_skill_idsCurrent Employee Skillone2many

related: employee_id.current_employee_skill_ids

added by Skills Management (hr_skills)

department_colorDepartment Colorinteger
computed

added by HR Org Chart (hr_org_chart)

department_idDepartmentmany2one
read-only
display_attendancesDisplay Attendancesboolean

related: employee_id.display_attendances

added by Attendances (hr_attendance)

display_certification_pageDisplay Certification Pageboolean

related: employee_id.display_certification_page

added by Skills Management (hr_skills)

display_extra_hoursDisplay Extra Hoursboolean

related: company_id.hr_attendance_display_overtime

added by Attendances (hr_attendance)

emailEmailchar

related: employee_id.email

email_sentEmail Sentboolean

added by Employee Presence Control (hr_presence)

employee_idEmployeemany2one
read-only
employee_skill_idsSkillsone2many

inverse: employee_id

added by Skills Management (hr_skills)

equipment_countEquipment Countinteger

related: employee_id.equipment_count

added by Maintenance - HR (hr_maintenance)

expense_manager_idExpense Managermany2one
read-only

added by Expenses (hr_expense)

filter_for_expenseFilter For Expenseboolean

added by Expenses (hr_expense)

friday_location_idFridaymany2one

added by Remote Work (hr_homeworking)

has_badgesHas Badgesboolean
computed

added by HR Gamification (hr_gamification)

has_subscribed_coursesHas Subscribed Coursesboolean

related: employee_id.has_subscribed_courses

added by Skills e-learning (hr_skills_slides)

has_timesheetHas Timesheetboolean

related: employee_id.has_timesheet

added by Task Logs (hr_timesheet)

hours_last_monthHours Last Monthfloat

related: employee_id.hours_last_month

added by Attendances (hr_attendance)

hours_last_month_overtimeHours Last Month Overtimefloat

related: employee_id.hours_last_month_overtime

added by Attendances (hr_attendance)

hours_todayHours Todayfloat
read-only

related: employee_id.hours_today

added by Attendances (hr_attendance)

hr_icon_displayHr Icon Displayselection
computed

Values computed at runtime

hr_presence_stateHr Presence Stateselection
computed

Values: present (Present), absent (Absent), archive (Archived), out_of_working_hour (Off-Hours)

hr_presence_state_displayHr Presence State Displayselection

Values: out_of_working_hour (Off-Hours), present (Present), absent (Absent)

added by Employee Presence Control (hr_presence)

im_statusIm Statuschar

related: employee_id.im_status

image_1024Image 1024image

related: employee_id.image_1024

image_128Image 128image

related: employee_id.image_128

image_1920Imageimage

related: employee_id.image_1920

image_256Image 256image

related: employee_id.image_256

image_512Image 512image

related: employee_id.image_512

ip_connectedIp Connectedboolean

added by Employee Presence Control (hr_presence)

is_absentAbsent Todayboolean
computed

added by Time Off (hr_holidays)

is_managerIs Managerboolean
computed
is_subordinateIs Subordinateboolean

related: employee_id.is_subordinate

added by HR Org Chart (hr_org_chart)

is_userIs Userboolean
computed
job_idJobmany2one
→ hr.job
read-only
job_titleJob Titlechar

related: employee_id.job_title

last_activityLast Activitydate
computed
last_activity_timeLast Activity Timechar
computed
last_attendance_idLast Attendancemany2one
read-only

related: employee_id.last_attendance_id

added by Attendances (hr_attendance)

last_check_inLast Check Indatetime

related: employee_id.last_check_in

added by Attendances (hr_attendance)

last_check_outLast Check Outdatetime

related: employee_id.last_check_out

added by Attendances (hr_attendance)

leave_date_toTo Datedate
computed

added by Time Off (hr_holidays)

leave_manager_idTime Off Approver

Select the user responsible for approving "Time Off" of this employee. If empty, the approval is done by an Administrator or Approver (determined in settings/users).

many2one
computed, stored

added by Time Off (hr_holidays)

manually_set_presenceManually Set Presenceboolean

added by Employee Presence Control (hr_presence)

manually_set_presentManually Set Presentboolean

added by Employee Presence Control (hr_presence)

member_of_departmentMember Of Departmentboolean
computed
mobile_phoneMobile Phonechar
read-only
mobility_cardMobility Cardchar
read-only

added by Fleet History (hr_fleet)

monday_location_idMondaymany2one

added by Remote Work (hr_homeworking)

nameNamechar
read-only
newly_hiredNewly Hiredboolean
computed
parent_idManagermany2one
read-only
phonePhonechar

related: employee_id.phone

resource_calendar_idResource Calendarmany2one
read-only
resource_idResourcemany2one
read-only
resume_line_idsResume linesone2many

inverse: employee_id

added by Skills Management (hr_skills)

saturday_location_idSaturdaymany2one

added by Remote Work (hr_homeworking)

shareShareboolean

related: employee_id.share

show_hr_icon_displayShow Hr Icon Displayboolean
computed
show_leavesAble to see Remaining Time Offboolean
computed

added by Time Off (hr_holidays)

subordinate_idsSubordinateone2many

related: employee_id.subordinate_ids

added by HR Org Chart (hr_org_chart)

sunday_location_idSundaymany2one

added by Remote Work (hr_homeworking)

thursday_location_idThursdaymany2one

added by Remote Work (hr_homeworking)

today_location_nameToday Location Namechar

added by Remote Work (hr_homeworking)

total_overtimeTotal Overtimefloat
read-only

related: employee_id.total_overtime

added by Attendances (hr_attendance)

tuesday_location_idTuesdaymany2one

added by Remote Work (hr_homeworking)

tzTzselection

related: resource_id.tz

user_idUsermany2one
read-only
user_partner_idUser's partnermany2one

related: user_id.partner_id

wednesday_location_idWednesdaymany2one

added by Remote Work (hr_homeworking)

work_contact_idWork Contactmany2one
read-only
work_emailWork Emailchar
read-only
work_location_idWork Locationmany2one
read-only
work_location_nameWork Location Namechar

related: employee_id.work_location_name

work_location_typeWork Location Typeselection

related: employee_id.work_location_type

work_phoneWork Phonechar
read-only
create_uidCreated bymany2one
read-onlyautomatic
display_nameDisplay Namechar
read-onlycomputedautomatic
idIDinteger
read-onlyautomatic
write_dateLast Updated ondatetime
read-onlyautomatic
write_uidLast Updated bymany2one
read-onlyautomatic

Relations

Models linked from this model

Fields of other models pointing here

Reading this model through the API

Odoo 19 JSON-2 API call reading the first five records with real fields of the model. Replace the instance, database and API key with your own.

curl
curl -X POST "https://your-instance.odoo.com/json/2/hr.employee.public/search_read" \
  -H "Authorization: bearer $ODOO_API_KEY" \
  -H "X-Odoo-Database: your-db" \
  -H "Content-Type: application/json" \
  -d '{"domain":[],"fields":["name","address_id","attendance_manager_id","coach_id","company_id"],"limit":5}'
Python (requests)
import requests

BASE_URL = "https://your-instance.odoo.com/json/2"
headers = {"Authorization": f"bearer {API_KEY}", "X-Odoo-Database": "your-db"}

res = requests.post(
    f"{BASE_URL}/hr.employee.public/search_read",
    headers=headers,
    json={"domain": [], "fields": ["name","address_id","attendance_manager_id","coach_id","company_id"], "limit": 5},
)
res.raise_for_status()
print(res.json())
  • External API access requires Odoo's Custom plan.
  • XML-RPC and JSON-RPC will be removed in Odoo 22 (fall 2028): use JSON-2.
  • The access rights and record rules of the key's user apply.

Cite this tool

Writing a tutorial, internal documentation or a forum answer? Copy this link to send your readers to the up-to-date reference.

<a href="https://aidoo.ai/en/outils/explorateur-modeles-odoo/hr-employee-public">hr.employee.public (Odoo 19.0)</a>

Sources

Data verified on September 23, 2026 · Odoo 19.0 Community

Have an Odoo project, or want to put your ERP to work with AI? Let's talk

Implementation, custom module development, connecting Claude or ChatGPT to your data: tell us about your context and we will reply within 24 business hours.