fix - update button didnt work in leave allocation after submit
diff --git a/erpnext/hr/doctype/leave_allocation/leave_allocation.json b/erpnext/hr/doctype/leave_allocation/leave_allocation.json
index 362b14c..cbb8997 100644
--- a/erpnext/hr/doctype/leave_allocation/leave_allocation.json
+++ b/erpnext/hr/doctype/leave_allocation/leave_allocation.json
@@ -112,6 +112,7 @@
    "permlevel": 0
   }, 
   {
+   "allow_on_submit": 1, 
    "fieldname": "total_leaves_allocated", 
    "fieldtype": "Float", 
    "label": "Total Leaves Allocated", 
@@ -137,7 +138,7 @@
  "icon": "icon-ok", 
  "idx": 1, 
  "is_submittable": 1, 
- "modified": "2015-02-05 05:11:40.529337", 
+ "modified": "2015-04-06 06:03:27.883985", 
  "modified_by": "Administrator", 
  "module": "HR", 
  "name": "Leave Allocation",