From f30de47c65df4c269f1ab0f1d1b8fb9a10028802 Mon Sep 17 00:00:00 2001 From: Away <010109ali@gmail.com> Date: Thu, 10 Apr 2025 12:18:31 +0000 Subject: [PATCH] Added new fields in employee onboarding --- jey_erp/custom_fields.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/jey_erp/custom_fields.py b/jey_erp/custom_fields.py index e5264e8..66302b0 100644 --- a/jey_erp/custom_fields.py +++ b/jey_erp/custom_fields.py @@ -47,6 +47,20 @@ def create_custom_fields(): insert_after='reason' ) ], + "Employee Onboarding": [ + dict( + fieldname='from_date_temporary', + label='A temporary employee starts working from', + fieldtype='Date', + insert_after='boarding_begins_on' + ), + dict( + fieldname='to_date_temporary', + label='A temporary employee starts working to', + fieldtype='Date', + insert_after='from_date_temporary' + ) + ], "Account": [ dict( fieldname='is_account',