Introducing a new way to review your PRs.

Read the announcement

frappe / hrms

Open Source HR and Payroll Software

View on GitHub

20 documents · Updated Nov 23, 2026

docs / employee-profile-and-workplace-requests

Employee profiles and workplace requests

The employee profile is the self-service workspace for an employee’s public introduction and private work record. It lets employees keep approved personal information current, submit changes that need HR review, provide documents, and ask for or return company assets. HR uses the same workspace to maintain employment data and complete those reviews. It is part of workforce management and complements employee lifecycle and employee expenses and travel.

Workspace model

The profile separates information for the wider company from information for the employee and HR. The same page can open as a stand-alone employee-facing page or inside the Employee form’s profile tab.

Public profile

The public profile supports the company directory. Employees write this part themselves, and people who can view the relevant organizational chart can see it for active employees in an allowed company.

The profile card shows a small set of work identity and directory facts, such as the employee’s name, role, department, office, manager, tenure, leave status, and permitted birthday information. A colleague does not receive the private profile payload.

References: hrms/…/employee_profile.py• L1-11 hrms/…/employee_profile.py• L90-130 hrms/…/employee_profile.py• L165-204 hrms/…/employee_profile.vue• L27-30

Private employee workspace

The private workspace contains personal, contact, emergency, employment, bank, document, and asset information. It is visible to the employee and users with permission to read the Employee record. An employee can change only their own permitted personal information and can raise requests for changes that HR must approve.

HR users with Employee write permission can manage another employee’s private details, review requests, review documents, and take asset actions allowed by their permissions. No user can approve or reject their own request.

References: hrms/…/employee_profile.py• L100-129 hrms/…/employee_profile.py• L529-569 hrms/…/employee_profile.py• L770-789 hrms/…/employee_profile.json• L13-23

Editable profile content

The profile combines employee-authored content with structured Employee data. The structured cards use controlled field sets so self-service edits do not become a general Employee record edit.

Public profile sections

Employees can build a short public introduction with a cover image, headline, text, topics, photos, and external links. Each section is stored as an Employee Profile Section child row on the Employee record and is displayed in the employee’s chosen order.

The editor keeps unfinished additions out of the profile until the employee completes them. Images must come from the employee’s own uploads, and links must use HTTP or HTTPS. Empty sections are useful to the owner while editing but are not shown to other viewers.

References: hrms/…/employee_profile.py• L39-45 hrms/…/employee_profile.py• L224-245 hrms/…/employee_profile.py• L600-638 hrms/…/employee_profile.py• L641-685 hrms/…/employee_profile_section.json• L9-35 hrms/…/PublicProfile.vue• L104-161 hrms/…/SectionDialog.vue• L59-214

Personal and employment details

The Personal area groups personal facts, contact details, and an emergency contact. Employees can update those groups for themselves, while HR can also update them for another employee. The server validates values such as dates, phone numbers, email addresses, and linked records before saving.

The Employment area gives HR a view of job data such as department, office, joining date, employment type, grade, shift, notice period, and the effective holiday list. The holiday list is shown from the employee’s assignment rather than edited in this workspace.

References: hrms/…/employee_profile.py• L61-81 hrms/…/employee_profile.py• L248-284 hrms/…/employee_profile.py• L539-597 hrms/…/employee_profile.vue• L150-208 hrms/…/employee_profile.vue• L247-355

Bank details

The Bank account area shows the salary account and protects its sensitive numbers by showing only their last digits. The employee sends a Bank Details Change Request with the new account and proof. The current account stays in use until HR approves the request.

HR can update another employee’s account directly. When HR approves an employee request, the approved values become the Employee salary account. A rejected or approved decision remains visible for a short period so the employee can understand the result, and a new open request replaces that decision view.

Only the employee and permitted HR users can reveal the full account number or IBAN. Each reveal is recorded in the access log.

References: hrms/…/employee_profile.py• L248-284 hrms/…/employee_profile.py• L355-444 hrms/…/employee_profile.py• L687-716 hrms/…/employee_profile.py• L770-789 hrms/…/bank_details_change_request.py• L36-105 hrms/…/BankSection.vue• L10-25 hrms/…/BankSection.vue• L31-52

Employee documents

The Documents area manages files that belong to the Employee record. HR defines each Employee Document Type, including whether it is required and whether it has a number or expiry date. The Employee Document child rows hold the file and its review state.

The document path is designed around review:

  1. A required type with no row appears as missing.
  2. An employee uploads a file with optional document data, and it enters review.
  3. HR verifies it or rejects it with remarks that explain the problem.
  4. HR can also upload a file for the employee, which is accepted at once, or ask for a document by a due date.

Employees can take back their own unverified or rejected upload. HR can remove records, while a verified document needs HR action before it leaves the record.

References: hrms/…/employee_profile.py• L477-510 hrms/…/employee_profile.py• L792-907 hrms/…/employee_document_type.json• L19-59 hrms/…/employee_document.json• L20-75 hrms/…/DocumentsSection.vue• L9-36 hrms/…/DocumentsSection.vue• L81-101

Assigned assets

The Assets area shows the active assets held by the employee and the date of the latest submitted movement that gave each asset to them. It also shows requests that are open, recently rejected, or approved but not yet carried out.

Employees can request an asset category or ask to return an asset they hold. HR can review the request, assign an asset directly, or complete an approved request. The actual handover is an Asset Movement, so approval alone does not change custody.

References: hrms/…/employee_profile.py• L287-352 hrms/…/employee_profile.py• L447-475 hrms/…/employee_profile.py• L720-767 hrms/…/AssetsSection.vue• L9-24 hrms/…/AssetsSection.vue• L183-204

Workplace request flows

Bank changes and asset actions use submittable request records. An employee owns the request until HR decides it, while HR permissions control approval and rejection.

Request states

The request records use a small shared lifecycle. A request is open while HR can still decide it, approved or rejected after submission, and cancelled when the employee withdraws it. A rejection requires a reason so the employee has a clear next step.

The main relationships are:

RequestEmployee actionHR actionDownstream result
Bank Details Change RequestSend or update new salary account details and proofApprove or rejectApproval updates the Employee salary account
Asset RequestAsk for an asset or return one heldApprove or reject, then carry out an approved requestAn Asset Movement issues or receives the asset

References: hrms/…/employee_profile.py• L751-789 hrms/…/bank_details_change_request.py• L41-93 hrms/…/asset_request.py• L40-60 hrms/…/asset_request.py• L98-103

Bank account changes

The employee submits one open bank change at a time. The request includes the new bank, account identifier, regional code when available, optional IBAN, proof, and a reason. Creating it alerts HR; editing it updates the same open request rather than creating a second one.

When HR approves the request, the request writes the new salary account to the Employee record. When HR rejects it, the rejection reason remains with the decision. The employee may withdraw an open request, which keeps the record as cancelled for history.

References: hrms/…/bank_details_change_request.py• L59-86 hrms/…/bank_details_change_request.py• L77-105 hrms/…/employee_profile.py• L376-444 hrms/…/BankSection.vue• L98-141

Asset issue and return

An Asset Request has one of two meanings: issue an asset category to an employee, or return a specific asset that the employee holds. A return is valid only for the current custodian, and the same asset cannot have two open return requests.

After HR approves the request, HR creates an Asset Movement from it. Issue requests map to a movement that sends an asset to the employee. Return requests map to a receipt that takes the asset back. HR can also start an issue movement directly when no request is needed.

flowchart LR
    Employee -->|Issue or return request| Request[Asset Request]
    Request -->|Open| HR[HR review]
    HR -->|Reject with reason| Employee
    HR -->|Approve| Approved[Approved request]
    Approved -->|Create mapped movement| Movement[Asset Movement]
    Movement -->|Issue or receive| Custody[Asset custody changes]

References: hrms/…/asset_request.py• L40-85 hrms/…/asset_request.py• L101-140 hrms/…/asset_request.json• L28-146 hrms/…/AssetsSection.vue• L136-204

Document review

Documents use a review path rather than an approval request. HR can ask for a missing document, set a due date, and review the employee’s upload. The employee sees whether the document is required, pending, in review, on file, or rejected.

The employee receives the rejection remarks through the profile and can replace the file. A file that HR uploads for the employee is verified at once because HR has already supplied it.

References: hrms/…/employee_profile.py• L792-862 hrms/…/employee_profile.py• L865-905 hrms/…/DocumentsSection.vue• L27-52 hrms/…/DocumentsSection.vue• L160-207

Employee-facing interface and notifications

The employee profile UI presents public content and private work data through one responsive workspace. Notifications connect the page to the people who must act on requests.

Profile interface

The page is available at the employee-profile route and can also render in the Employee form. On larger screens, a side navigation separates the public profile from private areas. On smaller screens, the same areas use a picker. Counts highlight documents that need attention, open bank changes, and assigned assets.

The UI keeps request details, review actions, document status, and asset handover actions close to the employee record. This gives employees one place to track their own changes and gives HR one place to manage the related record.

References: hrms/…/employee_profile.json• L9-30 hrms/…/employee_profile.vue• L99-146 hrms/…/employee_profile.vue• L520-616 hrms/…/employee_profile.vue• L716-750

Notifications

New bank and asset requests notify HR when the employee creates them. When HR submits an Asset Request decision, the employee who owns the request receives an alert whose subject states whether it was approved or rejected; a rejection includes the HR reason.

The profile also keeps request and document status visible in context. This matters because an alert tells the employee that a decision happened, while the profile shows the requested data, proof, reason, and next action.

References: hrms/…/bank_details_change_request.py• L77-83 hrms/…/asset_request.py• L87-96 hrms/…/asset_request_decided.json• L8-31 hrms/…/asset_request_decided.html• L1

Change checklist

When these files or sections are changed, remember to consider these:

  • Keep the profile field allowlists, editor fields, and returned private groups aligned. A field added to the UI is not editable until the server permits and validates it.
  • Keep Employee Document Type flags aligned with document upload fields and the missing-document view. Number and expiry flags change the employee’s upload contract.
  • Keep request status rules, review actions, and notification subjects aligned for both bank and asset requests. Rejection paths must continue to require a reason.
  • Keep approved asset-request mapping aligned with the Asset Movement purpose and employee direction. Approval without a valid movement must remain visibly incomplete.
  • Keep bank-number masking, reveal permission, and access-log behavior aligned when bank fields change. Regional fields such as IFSC must remain optional outside the regional setup.
  • Keep the Employee form profile tab and the stand-alone profile route using the same access and edit rules.

Important failure modes

TriggerConsequenceGuard
A colleague opens a private profilePersonal, bank, document, and asset data must not be returnedProfile access checks Employee permission or organizational-chart access before building the response
An employee sends an HR-managed field in a self-editThe request must fail rather than change employment or bank dataServer-side field allowlists reject unknown or disallowed fields
HR rejects a request or document without an explanationThe employee cannot know what to fixRequest and document review require a rejection reason or remark
An approved asset request has no submitted movementThe employee may still not hold the assetThe profile keeps the approved request visible until its Asset Movement is submitted
A return names an asset held by another employeeCustody data could become incorrectAsset Request validation checks the current custodian and blocks duplicate open returns
A bank number is revealed to an unauthorized viewerSalary account data is exposedFull-number access is limited to the employee or permitted HR and is logged

Key files

FileWhy to read it
hrms/…/employee_profile.pyDefines the profile boundary, editable data, request actions, document actions, and assembled private view
hrms/…/employee_profile.vueShows how the public and private profile areas form the employee-facing workspace
hrms/…/PublicProfile.vueShows the employee-authored profile sections and their editing model
hrms/…/BankSection.vueShows salary-account display, masking, bank-change requests, and review actions
hrms/…/DocumentsSection.vueShows document upload, review, request, status, and removal behavior
hrms/…/AssetsSection.vueShows asset requests, returns, reviews, direct assignment, and movement handover
hrms/…/bank_details_change_request.pyDefines bank request validation, HR notification, and approved-account update
hrms/…/asset_request.pyDefines asset request validation, HR notification, decision rules, and movement mapping
hrms/…/employee_document_type.jsonDefines the HR-controlled document requirements and metadata
hrms/…/employee_document.jsonDefines the employee document child record and review state
hrms/…/asset_request_decided.jsonDefines the employee alert sent after an asset request decision