Agriculture and HR platform

Two parts of an agriculture ERP: the HR app, and the rice crop credit programme field officers use.

Role
One of two main HR developers, crop credit contributor
Where
Previous employer
Year
2025–2026
Status
Internal
  • Frappe
  • ERPNext
  • Python
  • Vue 3

The context

The platform is a set of 24+ custom apps on Frappe and ERPNext that run an agriculture business: crop credit, procurement, dairy, home delivery, HR, retail and more. Field officers, finance and HR use it every day.

I worked across several of these apps, with most of my contributions in HR and crop credit.

The problem and my approach

Field officers need to record visits where signal drops. HR and finance also need attendance, performance and departure records that follow the business’s rules.

I worked within a shared Frappe and ERPNext platform. I was one of two main HR developers and contributed the rice workspace, action queue and page caching to the team’s field mode.

Field visits and HR workflows

  1. Open the rice case

    A field officer works from the case workspace during a farm visit.

    Underneath

    I rebuilt that workspace and added page caching for the rice programme.

  2. Record the visit offline

    A visit can be recorded when the connection is unavailable.

    Underneath

    My action queue sits on top of the team’s offline mode and holds the field actions for later synchronisation.

  3. Reconnect after the visit

    The officer can return to connected work and sync the queued actions.

    Underneath

    The recreation below shows the device queue and acknowledgment as separate states. Its network and server acknowledgment are simulated.

  4. Apply attendance rules in HR

    Employees check in, and the HR app applies attendance and work-from-home rules.

    Underneath

    I worked on geofenced check-in, automatic attendance and check-in APIs for mobile, along with a Vue performance portal.

  5. Settle payroll and expenses

    Payroll staff see the settlement for an employee leaving the company and what is still missing before closing.

    Underneath

    Settlement logic accounts for notice periods, early exits and same-day terminations. Expense claims are assigned to the employee’s cost centre.

Field operations · Frontend

A farm visit with no signal.

I rebuilt the rice credit workspace and added the action queue and page caching to our team’s field mode. Record a sample visit offline, then reconnect to see what happens.

Interactive recreationOffline

Rice field report

Draft · Ready to record

What I did

  • One of two main developers on the HR app, built on ERPNext's HRMS.
  • Geofenced check-in and automatic attendance, with work-from-home rules and check-in APIs for mobile.
  • Goals and performance reviews, including a Vue portal where employees see their own performance.
  • Payroll settlement for leavers, covering notice periods, early exits and same-day terminations.
  • Expense claims booked to each employee's cost centre, so every centre has its own profit and loss.
  • Rebuilt the Rice Credit Case workspace that field officers use on farm visits, and added an offline action queue for the rice programme's field mode.

Engineering decisions

Paying people who are leaving

An employee can serve a notice period, leave early or be terminated the same day, and each case pays differently. The settlement logic works out notice pay and the final month's salary for each case, and shows payroll what's still missing before the month closes.

Farm visits without signal

Field officers visit farms where the signal drops. For the rice programme I added an offline action queue, on top of the team's offline mode, so officers can fill in visit forms in the field and sync them later.

Release and verification

This work is used inside the agriculture ERP. Offline mode is a team project, and my contribution is the rice programme’s queue and page caching. The interactive field report on this page is a recreation using sample values.

Internal software, so no screenshots. Offline mode itself is a team project. My part is the rice programme's queue and page caching.