Added a new field called allow_negative. This field was added for allowing a negative balance for a particular leave type.
diff --git a/hr/doctype/leave_type/leave_type.txt b/hr/doctype/leave_type/leave_type.txt
index 5524bcf..3087caa 100644
--- a/hr/doctype/leave_type/leave_type.txt
+++ b/hr/doctype/leave_type/leave_type.txt
@@ -1,8 +1,8 @@
[
{
- "creation": "2013-01-10 16:34:15",
+ "creation": "2013-02-21 09:55:58",
"docstatus": 0,
- "modified": "2013-01-22 14:47:02",
+ "modified": "2013-03-05 08:06:43",
"modified_by": "Administrator",
"owner": "Administrator"
},
@@ -92,6 +92,12 @@
"label": "Is LWP"
},
{
+ "doctype": "DocField",
+ "fieldname": "allow_negative",
+ "fieldtype": "Check",
+ "label": "Allow Negative Balance"
+ },
+ {
"doctype": "DocPerm",
"role": "System Manager"
},