From a16c8d0a2bda45c2ccb5da221b9abeb423b39f49 Mon Sep 17 00:00:00 2001 From: Siddhi Sawant Date: Mon, 23 Apr 2018 13:24:54 +0530 Subject: [PATCH] Establishment / Effective Date field in the Company master (#13723) --- erpnext/setup/doctype/company/company.js | 10 ++ erpnext/setup/doctype/company/company.json | 142 ++++++++++----------- 2 files changed, 79 insertions(+), 73 deletions(-) diff --git a/erpnext/setup/doctype/company/company.js b/erpnext/setup/doctype/company/company.js index 84e0a2037c..7c060d852d 100644 --- a/erpnext/setup/doctype/company/company.js +++ b/erpnext/setup/doctype/company/company.js @@ -18,6 +18,16 @@ frappe.ui.form.on("Company", { } }, + date_of_commencement: function(frm) { + if(frm.doc.date_of_commencement