From d35854a364134caddcde11a4616c1853677f2bfd Mon Sep 17 00:00:00 2001 From: Ali <010109ali@gmail.com> Date: Wed, 5 Mar 2025 22:41:36 +0400 Subject: [PATCH] Added director to company --- jey_erp/custom_fields.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/jey_erp/custom_fields.py b/jey_erp/custom_fields.py index dc0b2e5..a57a5ab 100644 --- a/jey_erp/custom_fields.py +++ b/jey_erp/custom_fields.py @@ -35,6 +35,14 @@ def create_custom_fields(): options='Employee', insert_after='default_holiday_list', read_only=1 + ), + dict( + fieldname='director', + label='Director', + fieldtype='Link', + options='Employee', + insert_after='ceo', + read_only=1 ) ] }