Merge pull request #1179 from nabinhait/hotfix

[cleanup] [minor] carry forwarded leaves field read only and depends on ...
This commit is contained in:
Nabin Hait
2013-12-12 04:16:52 -08:00

View File

@@ -2,7 +2,7 @@
{ {
"creation": "2013-02-20 19:10:38", "creation": "2013-02-20 19:10:38",
"docstatus": 0, "docstatus": 0,
"modified": "2013-07-05 14:44:19", "modified": "2013-12-12 17:41:52",
"modified_by": "Administrator", "modified_by": "Administrator",
"owner": "Administrator" "owner": "Administrator"
}, },
@@ -131,10 +131,12 @@
"label": "Carry Forward" "label": "Carry Forward"
}, },
{ {
"depends_on": "carry_forward",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "carry_forwarded_leaves", "fieldname": "carry_forwarded_leaves",
"fieldtype": "Float", "fieldtype": "Float",
"label": "Carry Forwarded Leaves" "label": "Carry Forwarded Leaves",
"read_only": 1
}, },
{ {
"allow_on_submit": 1, "allow_on_submit": 1,