Better default permissions, ignore_restrictions for defaults, removed field trash_reason

	Additions:
	Account --> Material User: Read
	Cost Center --> Sales User, Purchase User: Read
	Mode of Payment --> Accounts User: Read
	Supplier --> Material User, Accounts User: Read
	Employee --> Employee: Restricted Read
	Leave Type --> Employee: Read
	Production Order --> Material User: Read
	Sales Order --> Material User: Read
	Print Heading --> All: Read
	Terms and Conditions --> Purchase User, Material User: Read
	Territory --> Material User, Maintenance User: Read
	Item --> Sales User, Purchase User, Maintenance User, Accounts User: Read
	Price List --> Manufacturing User: Read
	Purchase Receipt --> Accounts User: Read
	Warehouse --> Manufacturing User: Read
diff --git a/erpnext/accounts/doctype/account/account.json b/erpnext/accounts/doctype/account/account.json
index c32497f..05ac72f 100644
--- a/erpnext/accounts/doctype/account/account.json
+++ b/erpnext/accounts/doctype/account/account.json
@@ -199,7 +199,7 @@
  "icon": "icon-money", 
  "idx": 1, 
  "in_create": 1, 
- "modified": "2014-04-30 11:28:52.916199", 
+ "modified": "2014-05-07 05:33:30.500961", 
  "modified_by": "Administrator", 
  "module": "Accounts", 
  "name": "Account", 
@@ -224,9 +224,9 @@
    "cancel": 0, 
    "create": 0, 
    "delete": 0, 
-   "email": 1, 
+   "email": 0, 
    "permlevel": 0, 
-   "print": 1, 
+   "print": 0, 
    "read": 1, 
    "report": 1, 
    "role": "Auditor", 
@@ -238,9 +238,9 @@
    "cancel": 0, 
    "create": 0, 
    "delete": 0, 
-   "email": 1, 
+   "email": 0, 
    "permlevel": 0, 
-   "print": 1, 
+   "print": 0, 
    "read": 1, 
    "report": 1, 
    "role": "Sales User", 
@@ -252,9 +252,9 @@
    "cancel": 0, 
    "create": 0, 
    "delete": 0, 
-   "email": 1, 
+   "email": 0, 
    "permlevel": 0, 
-   "print": 1, 
+   "print": 0, 
    "read": 1, 
    "report": 1, 
    "role": "Purchase User", 
@@ -262,6 +262,11 @@
    "write": 0
   }, 
   {
+   "permlevel": 0, 
+   "read": 1, 
+   "role": "Material User"
+  }, 
+  {
    "amend": 0, 
    "cancel": 0, 
    "create": 0, 
diff --git a/erpnext/accounts/doctype/budget_distribution/budget_distribution.json b/erpnext/accounts/doctype/budget_distribution/budget_distribution.json
index 2bad589..eccb361 100644
--- a/erpnext/accounts/doctype/budget_distribution/budget_distribution.json
+++ b/erpnext/accounts/doctype/budget_distribution/budget_distribution.json
@@ -1,6 +1,6 @@
 {
  "autoname": "field:distribution_id", 
- "creation": "2013-01-10 16:34:05.000000", 
+ "creation": "2013-01-10 16:34:05", 
  "description": "**Budget Distribution** helps you distribute your budget across months if you have seasonality in your business.\n\nTo distribute a budget using this distribution, set this **Budget Distribution** in the **Cost Center**", 
  "docstatus": 0, 
  "doctype": "DocType", 
@@ -9,6 +9,7 @@
    "description": "Name of the Budget Distribution", 
    "fieldname": "distribution_id", 
    "fieldtype": "Data", 
+   "in_list_view": 1, 
    "label": "Distribution Name", 
    "oldfieldname": "distribution_id", 
    "oldfieldtype": "Data", 
@@ -19,6 +20,7 @@
    "fieldname": "fiscal_year", 
    "fieldtype": "Select", 
    "in_filter": 1, 
+   "in_list_view": 1, 
    "label": "Fiscal Year", 
    "oldfieldname": "fiscal_year", 
    "oldfieldtype": "Select", 
@@ -34,20 +36,11 @@
    "oldfieldtype": "Table", 
    "options": "Budget Distribution Detail", 
    "permlevel": 0
-  }, 
-  {
-   "fieldname": "trash_reason", 
-   "fieldtype": "Small Text", 
-   "label": "Trash Reason", 
-   "oldfieldname": "trash_reason", 
-   "oldfieldtype": "Small Text", 
-   "permlevel": 0, 
-   "read_only": 1
   }
  ], 
  "icon": "icon-bar-chart", 
  "idx": 1, 
- "modified": "2014-01-20 17:48:27.000000", 
+ "modified": "2014-05-07 06:39:40.574148", 
  "modified_by": "Administrator", 
  "module": "Accounts", 
  "name": "Budget Distribution", 
diff --git a/erpnext/accounts/doctype/cost_center/cost_center.json b/erpnext/accounts/doctype/cost_center/cost_center.json
index 9dd868a..d497974 100644
--- a/erpnext/accounts/doctype/cost_center/cost_center.json
+++ b/erpnext/accounts/doctype/cost_center/cost_center.json
@@ -3,7 +3,7 @@
  "allow_import": 1, 
  "allow_rename": 1, 
  "autoname": "field:cost_center_name", 
- "creation": "2013-01-23 19:57:17.000000", 
+ "creation": "2013-01-23 19:57:17", 
  "description": "Track separate Income and Expense for product verticals or divisions.", 
  "docstatus": 0, 
  "doctype": "DocType", 
@@ -16,18 +16,10 @@
    "permlevel": 0
   }, 
   {
-   "fieldname": "trash_reason", 
-   "fieldtype": "Small Text", 
-   "label": "Trash Reason", 
-   "oldfieldname": "trash_reason", 
-   "oldfieldtype": "Small Text", 
-   "permlevel": 0, 
-   "read_only": 1
-  }, 
-  {
    "fieldname": "cost_center_name", 
    "fieldtype": "Data", 
    "in_filter": 0, 
+   "in_list_view": 1, 
    "label": "Cost Center Name", 
    "no_copy": 1, 
    "oldfieldname": "cost_center_name", 
@@ -40,6 +32,7 @@
    "fieldname": "parent_cost_center", 
    "fieldtype": "Link", 
    "ignore_restrictions": 1, 
+   "in_list_view": 1, 
    "label": "Parent Cost Center", 
    "oldfieldname": "parent_cost_center", 
    "oldfieldtype": "Link", 
@@ -50,6 +43,7 @@
   {
    "fieldname": "company", 
    "fieldtype": "Link", 
+   "in_list_view": 1, 
    "label": "Company", 
    "oldfieldname": "company_name", 
    "oldfieldtype": "Link", 
@@ -151,7 +145,7 @@
  "icon": "icon-money", 
  "idx": 1, 
  "in_create": 1, 
- "modified": "2014-01-20 17:48:30.000000", 
+ "modified": "2014-05-07 06:37:48.038993", 
  "modified_by": "Administrator", 
  "module": "Accounts", 
  "name": "Cost Center", 
@@ -184,6 +178,21 @@
    "role": "Accounts User", 
    "submit": 0, 
    "write": 0
+  }, 
+  {
+   "permlevel": 0, 
+   "read": 1, 
+   "role": "Sales User"
+  }, 
+  {
+   "permlevel": 0, 
+   "read": 1, 
+   "role": "Purchase User"
+  }, 
+  {
+   "permlevel": 0, 
+   "read": 1, 
+   "role": "Material User"
   }
  ], 
  "search_fields": "name,parent_cost_center"
diff --git a/erpnext/accounts/doctype/mode_of_payment/mode_of_payment.json b/erpnext/accounts/doctype/mode_of_payment/mode_of_payment.json
index 870c185..ef50882 100644
--- a/erpnext/accounts/doctype/mode_of_payment/mode_of_payment.json
+++ b/erpnext/accounts/doctype/mode_of_payment/mode_of_payment.json
@@ -2,7 +2,7 @@
  "allow_import": 1, 
  "allow_rename": 1, 
  "autoname": "field:mode_of_payment", 
- "creation": "2012-12-04 17:49:20.000000", 
+ "creation": "2012-12-04 17:49:20", 
  "docstatus": 0, 
  "doctype": "DocType", 
  "document_type": "Master", 
@@ -10,6 +10,7 @@
   {
    "fieldname": "mode_of_payment", 
    "fieldtype": "Data", 
+   "in_list_view": 1, 
    "label": "Mode of Payment", 
    "oldfieldname": "mode_of_payment", 
    "oldfieldtype": "Data", 
@@ -20,6 +21,7 @@
   {
    "fieldname": "company", 
    "fieldtype": "Link", 
+   "in_list_view": 1, 
    "label": "Company", 
    "options": "Company", 
    "permlevel": 0, 
@@ -29,6 +31,8 @@
    "description": "Default Bank / Cash account will be automatically updated in POS Invoice when this mode is selected.", 
    "fieldname": "default_account", 
    "fieldtype": "Link", 
+   "ignore_restrictions": 1, 
+   "in_list_view": 1, 
    "label": "Default Account", 
    "options": "Account", 
    "permlevel": 0, 
@@ -37,7 +41,7 @@
  ], 
  "icon": "icon-credit-card", 
  "idx": 1, 
- "modified": "2013-12-20 19:24:14.000000", 
+ "modified": "2014-05-07 05:06:13.702313", 
  "modified_by": "Administrator", 
  "module": "Accounts", 
  "name": "Mode of Payment", 
@@ -53,6 +57,12 @@
    "role": "Accounts Manager", 
    "submit": 0, 
    "write": 1
+  }, 
+  {
+   "permlevel": 0, 
+   "read": 1, 
+   "report": 1, 
+   "role": "Accounts User"
   }
  ]
 }
\ No newline at end of file
diff --git a/erpnext/buying/doctype/purchase_order/purchase_order.json b/erpnext/buying/doctype/purchase_order/purchase_order.json
index 277a3b8..c07a22c 100644
--- a/erpnext/buying/doctype/purchase_order/purchase_order.json
+++ b/erpnext/buying/doctype/purchase_order/purchase_order.json
@@ -636,7 +636,7 @@
  "icon": "icon-file-text", 
  "idx": 1, 
  "is_submittable": 1, 
- "modified": "2014-05-06 08:20:29.240044", 
+ "modified": "2014-05-07 05:38:27.896932", 
  "modified_by": "Administrator", 
  "module": "Buying", 
  "name": "Purchase Order", 
@@ -647,9 +647,9 @@
    "cancel": 0, 
    "create": 0, 
    "delete": 0, 
-   "email": 1, 
+   "email": 0, 
    "permlevel": 0, 
-   "print": 1, 
+   "print": 0, 
    "read": 1, 
    "report": 1, 
    "role": "Material User", 
diff --git a/erpnext/buying/doctype/supplier/supplier.json b/erpnext/buying/doctype/supplier/supplier.json
index 295ab9e..e9a165e 100644
--- a/erpnext/buying/doctype/supplier/supplier.json
+++ b/erpnext/buying/doctype/supplier/supplier.json
@@ -123,6 +123,7 @@
   {
    "fieldname": "default_currency", 
    "fieldtype": "Link", 
+   "ignore_restrictions": 1, 
    "label": "Default Currency", 
    "no_copy": 1, 
    "options": "Currency", 
@@ -131,6 +132,7 @@
   {
    "fieldname": "default_price_list", 
    "fieldtype": "Link", 
+   "ignore_restrictions": 1, 
    "label": "Price List", 
    "options": "Price List", 
    "permlevel": 0
@@ -138,6 +140,7 @@
   {
    "fieldname": "default_taxes_and_charges", 
    "fieldtype": "Link", 
+   "ignore_restrictions": 1, 
    "label": "Taxes and Charges", 
    "options": "Purchase Taxes and Charges Master", 
    "permlevel": 0
@@ -183,7 +186,7 @@
  ], 
  "icon": "icon-user", 
  "idx": 1, 
- "modified": "2014-05-06 08:20:18.846251", 
+ "modified": "2014-05-07 06:08:33.836379", 
  "modified_by": "Administrator", 
  "module": "Buying", 
  "name": "Supplier", 
@@ -216,6 +219,16 @@
    "role": "Purchase Master Manager", 
    "submit": 0, 
    "write": 1
+  }, 
+  {
+   "permlevel": 0, 
+   "read": 1, 
+   "role": "Material User"
+  }, 
+  {
+   "permlevel": 0, 
+   "read": 1, 
+   "role": "Accounts User"
   }
  ], 
  "search_fields": "supplier_name,supplier_type"
diff --git a/erpnext/contacts/doctype/party_type/party_type.json b/erpnext/contacts/doctype/party_type/party_type.json
index 4ffaa6c..c702be2 100644
--- a/erpnext/contacts/doctype/party_type/party_type.json
+++ b/erpnext/contacts/doctype/party_type/party_type.json
@@ -32,6 +32,7 @@
   {
    "fieldname": "default_price_list", 
    "fieldtype": "Link", 
+   "ignore_restrictions": 1, 
    "label": "Default Price List", 
    "options": "Price List", 
    "permlevel": 0
@@ -63,7 +64,7 @@
    "read_only": 1
   }
  ], 
- "modified": "2014-05-06 12:12:27.359617", 
+ "modified": "2014-05-07 05:18:29.669293", 
  "modified_by": "Administrator", 
  "module": "Contacts", 
  "name": "Party Type", 
diff --git a/erpnext/hr/doctype/branch/branch.json b/erpnext/hr/doctype/branch/branch.json
index 28bc74a..eeca12d 100644
--- a/erpnext/hr/doctype/branch/branch.json
+++ b/erpnext/hr/doctype/branch/branch.json
@@ -2,23 +2,15 @@
  "allow_import": 1, 
  "allow_rename": 1, 
  "autoname": "field:branch", 
- "creation": "2013-01-10 16:34:13.000000", 
+ "creation": "2013-01-10 16:34:13", 
  "docstatus": 0, 
  "doctype": "DocType", 
  "document_type": "Master", 
  "fields": [
   {
-   "fieldname": "trash_reason", 
-   "fieldtype": "Small Text", 
-   "label": "Trash Reason", 
-   "oldfieldname": "trash_reason", 
-   "oldfieldtype": "Small Text", 
-   "permlevel": 0, 
-   "read_only": 1
-  }, 
-  {
    "fieldname": "branch", 
    "fieldtype": "Data", 
+   "in_list_view": 1, 
    "label": "Branch", 
    "oldfieldname": "branch", 
    "oldfieldtype": "Data", 
@@ -28,7 +20,7 @@
  ], 
  "icon": "icon-code-fork", 
  "idx": 1, 
- "modified": "2014-01-20 17:48:26.000000", 
+ "modified": "2014-05-07 06:39:31.752490", 
  "modified_by": "Administrator", 
  "module": "HR", 
  "name": "Branch", 
diff --git a/erpnext/hr/doctype/deduction_type/deduction_type.json b/erpnext/hr/doctype/deduction_type/deduction_type.json
index ccfbf03..0556a0b 100644
--- a/erpnext/hr/doctype/deduction_type/deduction_type.json
+++ b/erpnext/hr/doctype/deduction_type/deduction_type.json
@@ -2,23 +2,15 @@
  "allow_import": 1, 
  "allow_rename": 1, 
  "autoname": "field:deduction_name", 
- "creation": "2013-01-22 16:50:30.000000", 
+ "creation": "2013-01-22 16:50:30", 
  "docstatus": 0, 
  "doctype": "DocType", 
  "document_type": "Master", 
  "fields": [
   {
-   "fieldname": "trash_reason", 
-   "fieldtype": "Small Text", 
-   "label": "Trash Reason", 
-   "oldfieldname": "trash_reason", 
-   "oldfieldtype": "Small Text", 
-   "permlevel": 0, 
-   "read_only": 1
-  }, 
-  {
    "fieldname": "deduction_name", 
    "fieldtype": "Data", 
+   "in_list_view": 1, 
    "label": "Name", 
    "oldfieldname": "deduction_name", 
    "oldfieldtype": "Data", 
@@ -28,6 +20,7 @@
   {
    "fieldname": "description", 
    "fieldtype": "Small Text", 
+   "in_list_view": 1, 
    "label": "Description", 
    "oldfieldname": "description", 
    "oldfieldtype": "Small Text", 
@@ -37,7 +30,7 @@
  ], 
  "icon": "icon-flag", 
  "idx": 1, 
- "modified": "2014-01-20 17:48:34.000000", 
+ "modified": "2014-05-07 06:39:38.154345", 
  "modified_by": "Administrator", 
  "module": "HR", 
  "name": "Deduction Type", 
diff --git a/erpnext/hr/doctype/department/department.json b/erpnext/hr/doctype/department/department.json
index d040dec..992a76f 100644
--- a/erpnext/hr/doctype/department/department.json
+++ b/erpnext/hr/doctype/department/department.json
@@ -8,16 +8,6 @@
  "document_type": "Master", 
  "fields": [
   {
-   "fieldname": "trash_reason", 
-   "fieldtype": "Small Text", 
-   "in_list_view": 1, 
-   "label": "Trash Reason", 
-   "oldfieldname": "trash_reason", 
-   "oldfieldtype": "Small Text", 
-   "permlevel": 0, 
-   "read_only": 1
-  }, 
-  {
    "fieldname": "department_name", 
    "fieldtype": "Data", 
    "in_list_view": 1, 
@@ -39,7 +29,7 @@
  ], 
  "icon": "icon-sitemap", 
  "idx": 1, 
- "modified": "2014-05-06 12:06:49.222106", 
+ "modified": "2014-05-07 06:39:39.931091", 
  "modified_by": "Administrator", 
  "module": "HR", 
  "name": "Department", 
diff --git a/erpnext/hr/doctype/designation/designation.json b/erpnext/hr/doctype/designation/designation.json
index fad1357..5af04d9 100644
--- a/erpnext/hr/doctype/designation/designation.json
+++ b/erpnext/hr/doctype/designation/designation.json
@@ -1,42 +1,43 @@
 {
- "allow_import": 1,
- "allow_rename": 1,
- "autoname": "field:designation_name",
- "creation": "2013-01-10 16:34:13.000000",
- "docstatus": 0,
- "doctype": "DocType",
- "document_type": "Master",
+ "allow_import": 1, 
+ "allow_rename": 1, 
+ "autoname": "field:designation_name", 
+ "creation": "2013-01-10 16:34:13", 
+ "docstatus": 0, 
+ "doctype": "DocType", 
+ "document_type": "Master", 
  "fields": [
   {
-   "fieldname": "designation_name",
-   "fieldtype": "Data",
-   "label": "Designation",
-   "oldfieldname": "designation_name",
-   "oldfieldtype": "Data",
-   "permlevel": 0,
+   "fieldname": "designation_name", 
+   "fieldtype": "Data", 
+   "in_list_view": 1, 
+   "label": "Designation", 
+   "oldfieldname": "designation_name", 
+   "oldfieldtype": "Data", 
+   "permlevel": 0, 
    "reqd": 1
   }
- ],
- "icon": "icon-bookmark",
- "idx": 1,
- "modified": "2014-01-20 17:48:38.000000",
- "modified_by": "Administrator",
- "module": "HR",
- "name": "Designation",
- "owner": "Administrator",
+ ], 
+ "icon": "icon-bookmark", 
+ "idx": 1, 
+ "modified": "2014-05-07 06:39:38.265440", 
+ "modified_by": "Administrator", 
+ "module": "HR", 
+ "name": "Designation", 
+ "owner": "Administrator", 
  "permissions": [
   {
-   "cancel": 0,
-   "create": 1,
-   "delete": 1,
-   "email": 1,
-   "permlevel": 0,
-   "print": 1,
-   "read": 1,
-   "report": 1,
-   "role": "HR User",
-   "submit": 0,
+   "cancel": 0, 
+   "create": 1, 
+   "delete": 1, 
+   "email": 1, 
+   "permlevel": 0, 
+   "print": 1, 
+   "read": 1, 
+   "report": 1, 
+   "role": "HR User", 
+   "submit": 0, 
    "write": 1
   }
  ]
-}
+}
\ No newline at end of file
diff --git a/erpnext/hr/doctype/earning_type/earning_type.json b/erpnext/hr/doctype/earning_type/earning_type.json
index f4678b4..bb05a8e 100644
--- a/erpnext/hr/doctype/earning_type/earning_type.json
+++ b/erpnext/hr/doctype/earning_type/earning_type.json
@@ -2,23 +2,15 @@
  "allow_import": 1, 
  "allow_rename": 1, 
  "autoname": "field:earning_name", 
- "creation": "2013-01-24 11:03:32.000000", 
+ "creation": "2013-01-24 11:03:32", 
  "docstatus": 0, 
  "doctype": "DocType", 
  "document_type": "Master", 
  "fields": [
   {
-   "fieldname": "trash_reason", 
-   "fieldtype": "Small Text", 
-   "label": "Trash Reason", 
-   "oldfieldname": "trash_reason", 
-   "oldfieldtype": "Small Text", 
-   "permlevel": 0, 
-   "read_only": 1
-  }, 
-  {
    "fieldname": "earning_name", 
    "fieldtype": "Data", 
+   "in_list_view": 1, 
    "label": "Name", 
    "oldfieldname": "earning_name", 
    "oldfieldtype": "Data", 
@@ -28,6 +20,7 @@
   {
    "fieldname": "description", 
    "fieldtype": "Small Text", 
+   "in_list_view": 1, 
    "label": "Description", 
    "oldfieldname": "description", 
    "oldfieldtype": "Small Text", 
@@ -38,6 +31,7 @@
   {
    "fieldname": "taxable", 
    "fieldtype": "Select", 
+   "in_list_view": 1, 
    "label": "Taxable", 
    "oldfieldname": "taxable", 
    "oldfieldtype": "Select", 
@@ -50,6 +44,7 @@
    "fieldname": "exemption_limit", 
    "fieldtype": "Float", 
    "hidden": 0, 
+   "in_list_view": 1, 
    "label": "Exemption Limit", 
    "oldfieldname": "exemption_limit", 
    "oldfieldtype": "Currency", 
@@ -58,7 +53,7 @@
  ], 
  "icon": "icon-flag", 
  "idx": 1, 
- "modified": "2014-01-20 17:48:38.000000", 
+ "modified": "2014-05-07 06:39:38.414922", 
  "modified_by": "Administrator", 
  "module": "HR", 
  "name": "Earning Type", 
diff --git a/erpnext/hr/doctype/employee/employee.json b/erpnext/hr/doctype/employee/employee.json
index 5252343..7b5df25 100644
--- a/erpnext/hr/doctype/employee/employee.json
+++ b/erpnext/hr/doctype/employee/employee.json
@@ -1,742 +1,734 @@
 {
- "allow_attach": 1,
- "allow_import": 1,
- "allow_rename": 1,
- "autoname": "naming_series:",
- "creation": "2013-03-07 09:04:18",
- "docstatus": 0,
- "doctype": "DocType",
- "document_type": "Master",
+ "allow_attach": 1, 
+ "allow_import": 1, 
+ "allow_rename": 1, 
+ "autoname": "naming_series:", 
+ "creation": "2013-03-07 09:04:18", 
+ "docstatus": 0, 
+ "doctype": "DocType", 
+ "document_type": "Master", 
  "fields": [
   {
-   "fieldname": "basic_information",
-   "fieldtype": "Section Break",
-   "label": "Basic Information",
-   "oldfieldtype": "Section Break",
+   "fieldname": "basic_information", 
+   "fieldtype": "Section Break", 
+   "label": "Basic Information", 
+   "oldfieldtype": "Section Break", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "column_break0",
-   "fieldtype": "Column Break",
-   "permlevel": 0,
+   "fieldname": "column_break0", 
+   "fieldtype": "Column Break", 
+   "permlevel": 0, 
    "width": "50%"
-  },
+  }, 
   {
-   "fieldname": "image_view",
-   "fieldtype": "Image",
-   "in_list_view": 0,
-   "label": "Image View",
-   "options": "image",
+   "fieldname": "image_view", 
+   "fieldtype": "Image", 
+   "in_list_view": 0, 
+   "label": "Image View", 
+   "options": "image", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "employee",
-   "fieldtype": "Data",
-   "hidden": 1,
-   "label": "Employee",
-   "no_copy": 1,
-   "permlevel": 0,
-   "print_hide": 1,
+   "fieldname": "employee", 
+   "fieldtype": "Data", 
+   "hidden": 1, 
+   "label": "Employee", 
+   "no_copy": 1, 
+   "permlevel": 0, 
+   "print_hide": 1, 
    "report_hide": 1
-  },
+  }, 
   {
-   "fieldname": "naming_series",
-   "fieldtype": "Select",
-   "label": "Series",
-   "no_copy": 1,
-   "oldfieldname": "naming_series",
-   "oldfieldtype": "Select",
-   "options": "EMP/",
-   "permlevel": 0,
+   "fieldname": "naming_series", 
+   "fieldtype": "Select", 
+   "label": "Series", 
+   "no_copy": 1, 
+   "oldfieldname": "naming_series", 
+   "oldfieldtype": "Select", 
+   "options": "EMP/", 
+   "permlevel": 0, 
    "reqd": 0
-  },
+  }, 
   {
-   "fieldname": "salutation",
-   "fieldtype": "Select",
-   "label": "Salutation",
-   "oldfieldname": "salutation",
-   "oldfieldtype": "Select",
-   "options": "\nMr\nMs",
-   "permlevel": 0,
+   "fieldname": "salutation", 
+   "fieldtype": "Select", 
+   "label": "Salutation", 
+   "oldfieldname": "salutation", 
+   "oldfieldtype": "Select", 
+   "options": "\nMr\nMs", 
+   "permlevel": 0, 
    "search_index": 0
-  },
+  }, 
   {
-   "fieldname": "employee_name",
-   "fieldtype": "Data",
-   "in_list_view": 1,
-   "label": "Full Name",
-   "oldfieldname": "employee_name",
-   "oldfieldtype": "Data",
-   "permlevel": 0,
+   "fieldname": "employee_name", 
+   "fieldtype": "Data", 
+   "in_list_view": 1, 
+   "label": "Full Name", 
+   "oldfieldname": "employee_name", 
+   "oldfieldtype": "Data", 
+   "permlevel": 0, 
    "reqd": 1
-  },
+  }, 
   {
-   "fieldname": "image",
-   "fieldtype": "Select",
-   "label": "Image",
-   "options": "attach_files:",
+   "fieldname": "image", 
+   "fieldtype": "Select", 
+   "label": "Image", 
+   "options": "attach_files:", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "column_break1",
-   "fieldtype": "Column Break",
-   "permlevel": 0,
+   "fieldname": "column_break1", 
+   "fieldtype": "Column Break", 
+   "permlevel": 0, 
    "width": "50%"
-  },
+  }, 
   {
-   "description": "System User (login) ID. If set, it will become default for all HR forms.",
-   "fieldname": "user_id",
-   "fieldtype": "Link",
-   "label": "User ID",
-   "options": "User",
+   "description": "System User (login) ID. If set, it will become default for all HR forms.", 
+   "fieldname": "user_id", 
+   "fieldtype": "Link", 
+   "label": "User ID", 
+   "options": "User", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "employee_number",
-   "fieldtype": "Data",
-   "in_filter": 1,
-   "label": "Employee Number",
-   "oldfieldname": "employee_number",
-   "oldfieldtype": "Data",
-   "permlevel": 0,
+   "fieldname": "employee_number", 
+   "fieldtype": "Data", 
+   "in_filter": 1, 
+   "label": "Employee Number", 
+   "oldfieldname": "employee_number", 
+   "oldfieldtype": "Data", 
+   "permlevel": 0, 
    "search_index": 0
-  },
+  }, 
   {
-   "fieldname": "date_of_joining",
-   "fieldtype": "Date",
-   "label": "Date of Joining",
-   "oldfieldname": "date_of_joining",
-   "oldfieldtype": "Date",
-   "permlevel": 0,
+   "fieldname": "date_of_joining", 
+   "fieldtype": "Date", 
+   "label": "Date of Joining", 
+   "oldfieldname": "date_of_joining", 
+   "oldfieldtype": "Date", 
+   "permlevel": 0, 
    "reqd": 1
-  },
+  }, 
   {
-   "description": "You can enter any date manually",
-   "fieldname": "date_of_birth",
-   "fieldtype": "Date",
-   "in_filter": 1,
-   "label": "Date of Birth",
-   "oldfieldname": "date_of_birth",
-   "oldfieldtype": "Date",
-   "permlevel": 0,
-   "reqd": 1,
+   "description": "You can enter any date manually", 
+   "fieldname": "date_of_birth", 
+   "fieldtype": "Date", 
+   "in_filter": 1, 
+   "label": "Date of Birth", 
+   "oldfieldname": "date_of_birth", 
+   "oldfieldtype": "Date", 
+   "permlevel": 0, 
+   "reqd": 1, 
    "search_index": 0
-  },
+  }, 
   {
-   "fieldname": "gender",
-   "fieldtype": "Select",
-   "in_filter": 1,
-   "label": "Gender",
-   "oldfieldname": "gender",
-   "oldfieldtype": "Select",
-   "options": "\nMale\nFemale",
-   "permlevel": 0,
-   "reqd": 1,
+   "fieldname": "gender", 
+   "fieldtype": "Select", 
+   "in_filter": 1, 
+   "label": "Gender", 
+   "oldfieldname": "gender", 
+   "oldfieldtype": "Select", 
+   "options": "\nMale\nFemale", 
+   "permlevel": 0, 
+   "reqd": 1, 
    "search_index": 0
-  },
+  }, 
   {
-   "fieldname": "company",
-   "fieldtype": "Select",
-   "in_filter": 1,
-   "label": "Company",
-   "options": "link:Company",
-   "permlevel": 0,
-   "print_hide": 1,
+   "fieldname": "company", 
+   "fieldtype": "Select", 
+   "in_filter": 1, 
+   "label": "Company", 
+   "options": "link:Company", 
+   "permlevel": 0, 
+   "print_hide": 1, 
    "reqd": 1
-  },
+  }, 
   {
-   "fieldname": "employment_details",
-   "fieldtype": "Section Break",
-   "label": "Employment Details",
+   "fieldname": "employment_details", 
+   "fieldtype": "Section Break", 
+   "label": "Employment Details", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "col_break_21",
-   "fieldtype": "Column Break",
+   "fieldname": "col_break_21", 
+   "fieldtype": "Column Break", 
    "permlevel": 0
-  },
+  }, 
   {
-   "default": "Active",
-   "fieldname": "status",
-   "fieldtype": "Select",
-   "in_filter": 1,
-   "in_list_view": 1,
-   "label": "Status",
-   "oldfieldname": "status",
-   "oldfieldtype": "Select",
-   "options": "\nActive\nLeft",
-   "permlevel": 0,
-   "reqd": 1,
+   "default": "Active", 
+   "fieldname": "status", 
+   "fieldtype": "Select", 
+   "in_filter": 1, 
+   "in_list_view": 1, 
+   "label": "Status", 
+   "oldfieldname": "status", 
+   "oldfieldtype": "Select", 
+   "options": "\nActive\nLeft", 
+   "permlevel": 0, 
+   "reqd": 1, 
    "search_index": 1
-  },
+  }, 
   {
-   "fieldname": "employment_type",
-   "fieldtype": "Link",
-   "in_filter": 1,
-   "in_list_view": 1,
-   "label": "Employment Type",
-   "oldfieldname": "employment_type",
-   "oldfieldtype": "Link",
-   "options": "Employment Type",
-   "permlevel": 0,
+   "fieldname": "employment_type", 
+   "fieldtype": "Link", 
+   "in_filter": 1, 
+   "in_list_view": 1, 
+   "label": "Employment Type", 
+   "oldfieldname": "employment_type", 
+   "oldfieldtype": "Link", 
+   "options": "Employment Type", 
+   "permlevel": 0, 
    "search_index": 0
-  },
+  }, 
   {
-   "description": "Applicable Holiday List",
-   "fieldname": "holiday_list",
-   "fieldtype": "Link",
-   "label": "Holiday List",
-   "oldfieldname": "holiday_list",
-   "oldfieldtype": "Link",
-   "options": "Holiday List",
+   "description": "Applicable Holiday List", 
+   "fieldname": "holiday_list", 
+   "fieldtype": "Link", 
+   "label": "Holiday List", 
+   "oldfieldname": "holiday_list", 
+   "oldfieldtype": "Link", 
+   "options": "Holiday List", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "col_break_22",
-   "fieldtype": "Column Break",
+   "fieldname": "col_break_22", 
+   "fieldtype": "Column Break", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "scheduled_confirmation_date",
-   "fieldtype": "Date",
-   "in_filter": 1,
-   "label": "Offer Date",
-   "oldfieldname": "scheduled_confirmation_date",
-   "oldfieldtype": "Date",
-   "permlevel": 0,
+   "fieldname": "scheduled_confirmation_date", 
+   "fieldtype": "Date", 
+   "in_filter": 1, 
+   "label": "Offer Date", 
+   "oldfieldname": "scheduled_confirmation_date", 
+   "oldfieldtype": "Date", 
+   "permlevel": 0, 
    "search_index": 0
-  },
+  }, 
   {
-   "fieldname": "final_confirmation_date",
-   "fieldtype": "Date",
-   "label": "Confirmation Date",
-   "oldfieldname": "final_confirmation_date",
-   "oldfieldtype": "Date",
-   "permlevel": 0,
+   "fieldname": "final_confirmation_date", 
+   "fieldtype": "Date", 
+   "label": "Confirmation Date", 
+   "oldfieldname": "final_confirmation_date", 
+   "oldfieldtype": "Date", 
+   "permlevel": 0, 
    "search_index": 0
-  },
+  }, 
   {
-   "fieldname": "contract_end_date",
-   "fieldtype": "Date",
-   "in_filter": 1,
-   "label": "Contract End Date",
-   "oldfieldname": "contract_end_date",
-   "oldfieldtype": "Date",
-   "permlevel": 0,
+   "fieldname": "contract_end_date", 
+   "fieldtype": "Date", 
+   "in_filter": 1, 
+   "label": "Contract End Date", 
+   "oldfieldname": "contract_end_date", 
+   "oldfieldtype": "Date", 
+   "permlevel": 0, 
    "search_index": 0
-  },
+  }, 
   {
-   "fieldname": "date_of_retirement",
-   "fieldtype": "Date",
-   "label": "Date Of Retirement",
-   "oldfieldname": "date_of_retirement",
-   "oldfieldtype": "Date",
+   "fieldname": "date_of_retirement", 
+   "fieldtype": "Date", 
+   "label": "Date Of Retirement", 
+   "oldfieldname": "date_of_retirement", 
+   "oldfieldtype": "Date", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "job_profile",
-   "fieldtype": "Section Break",
-   "label": "Job Profile",
+   "fieldname": "job_profile", 
+   "fieldtype": "Section Break", 
+   "label": "Job Profile", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "column_break2",
-   "fieldtype": "Column Break",
-   "permlevel": 0,
+   "fieldname": "column_break2", 
+   "fieldtype": "Column Break", 
+   "permlevel": 0, 
    "width": "50%"
-  },
+  }, 
   {
-   "fieldname": "branch",
-   "fieldtype": "Link",
-   "in_filter": 1,
-   "label": "Branch",
-   "oldfieldname": "branch",
-   "oldfieldtype": "Link",
-   "options": "Branch",
-   "permlevel": 0,
+   "fieldname": "branch", 
+   "fieldtype": "Link", 
+   "in_filter": 1, 
+   "label": "Branch", 
+   "oldfieldname": "branch", 
+   "oldfieldtype": "Link", 
+   "options": "Branch", 
+   "permlevel": 0, 
    "reqd": 0
-  },
+  }, 
   {
-   "fieldname": "department",
-   "fieldtype": "Link",
-   "in_filter": 1,
-   "label": "Department",
-   "oldfieldname": "department",
-   "oldfieldtype": "Link",
-   "options": "Department",
-   "permlevel": 0,
+   "fieldname": "department", 
+   "fieldtype": "Link", 
+   "in_filter": 1, 
+   "label": "Department", 
+   "oldfieldname": "department", 
+   "oldfieldtype": "Link", 
+   "options": "Department", 
+   "permlevel": 0, 
    "reqd": 0
-  },
+  }, 
   {
-   "fieldname": "designation",
-   "fieldtype": "Link",
-   "in_filter": 1,
-   "label": "Designation",
-   "oldfieldname": "designation",
-   "oldfieldtype": "Link",
-   "options": "Designation",
-   "permlevel": 0,
-   "reqd": 0,
+   "fieldname": "designation", 
+   "fieldtype": "Link", 
+   "in_filter": 1, 
+   "label": "Designation", 
+   "oldfieldname": "designation", 
+   "oldfieldtype": "Link", 
+   "options": "Designation", 
+   "permlevel": 0, 
+   "reqd": 0, 
    "search_index": 1
-  },
+  }, 
   {
-   "description": "Provide email id registered in company",
-   "fieldname": "company_email",
-   "fieldtype": "Data",
-   "in_filter": 1,
-   "label": "Company Email",
-   "oldfieldname": "company_email",
-   "oldfieldtype": "Data",
-   "permlevel": 0,
+   "description": "Provide email id registered in company", 
+   "fieldname": "company_email", 
+   "fieldtype": "Data", 
+   "in_filter": 1, 
+   "label": "Company Email", 
+   "oldfieldname": "company_email", 
+   "oldfieldtype": "Data", 
+   "permlevel": 0, 
    "reqd": 0
-  },
+  }, 
   {
-   "fieldname": "notice_number_of_days",
-   "fieldtype": "Int",
-   "label": "Notice (days)",
-   "oldfieldname": "notice_number_of_days",
-   "oldfieldtype": "Int",
+   "fieldname": "notice_number_of_days", 
+   "fieldtype": "Int", 
+   "label": "Notice (days)", 
+   "oldfieldname": "notice_number_of_days", 
+   "oldfieldtype": "Int", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "salary_information",
-   "fieldtype": "Column Break",
-   "label": "Salary Information",
-   "oldfieldtype": "Section Break",
-   "permlevel": 0,
+   "fieldname": "salary_information", 
+   "fieldtype": "Column Break", 
+   "label": "Salary Information", 
+   "oldfieldtype": "Section Break", 
+   "permlevel": 0, 
    "width": "50%"
-  },
+  }, 
   {
-   "fieldname": "salary_mode",
-   "fieldtype": "Select",
-   "label": "Salary Mode",
-   "oldfieldname": "salary_mode",
-   "oldfieldtype": "Select",
-   "options": "\nBank\nCash\nCheque",
+   "fieldname": "salary_mode", 
+   "fieldtype": "Select", 
+   "label": "Salary Mode", 
+   "oldfieldname": "salary_mode", 
+   "oldfieldtype": "Select", 
+   "options": "\nBank\nCash\nCheque", 
    "permlevel": 0
-  },
+  }, 
   {
-   "depends_on": "eval:doc.salary_mode == 'Bank'",
-   "fieldname": "bank_name",
-   "fieldtype": "Data",
-   "hidden": 0,
-   "in_filter": 1,
-   "label": "Bank Name",
-   "oldfieldname": "bank_name",
-   "oldfieldtype": "Link",
-   "options": "Suggest",
+   "depends_on": "eval:doc.salary_mode == 'Bank'", 
+   "fieldname": "bank_name", 
+   "fieldtype": "Data", 
+   "hidden": 0, 
+   "in_filter": 1, 
+   "label": "Bank Name", 
+   "oldfieldname": "bank_name", 
+   "oldfieldtype": "Link", 
+   "options": "Suggest", 
    "permlevel": 0
-  },
+  }, 
   {
-   "depends_on": "eval:doc.salary_mode == 'Bank'",
-   "fieldname": "bank_ac_no",
-   "fieldtype": "Data",
-   "hidden": 0,
-   "label": "Bank A/C No.",
-   "oldfieldname": "bank_ac_no",
-   "oldfieldtype": "Data",
+   "depends_on": "eval:doc.salary_mode == 'Bank'", 
+   "fieldname": "bank_ac_no", 
+   "fieldtype": "Data", 
+   "hidden": 0, 
+   "label": "Bank A/C No.", 
+   "oldfieldname": "bank_ac_no", 
+   "oldfieldtype": "Data", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "organization_profile",
-   "fieldtype": "Section Break",
-   "label": "Organization Profile",
+   "fieldname": "organization_profile", 
+   "fieldtype": "Section Break", 
+   "label": "Organization Profile", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "reports_to",
-   "fieldtype": "Link",
-   "ignore_restrictions": 1,
-   "label": "Reports to",
-   "oldfieldname": "reports_to",
-   "oldfieldtype": "Link",
-   "options": "Employee",
+   "fieldname": "reports_to", 
+   "fieldtype": "Link", 
+   "ignore_restrictions": 1, 
+   "label": "Reports to", 
+   "oldfieldname": "reports_to", 
+   "oldfieldtype": "Link", 
+   "options": "Employee", 
    "permlevel": 0
-  },
+  }, 
   {
-   "description": "The first Leave Approver in the list will be set as the default Leave Approver",
-   "fieldname": "employee_leave_approvers",
-   "fieldtype": "Table",
-   "label": "Leave Approvers",
-   "options": "Employee Leave Approver",
+   "description": "The first Leave Approver in the list will be set as the default Leave Approver", 
+   "fieldname": "employee_leave_approvers", 
+   "fieldtype": "Table", 
+   "label": "Leave Approvers", 
+   "options": "Employee Leave Approver", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "contact_details",
-   "fieldtype": "Section Break",
-   "label": "Contact Details",
+   "fieldname": "contact_details", 
+   "fieldtype": "Section Break", 
+   "label": "Contact Details", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "column_break3",
-   "fieldtype": "Column Break",
-   "permlevel": 0,
+   "fieldname": "column_break3", 
+   "fieldtype": "Column Break", 
+   "permlevel": 0, 
    "width": "50%"
-  },
+  }, 
   {
-   "fieldname": "cell_number",
-   "fieldtype": "Data",
-   "label": "Cell Number",
+   "fieldname": "cell_number", 
+   "fieldtype": "Data", 
+   "label": "Cell Number", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "personal_email",
-   "fieldtype": "Data",
-   "label": "Personal Email",
+   "fieldname": "personal_email", 
+   "fieldtype": "Data", 
+   "label": "Personal Email", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "unsubscribed",
-   "fieldtype": "Check",
-   "label": "Unsubscribed",
+   "fieldname": "unsubscribed", 
+   "fieldtype": "Check", 
+   "label": "Unsubscribed", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "emergency_contact_details",
-   "fieldtype": "HTML",
-   "label": "Emergency Contact Details",
-   "options": "<h4 class=\"text-muted\">Emergency Contact Details</h4>",
+   "fieldname": "emergency_contact_details", 
+   "fieldtype": "HTML", 
+   "label": "Emergency Contact Details", 
+   "options": "<h4 class=\"text-muted\">Emergency Contact Details</h4>", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "person_to_be_contacted",
-   "fieldtype": "Data",
-   "label": "Emergency Contact",
+   "fieldname": "person_to_be_contacted", 
+   "fieldtype": "Data", 
+   "label": "Emergency Contact", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "relation",
-   "fieldtype": "Data",
-   "label": "Relation",
+   "fieldname": "relation", 
+   "fieldtype": "Data", 
+   "label": "Relation", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "emergency_phone_number",
-   "fieldtype": "Data",
-   "label": "Emergency Phone",
+   "fieldname": "emergency_phone_number", 
+   "fieldtype": "Data", 
+   "label": "Emergency Phone", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "column_break4",
-   "fieldtype": "Column Break",
-   "permlevel": 0,
+   "fieldname": "column_break4", 
+   "fieldtype": "Column Break", 
+   "permlevel": 0, 
    "width": "50%"
-  },
+  }, 
   {
-   "fieldname": "permanent_accommodation_type",
-   "fieldtype": "Select",
-   "label": "Permanent Address Is",
-   "options": "\nRented\nOwned",
+   "fieldname": "permanent_accommodation_type", 
+   "fieldtype": "Select", 
+   "label": "Permanent Address Is", 
+   "options": "\nRented\nOwned", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "permanent_address",
-   "fieldtype": "Small Text",
-   "label": "Permanent Address",
+   "fieldname": "permanent_address", 
+   "fieldtype": "Small Text", 
+   "label": "Permanent Address", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "current_accommodation_type",
-   "fieldtype": "Select",
-   "label": "Current Address Is",
-   "options": "\nRented\nOwned",
+   "fieldname": "current_accommodation_type", 
+   "fieldtype": "Select", 
+   "label": "Current Address Is", 
+   "options": "\nRented\nOwned", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "current_address",
-   "fieldtype": "Small Text",
-   "label": "Current Address",
+   "fieldname": "current_address", 
+   "fieldtype": "Small Text", 
+   "label": "Current Address", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "sb53",
-   "fieldtype": "Section Break",
-   "label": "Bio",
+   "fieldname": "sb53", 
+   "fieldtype": "Section Break", 
+   "label": "Bio", 
    "permlevel": 0
-  },
+  }, 
   {
-   "description": "Short biography for website and other publications.",
-   "fieldname": "bio",
-   "fieldtype": "Text Editor",
-   "label": "Bio",
+   "description": "Short biography for website and other publications.", 
+   "fieldname": "bio", 
+   "fieldtype": "Text Editor", 
+   "label": "Bio", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "personal_details",
-   "fieldtype": "Section Break",
-   "label": "Personal Details",
+   "fieldname": "personal_details", 
+   "fieldtype": "Section Break", 
+   "label": "Personal Details", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "column_break5",
-   "fieldtype": "Column Break",
-   "permlevel": 0,
+   "fieldname": "column_break5", 
+   "fieldtype": "Column Break", 
+   "permlevel": 0, 
    "width": "50%"
-  },
+  }, 
   {
-   "fieldname": "passport_number",
-   "fieldtype": "Data",
-   "label": "Passport Number",
+   "fieldname": "passport_number", 
+   "fieldtype": "Data", 
+   "label": "Passport Number", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "date_of_issue",
-   "fieldtype": "Date",
-   "label": "Date of Issue",
+   "fieldname": "date_of_issue", 
+   "fieldtype": "Date", 
+   "label": "Date of Issue", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "valid_upto",
-   "fieldtype": "Date",
-   "label": "Valid Upto",
+   "fieldname": "valid_upto", 
+   "fieldtype": "Date", 
+   "label": "Valid Upto", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "place_of_issue",
-   "fieldtype": "Data",
-   "label": "Place of Issue",
+   "fieldname": "place_of_issue", 
+   "fieldtype": "Data", 
+   "label": "Place of Issue", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "column_break6",
-   "fieldtype": "Column Break",
-   "permlevel": 0,
+   "fieldname": "column_break6", 
+   "fieldtype": "Column Break", 
+   "permlevel": 0, 
    "width": "50%"
-  },
+  }, 
   {
-   "fieldname": "marital_status",
-   "fieldtype": "Select",
-   "label": "Marital Status",
-   "options": "\nSingle\nMarried\nDivorced\nWidowed",
+   "fieldname": "marital_status", 
+   "fieldtype": "Select", 
+   "label": "Marital Status", 
+   "options": "\nSingle\nMarried\nDivorced\nWidowed", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "blood_group",
-   "fieldtype": "Select",
-   "label": "Blood Group",
-   "options": "\nA+\nA-\nB+\nB-\nAB+\nAB-\nO+\nO-",
+   "fieldname": "blood_group", 
+   "fieldtype": "Select", 
+   "label": "Blood Group", 
+   "options": "\nA+\nA-\nB+\nB-\nAB+\nAB-\nO+\nO-", 
    "permlevel": 0
-  },
+  }, 
   {
-   "description": "Here you can maintain family details like name and occupation of parent, spouse and children",
-   "fieldname": "family_background",
-   "fieldtype": "Small Text",
-   "label": "Family Background",
+   "description": "Here you can maintain family details like name and occupation of parent, spouse and children", 
+   "fieldname": "family_background", 
+   "fieldtype": "Small Text", 
+   "label": "Family Background", 
    "permlevel": 0
-  },
+  }, 
   {
-   "description": "Here you can maintain height, weight, allergies, medical concerns etc",
-   "fieldname": "health_details",
-   "fieldtype": "Small Text",
-   "label": "Health Details",
+   "description": "Here you can maintain height, weight, allergies, medical concerns etc", 
+   "fieldname": "health_details", 
+   "fieldtype": "Small Text", 
+   "label": "Health Details", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "educational_qualification",
-   "fieldtype": "Section Break",
-   "label": "Educational Qualification",
+   "fieldname": "educational_qualification", 
+   "fieldtype": "Section Break", 
+   "label": "Educational Qualification", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "educational_qualification_details",
-   "fieldtype": "Table",
-   "label": "Educational Qualification Details",
-   "options": "Employee Education",
+   "fieldname": "educational_qualification_details", 
+   "fieldtype": "Table", 
+   "label": "Educational Qualification Details", 
+   "options": "Employee Education", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "previous_work_experience",
-   "fieldtype": "Section Break",
-   "label": "Previous Work Experience",
-   "options": "Simple",
+   "fieldname": "previous_work_experience", 
+   "fieldtype": "Section Break", 
+   "label": "Previous Work Experience", 
+   "options": "Simple", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "previous_experience_details",
-   "fieldtype": "Table",
-   "label": "Employee External Work History",
-   "options": "Employee External Work History",
+   "fieldname": "previous_experience_details", 
+   "fieldtype": "Table", 
+   "label": "Employee External Work History", 
+   "options": "Employee External Work History", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "history_in_company",
-   "fieldtype": "Section Break",
-   "label": "History In Company",
-   "options": "Simple",
+   "fieldname": "history_in_company", 
+   "fieldtype": "Section Break", 
+   "label": "History In Company", 
+   "options": "Simple", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "experience_in_company_details",
-   "fieldtype": "Table",
-   "label": "Employee Internal Work Historys",
-   "options": "Employee Internal Work History",
+   "fieldname": "experience_in_company_details", 
+   "fieldtype": "Table", 
+   "label": "Employee Internal Work Historys", 
+   "options": "Employee Internal Work History", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "exit",
-   "fieldtype": "Section Break",
-   "label": "Exit",
-   "oldfieldtype": "Section Break",
+   "fieldname": "exit", 
+   "fieldtype": "Section Break", 
+   "label": "Exit", 
+   "oldfieldtype": "Section Break", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "column_break7",
-   "fieldtype": "Column Break",
-   "permlevel": 0,
+   "fieldname": "column_break7", 
+   "fieldtype": "Column Break", 
+   "permlevel": 0, 
    "width": "50%"
-  },
+  }, 
   {
-   "fieldname": "resignation_letter_date",
-   "fieldtype": "Date",
-   "label": "Resignation Letter Date",
-   "oldfieldname": "resignation_letter_date",
-   "oldfieldtype": "Date",
+   "fieldname": "resignation_letter_date", 
+   "fieldtype": "Date", 
+   "label": "Resignation Letter Date", 
+   "oldfieldname": "resignation_letter_date", 
+   "oldfieldtype": "Date", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "relieving_date",
-   "fieldtype": "Date",
-   "in_filter": 1,
-   "label": "Relieving Date",
-   "oldfieldname": "relieving_date",
-   "oldfieldtype": "Date",
+   "fieldname": "relieving_date", 
+   "fieldtype": "Date", 
+   "in_filter": 1, 
+   "label": "Relieving Date", 
+   "oldfieldname": "relieving_date", 
+   "oldfieldtype": "Date", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "reason_for_leaving",
-   "fieldtype": "Data",
-   "label": "Reason for Leaving",
-   "oldfieldname": "reason_for_leaving",
-   "oldfieldtype": "Data",
+   "fieldname": "reason_for_leaving", 
+   "fieldtype": "Data", 
+   "label": "Reason for Leaving", 
+   "oldfieldname": "reason_for_leaving", 
+   "oldfieldtype": "Data", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "leave_encashed",
-   "fieldtype": "Select",
-   "label": "Leave Encashed?",
-   "oldfieldname": "leave_encashed",
-   "oldfieldtype": "Select",
-   "options": "\nYes\nNo",
+   "fieldname": "leave_encashed", 
+   "fieldtype": "Select", 
+   "label": "Leave Encashed?", 
+   "oldfieldname": "leave_encashed", 
+   "oldfieldtype": "Select", 
+   "options": "\nYes\nNo", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "encashment_date",
-   "fieldtype": "Date",
-   "label": "Encashment Date",
-   "oldfieldname": "encashment_date",
-   "oldfieldtype": "Date",
+   "fieldname": "encashment_date", 
+   "fieldtype": "Date", 
+   "label": "Encashment Date", 
+   "oldfieldname": "encashment_date", 
+   "oldfieldtype": "Date", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "exit_interview_details",
-   "fieldtype": "Column Break",
-   "label": "Exit Interview Details",
-   "oldfieldname": "col_brk6",
-   "oldfieldtype": "Column Break",
-   "permlevel": 0,
+   "fieldname": "exit_interview_details", 
+   "fieldtype": "Column Break", 
+   "label": "Exit Interview Details", 
+   "oldfieldname": "col_brk6", 
+   "oldfieldtype": "Column Break", 
+   "permlevel": 0, 
    "width": "50%"
-  },
+  }, 
   {
-   "fieldname": "held_on",
-   "fieldtype": "Date",
-   "label": "Held On",
-   "oldfieldname": "held_on",
-   "oldfieldtype": "Date",
+   "fieldname": "held_on", 
+   "fieldtype": "Date", 
+   "label": "Held On", 
+   "oldfieldname": "held_on", 
+   "oldfieldtype": "Date", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "reason_for_resignation",
-   "fieldtype": "Select",
-   "label": "Reason for Resignation",
-   "oldfieldname": "reason_for_resignation",
-   "oldfieldtype": "Select",
-   "options": "\nBetter Prospects\nHealth Concerns",
+   "fieldname": "reason_for_resignation", 
+   "fieldtype": "Select", 
+   "label": "Reason for Resignation", 
+   "oldfieldname": "reason_for_resignation", 
+   "oldfieldtype": "Select", 
+   "options": "\nBetter Prospects\nHealth Concerns", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "new_workplace",
-   "fieldtype": "Data",
-   "label": "New Workplace",
-   "oldfieldname": "new_workplace",
-   "oldfieldtype": "Data",
+   "fieldname": "new_workplace", 
+   "fieldtype": "Data", 
+   "label": "New Workplace", 
+   "oldfieldname": "new_workplace", 
+   "oldfieldtype": "Data", 
    "permlevel": 0
-  },
+  }, 
   {
-   "fieldname": "feedback",
-   "fieldtype": "Small Text",
-   "label": "Feedback",
-   "oldfieldname": "feedback",
-   "oldfieldtype": "Text",
+   "fieldname": "feedback", 
+   "fieldtype": "Small Text", 
+   "label": "Feedback", 
+   "oldfieldname": "feedback", 
+   "oldfieldtype": "Text", 
    "permlevel": 0
-  },
-  {
-   "fieldname": "trash_reason",
-   "fieldtype": "Small Text",
-   "label": "Trash Reason",
-   "oldfieldname": "trash_reason",
-   "oldfieldtype": "Small Text",
-   "permlevel": 0,
-   "read_only": 1
   }
- ],
- "icon": "icon-user",
- "idx": 1,
- "modified": "2014-04-30 09:03:11.879762",
- "modified_by": "Administrator",
- "module": "HR",
- "name": "Employee",
- "owner": "Administrator",
+ ], 
+ "icon": "icon-user", 
+ "idx": 1, 
+ "modified": "2014-05-07 06:39:40.142903", 
+ "modified_by": "Administrator", 
+ "module": "HR", 
+ "name": "Employee", 
+ "owner": "Administrator", 
  "permissions": [
   {
-   "amend": 0,
-   "cancel": 0,
-   "create": 0,
-   "delete": 0,
-   "email": 1,
-   "permlevel": 0,
-   "print": 1,
-   "read": 1,
-   "report": 1,
-   "role": "Employee",
-   "submit": 0,
+   "amend": 0, 
+   "cancel": 0, 
+   "create": 0, 
+   "delete": 0, 
+   "email": 1, 
+   "permlevel": 0, 
+   "print": 1, 
+   "read": 1, 
+   "report": 1, 
+   "restricted": 1, 
+   "role": "Employee", 
+   "submit": 0, 
    "write": 0
-  },
+  }, 
   {
-   "amend": 0,
-   "cancel": 0,
-   "create": 1,
-   "delete": 1,
-   "email": 1,
-   "permlevel": 0,
-   "print": 1,
-   "read": 1,
-   "report": 1,
-   "restrict": 0,
-   "role": "HR User",
-   "submit": 0,
+   "amend": 0, 
+   "cancel": 0, 
+   "create": 1, 
+   "delete": 1, 
+   "email": 1, 
+   "permlevel": 0, 
+   "print": 1, 
+   "read": 1, 
+   "report": 1, 
+   "restrict": 0, 
+   "role": "HR User", 
+   "submit": 0, 
    "write": 1
-  },
+  }, 
   {
-   "amend": 0,
-   "cancel": 0,
-   "create": 1,
-   "delete": 1,
-   "email": 1,
-   "permlevel": 0,
-   "print": 1,
-   "read": 1,
-   "report": 1,
-   "restrict": 1,
-   "role": "HR Manager",
-   "submit": 0,
+   "amend": 0, 
+   "cancel": 0, 
+   "create": 1, 
+   "delete": 1, 
+   "email": 1, 
+   "permlevel": 0, 
+   "print": 1, 
+   "read": 1, 
+   "report": 1, 
+   "restrict": 1, 
+   "role": "HR Manager", 
+   "submit": 0, 
    "write": 1
-  },
+  }, 
   {
-   "permlevel": 0,
-   "read": 1,
-   "restricted": 1,
+   "permlevel": 0, 
+   "read": 1, 
+   "restricted": 1, 
    "role": "Leave Approver"
   }
- ],
+ ], 
  "search_fields": "employee_name"
-}
+}
\ No newline at end of file
diff --git a/erpnext/hr/doctype/employment_type/employment_type.json b/erpnext/hr/doctype/employment_type/employment_type.json
index 1aa43bf..fdb710b 100644
--- a/erpnext/hr/doctype/employment_type/employment_type.json
+++ b/erpnext/hr/doctype/employment_type/employment_type.json
@@ -1,54 +1,55 @@
 {
- "allow_import": 1,
- "autoname": "field:employee_type_name",
- "creation": "2013-01-10 16:34:14.000000",
- "docstatus": 0,
- "doctype": "DocType",
- "document_type": "Master",
+ "allow_import": 1, 
+ "autoname": "field:employee_type_name", 
+ "creation": "2013-01-10 16:34:14", 
+ "docstatus": 0, 
+ "doctype": "DocType", 
+ "document_type": "Master", 
  "fields": [
   {
-   "fieldname": "employee_type_name",
-   "fieldtype": "Data",
-   "label": "Employment Type",
-   "oldfieldname": "employee_type_name",
-   "oldfieldtype": "Data",
-   "permlevel": 0,
+   "fieldname": "employee_type_name", 
+   "fieldtype": "Data", 
+   "in_list_view": 1, 
+   "label": "Employment Type", 
+   "oldfieldname": "employee_type_name", 
+   "oldfieldtype": "Data", 
+   "permlevel": 0, 
    "reqd": 1
   }
- ],
- "icon": "icon-flag",
- "idx": 1,
- "modified": "2014-01-20 17:48:43.000000",
- "modified_by": "Administrator",
- "module": "HR",
- "name": "Employment Type",
- "owner": "Administrator",
+ ], 
+ "icon": "icon-flag", 
+ "idx": 1, 
+ "modified": "2014-05-07 06:39:38.630562", 
+ "modified_by": "Administrator", 
+ "module": "HR", 
+ "name": "Employment Type", 
+ "owner": "Administrator", 
  "permissions": [
   {
-   "cancel": 0,
-   "create": 1,
-   "delete": 1,
-   "email": 1,
-   "permlevel": 0,
-   "print": 1,
-   "read": 1,
-   "report": 1,
-   "role": "HR User",
-   "submit": 0,
+   "cancel": 0, 
+   "create": 1, 
+   "delete": 1, 
+   "email": 1, 
+   "permlevel": 0, 
+   "print": 1, 
+   "read": 1, 
+   "report": 1, 
+   "role": "HR User", 
+   "submit": 0, 
    "write": 1
-  },
+  }, 
   {
-   "cancel": 0,
-   "create": 1,
-   "delete": 1,
-   "email": 1,
-   "permlevel": 0,
-   "print": 1,
-   "read": 1,
-   "report": 1,
-   "role": "HR Manager",
-   "submit": 0,
+   "cancel": 0, 
+   "create": 1, 
+   "delete": 1, 
+   "email": 1, 
+   "permlevel": 0, 
+   "print": 1, 
+   "read": 1, 
+   "report": 1, 
+   "role": "HR Manager", 
+   "submit": 0, 
    "write": 1
   }
  ]
-}
+}
\ No newline at end of file
diff --git a/erpnext/hr/doctype/holiday_list/holiday_list.json b/erpnext/hr/doctype/holiday_list/holiday_list.json
index 11b6911..96ca83a 100644
--- a/erpnext/hr/doctype/holiday_list/holiday_list.json
+++ b/erpnext/hr/doctype/holiday_list/holiday_list.json
@@ -1,22 +1,14 @@
 {
  "allow_import": 1, 
- "creation": "2013-01-10 16:34:14.000000", 
+ "creation": "2013-01-10 16:34:14", 
  "docstatus": 0, 
  "doctype": "DocType", 
  "document_type": "Master", 
  "fields": [
   {
-   "fieldname": "trash_reason", 
-   "fieldtype": "Small Text", 
-   "label": "Trash Reason", 
-   "oldfieldname": "trash_reason", 
-   "oldfieldtype": "Small Text", 
-   "permlevel": 0, 
-   "read_only": 1
-  }, 
-  {
    "fieldname": "holiday_list_name", 
    "fieldtype": "Data", 
+   "in_list_view": 1, 
    "label": "Holiday List Name", 
    "oldfieldname": "holiday_list_name", 
    "oldfieldtype": "Data", 
@@ -26,6 +18,7 @@
   {
    "fieldname": "is_default", 
    "fieldtype": "Check", 
+   "in_list_view": 1, 
    "label": "Default", 
    "permlevel": 0
   }, 
@@ -33,6 +26,7 @@
    "fieldname": "fiscal_year", 
    "fieldtype": "Select", 
    "in_filter": 1, 
+   "in_list_view": 1, 
    "label": "Fiscal Year", 
    "oldfieldname": "fiscal_year", 
    "oldfieldtype": "Link", 
@@ -43,6 +37,7 @@
   {
    "fieldname": "weekly_off", 
    "fieldtype": "Select", 
+   "in_list_view": 1, 
    "label": "Weekly Off", 
    "no_copy": 1, 
    "options": "\nSunday\nMonday\nTuesday\nWednesday\nThursday\nFriday\nSaturday", 
@@ -77,7 +72,7 @@
  ], 
  "icon": "icon-calendar", 
  "idx": 1, 
- "modified": "2014-01-20 17:48:46.000000", 
+ "modified": "2014-05-07 06:39:38.738033", 
  "modified_by": "Administrator", 
  "module": "HR", 
  "name": "Holiday List", 
diff --git a/erpnext/hr/doctype/leave_type/leave_type.json b/erpnext/hr/doctype/leave_type/leave_type.json
index be3123f..808b26f 100644
--- a/erpnext/hr/doctype/leave_type/leave_type.json
+++ b/erpnext/hr/doctype/leave_type/leave_type.json
@@ -1,23 +1,15 @@
 {
  "allow_import": 1, 
  "autoname": "field:leave_type_name", 
- "creation": "2013-02-21 09:55:58.000000", 
+ "creation": "2013-02-21 09:55:58", 
  "docstatus": 0, 
  "doctype": "DocType", 
  "document_type": "Master", 
  "fields": [
   {
-   "fieldname": "trash_reason", 
-   "fieldtype": "Small Text", 
-   "label": "Trash Reason", 
-   "oldfieldname": "trash_reason", 
-   "oldfieldtype": "Small Text", 
-   "permlevel": 0, 
-   "read_only": 1
-  }, 
-  {
    "fieldname": "leave_type_name", 
    "fieldtype": "Data", 
+   "in_list_view": 1, 
    "label": "Leave Type Name", 
    "oldfieldname": "leave_type_name", 
    "oldfieldtype": "Data", 
@@ -27,6 +19,7 @@
   {
    "fieldname": "max_days_allowed", 
    "fieldtype": "Data", 
+   "in_list_view": 1, 
    "label": "Max Days Leave Allowed", 
    "oldfieldname": "max_days_allowed", 
    "oldfieldtype": "Data", 
@@ -36,6 +29,7 @@
   {
    "fieldname": "is_carry_forward", 
    "fieldtype": "Check", 
+   "in_list_view": 1, 
    "label": "Is Carry Forward", 
    "oldfieldname": "is_carry_forward", 
    "oldfieldtype": "Check", 
@@ -45,6 +39,7 @@
    "fieldname": "is_encash", 
    "fieldtype": "Check", 
    "hidden": 1, 
+   "in_list_view": 1, 
    "label": "Is Encash", 
    "oldfieldname": "is_encash", 
    "oldfieldtype": "Check", 
@@ -67,7 +62,7 @@
  ], 
  "icon": "icon-flag", 
  "idx": 1, 
- "modified": "2014-01-20 17:48:56.000000", 
+ "modified": "2014-05-07 06:39:38.884656", 
  "modified_by": "Administrator", 
  "module": "HR", 
  "name": "Leave Type", 
@@ -98,6 +93,11 @@
    "role": "HR Manager", 
    "submit": 0, 
    "write": 1
+  }, 
+  {
+   "permlevel": 0, 
+   "read": 1, 
+   "role": "Employee"
   }
  ]
 }
\ No newline at end of file
diff --git a/erpnext/manufacturing/doctype/production_order/production_order.json b/erpnext/manufacturing/doctype/production_order/production_order.json
index 3fa6c34..98e8f0c 100644
--- a/erpnext/manufacturing/doctype/production_order/production_order.json
+++ b/erpnext/manufacturing/doctype/production_order/production_order.json
@@ -224,7 +224,7 @@
  "idx": 1, 
  "in_create": 0, 
  "is_submittable": 1, 
- "modified": "2014-05-06 08:20:28.360537", 
+ "modified": "2014-05-07 05:41:33.127710", 
  "modified_by": "Administrator", 
  "module": "Manufacturing", 
  "name": "Production Order", 
@@ -243,6 +243,12 @@
    "role": "Manufacturing User", 
    "submit": 1, 
    "write": 1
+  }, 
+  {
+   "permlevel": 0, 
+   "read": 1, 
+   "report": 1, 
+   "role": "Material User"
   }
  ]
 }
\ No newline at end of file
diff --git a/erpnext/patches.txt b/erpnext/patches.txt
index 2af0880..95d9385 100644
--- a/erpnext/patches.txt
+++ b/erpnext/patches.txt
@@ -38,3 +38,4 @@
 execute:frappe.db.sql("update `tabJournal Voucher` set voucher_type='Journal Entry' where ifnull(voucher_type, '')=''")
 execute:frappe.delete_doc("DocType", "Grade")
 erpnext.patches.4_0.remove_india_specific_fields
+execute:frappe.delete_doc_if_exists("DocType", "Warehouse User")
diff --git a/erpnext/projects/doctype/project/project.json b/erpnext/projects/doctype/project/project.json
index b757bed..675cd86 100644
--- a/erpnext/projects/doctype/project/project.json
+++ b/erpnext/projects/doctype/project/project.json
@@ -2,7 +2,7 @@
  "allow_attach": 1, 
  "allow_import": 1, 
  "autoname": "field:project_name", 
- "creation": "2013-03-07 11:55:07.000000", 
+ "creation": "2013-03-07 11:55:07", 
  "docstatus": 0, 
  "doctype": "DocType", 
  "document_type": "Master", 
@@ -258,7 +258,7 @@
  "icon": "icon-puzzle-piece", 
  "idx": 1, 
  "max_attachments": 4, 
- "modified": "2014-01-20 17:49:02.000000", 
+ "modified": "2014-05-07 06:03:31.085767", 
  "modified_by": "Administrator", 
  "module": "Projects", 
  "name": "Project", 
diff --git a/erpnext/selling/doctype/customer/customer.json b/erpnext/selling/doctype/customer/customer.json
index e1fc6d0..7d854ac 100644
--- a/erpnext/selling/doctype/customer/customer.json
+++ b/erpnext/selling/doctype/customer/customer.json
@@ -190,6 +190,7 @@
   {
    "fieldname": "default_currency", 
    "fieldtype": "Link", 
+   "ignore_restrictions": 1, 
    "label": "Currency", 
    "no_copy": 1, 
    "options": "Currency", 
@@ -198,6 +199,7 @@
   {
    "fieldname": "default_price_list", 
    "fieldtype": "Link", 
+   "ignore_restrictions": 1, 
    "label": "Price List", 
    "options": "Price List", 
    "permlevel": 0
@@ -205,6 +207,7 @@
   {
    "fieldname": "default_taxes_and_charges", 
    "fieldtype": "Link", 
+   "ignore_restrictions": 1, 
    "label": "Taxes and Charges", 
    "options": "Sales Taxes and Charges Master", 
    "permlevel": 0
@@ -243,6 +246,7 @@
   {
    "fieldname": "default_sales_partner", 
    "fieldtype": "Link", 
+   "ignore_restrictions": 1, 
    "label": "Sales Partner", 
    "oldfieldname": "default_sales_partner", 
    "oldfieldtype": "Link", 
@@ -278,7 +282,7 @@
  ], 
  "icon": "icon-user", 
  "idx": 1, 
- "modified": "2014-05-06 08:20:27.926128", 
+ "modified": "2014-05-07 05:36:46.466246", 
  "modified_by": "Administrator", 
  "module": "Selling", 
  "name": "Customer", 
diff --git a/erpnext/selling/doctype/sales_order/sales_order.json b/erpnext/selling/doctype/sales_order/sales_order.json
index 35a43aa..da30668 100644
--- a/erpnext/selling/doctype/sales_order/sales_order.json
+++ b/erpnext/selling/doctype/sales_order/sales_order.json
@@ -874,7 +874,7 @@
  "idx": 1, 
  "is_submittable": 1, 
  "issingle": 0, 
- "modified": "2014-05-06 08:20:39.926614", 
+ "modified": "2014-05-07 05:38:12.866900", 
  "modified_by": "Administrator", 
  "module": "Selling", 
  "name": "Sales Order", 
@@ -925,6 +925,12 @@
    "print": 1, 
    "read": 1, 
    "role": "Customer"
+  }, 
+  {
+   "permlevel": 0, 
+   "read": 1, 
+   "report": 1, 
+   "role": "Material User"
   }
  ], 
  "read_only_onload": 1, 
diff --git a/erpnext/setup/doctype/authorization_rule/authorization_rule.json b/erpnext/setup/doctype/authorization_rule/authorization_rule.json
index 23c0600..0a1ebd4 100644
--- a/erpnext/setup/doctype/authorization_rule/authorization_rule.json
+++ b/erpnext/setup/doctype/authorization_rule/authorization_rule.json
@@ -1,7 +1,7 @@
 {
  "allow_import": 1, 
  "autoname": "AR.####", 
- "creation": "2013-01-10 16:34:22.000000", 
+ "creation": "2013-01-10 16:34:22", 
  "docstatus": 0, 
  "doctype": "DocType", 
  "document_type": "Master", 
@@ -9,6 +9,7 @@
   {
    "fieldname": "company", 
    "fieldtype": "Link", 
+   "in_list_view": 1, 
    "label": "Company", 
    "oldfieldname": "company", 
    "oldfieldtype": "Link", 
@@ -20,6 +21,7 @@
   {
    "fieldname": "transaction", 
    "fieldtype": "Select", 
+   "in_list_view": 1, 
    "label": "Transaction", 
    "oldfieldname": "transaction", 
    "oldfieldtype": "Select", 
@@ -30,6 +32,7 @@
   {
    "fieldname": "based_on", 
    "fieldtype": "Select", 
+   "in_list_view": 1, 
    "label": "Based On", 
    "oldfieldname": "based_on", 
    "oldfieldtype": "Select", 
@@ -40,6 +43,7 @@
   {
    "fieldname": "master_name", 
    "fieldtype": "Link", 
+   "in_list_view": 1, 
    "label": "Customer / Item Name", 
    "oldfieldname": "master_name", 
    "oldfieldtype": "Link", 
@@ -49,6 +53,7 @@
   {
    "fieldname": "system_role", 
    "fieldtype": "Link", 
+   "in_list_view": 1, 
    "label": "Applicable To (Role)", 
    "oldfieldname": "system_role", 
    "oldfieldtype": "Link", 
@@ -111,19 +116,11 @@
    "oldfieldname": "value", 
    "oldfieldtype": "Currency", 
    "permlevel": 0
-  }, 
-  {
-   "fieldname": "trash_reason", 
-   "fieldtype": "Small Text", 
-   "label": "Trash Reason", 
-   "oldfieldname": "trash_reason", 
-   "oldfieldtype": "Small Text", 
-   "permlevel": 0
   }
  ], 
  "icon": "icon-shield", 
  "idx": 1, 
- "modified": "2014-01-20 17:48:25.000000", 
+ "modified": "2014-05-07 06:39:38.981478", 
  "modified_by": "Administrator", 
  "module": "Setup", 
  "name": "Authorization Rule", 
diff --git a/erpnext/setup/doctype/company/company.json b/erpnext/setup/doctype/company/company.json
index 489c4c1..a73b8ad 100644
--- a/erpnext/setup/doctype/company/company.json
+++ b/erpnext/setup/doctype/company/company.json
@@ -63,6 +63,7 @@
   {
    "fieldname": "country", 
    "fieldtype": "Link", 
+   "ignore_restrictions": 0, 
    "in_list_view": 1, 
    "label": "Country", 
    "options": "Country", 
@@ -72,6 +73,7 @@
   {
    "fieldname": "chart_of_accounts", 
    "fieldtype": "Link", 
+   "ignore_restrictions": 1, 
    "label": "Chart of Accounts", 
    "options": "Chart of Accounts", 
    "permlevel": 0
@@ -88,6 +90,7 @@
    "depends_on": "eval:!doc.__islocal", 
    "fieldname": "default_bank_account", 
    "fieldtype": "Link", 
+   "ignore_restrictions": 1, 
    "label": "Default Bank Account", 
    "no_copy": 1, 
    "oldfieldname": "default_bank_account", 
@@ -99,6 +102,7 @@
   {
    "fieldname": "default_cash_account", 
    "fieldtype": "Link", 
+   "ignore_restrictions": 1, 
    "label": "Default Cash Account", 
    "no_copy": 1, 
    "options": "Account", 
@@ -109,6 +113,7 @@
    "depends_on": "eval:!doc.__islocal", 
    "fieldname": "receivables_group", 
    "fieldtype": "Link", 
+   "ignore_restrictions": 1, 
    "label": "Receivables Group", 
    "no_copy": 1, 
    "oldfieldname": "receivables_group", 
@@ -121,6 +126,7 @@
    "depends_on": "eval:!doc.__islocal", 
    "fieldname": "payables_group", 
    "fieldtype": "Link", 
+   "ignore_restrictions": 1, 
    "label": "Payables Group", 
    "no_copy": 1, 
    "oldfieldname": "payables_group", 
@@ -132,6 +138,7 @@
   {
    "fieldname": "default_expense_account", 
    "fieldtype": "Link", 
+   "ignore_restrictions": 1, 
    "label": "Default Expense Account", 
    "no_copy": 1, 
    "options": "Account", 
@@ -140,6 +147,7 @@
   {
    "fieldname": "default_income_account", 
    "fieldtype": "Link", 
+   "ignore_restrictions": 1, 
    "label": "Default Income Account", 
    "no_copy": 1, 
    "options": "Account", 
@@ -156,6 +164,7 @@
   {
    "fieldname": "default_currency", 
    "fieldtype": "Link", 
+   "ignore_restrictions": 1, 
    "label": "Default Currency", 
    "options": "Currency", 
    "permlevel": 0, 
@@ -166,6 +175,7 @@
    "depends_on": "eval:!doc.__islocal", 
    "fieldname": "cost_center", 
    "fieldtype": "Link", 
+   "ignore_restrictions": 1, 
    "label": "Cost Center", 
    "no_copy": 1, 
    "options": "Cost Center", 
@@ -225,6 +235,7 @@
   {
    "fieldname": "stock_received_but_not_billed", 
    "fieldtype": "Link", 
+   "ignore_restrictions": 1, 
    "label": "Stock Received But Not Billed", 
    "no_copy": 1, 
    "options": "Account", 
@@ -234,6 +245,7 @@
   {
    "fieldname": "stock_adjustment_account", 
    "fieldtype": "Link", 
+   "ignore_restrictions": 1, 
    "label": "Stock Adjustment Account", 
    "no_copy": 1, 
    "options": "Account", 
@@ -243,6 +255,7 @@
   {
    "fieldname": "expenses_included_in_valuation", 
    "fieldtype": "Link", 
+   "ignore_restrictions": 1, 
    "label": "Expenses Included In Valuation", 
    "no_copy": 1, 
    "options": "Account", 
@@ -332,21 +345,11 @@
    "oldfieldtype": "Code", 
    "permlevel": 0, 
    "read_only": 0
-  }, 
-  {
-   "fieldname": "trash_reason", 
-   "fieldtype": "Small Text", 
-   "label": "Trash Reason", 
-   "no_copy": 1, 
-   "oldfieldname": "trash_reason", 
-   "oldfieldtype": "Small Text", 
-   "permlevel": 0, 
-   "read_only": 1
   }
  ], 
  "icon": "icon-building", 
  "idx": 1, 
- "modified": "2014-04-28 16:49:05.832905", 
+ "modified": "2014-05-07 06:39:40.682148", 
  "modified_by": "Administrator", 
  "module": "Setup", 
  "name": "Company", 
diff --git a/erpnext/setup/doctype/customer_group/customer_group.json b/erpnext/setup/doctype/customer_group/customer_group.json
index e5ade41..0189fab 100644
--- a/erpnext/setup/doctype/customer_group/customer_group.json
+++ b/erpnext/setup/doctype/customer_group/customer_group.json
@@ -2,23 +2,15 @@
  "allow_import": 1, 
  "allow_rename": 1, 
  "autoname": "field:customer_group_name", 
- "creation": "2013-01-10 16:34:23.000000", 
+ "creation": "2013-01-10 16:34:23", 
  "docstatus": 0, 
  "doctype": "DocType", 
  "document_type": "Master", 
  "fields": [
   {
-   "fieldname": "trash_reason", 
-   "fieldtype": "Small Text", 
-   "label": "Trash Reason", 
-   "oldfieldname": "trash_reason", 
-   "oldfieldtype": "Small Text", 
-   "permlevel": 0, 
-   "read_only": 1
-  }, 
-  {
    "fieldname": "customer_group_name", 
    "fieldtype": "Data", 
+   "in_list_view": 1, 
    "label": "Customer Group Name", 
    "no_copy": 1, 
    "oldfieldname": "customer_group_name", 
@@ -31,6 +23,7 @@
    "fieldname": "parent_customer_group", 
    "fieldtype": "Link", 
    "ignore_restrictions": 1, 
+   "in_list_view": 1, 
    "label": "Parent Customer Group", 
    "oldfieldname": "parent_customer_group", 
    "oldfieldtype": "Link", 
@@ -42,6 +35,7 @@
    "description": "Only leaf nodes are allowed in transaction", 
    "fieldname": "is_group", 
    "fieldtype": "Select", 
+   "in_list_view": 1, 
    "label": "Has Child Node", 
    "oldfieldname": "is_group", 
    "oldfieldtype": "Select", 
@@ -57,6 +51,7 @@
   {
    "fieldname": "default_price_list", 
    "fieldtype": "Link", 
+   "ignore_restrictions": 1, 
    "label": "Default Price List", 
    "options": "Price List", 
    "permlevel": 0
@@ -106,7 +101,7 @@
  "icon": "icon-sitemap", 
  "idx": 1, 
  "in_create": 1, 
- "modified": "2014-01-20 17:48:33.000000", 
+ "modified": "2014-05-07 06:39:41.073285", 
  "modified_by": "Administrator", 
  "module": "Setup", 
  "name": "Customer Group", 
diff --git a/erpnext/setup/doctype/global_defaults/global_defaults.json b/erpnext/setup/doctype/global_defaults/global_defaults.json
index 6375bab..22997dd 100644
--- a/erpnext/setup/doctype/global_defaults/global_defaults.json
+++ b/erpnext/setup/doctype/global_defaults/global_defaults.json
@@ -1,395 +1,127 @@
 {
- "_last_update": null, 
- "_user_tags": null, 
- "allow_attach": null, 
  "allow_copy": 1, 
- "allow_email": null, 
- "allow_import": null, 
- "allow_print": null, 
- "allow_rename": null, 
- "allow_trash": null, 
- "autoname": null, 
- "change_log": null, 
- "client_script": null, 
- "client_script_core": null, 
- "client_string": null, 
- "colour": null, 
  "creation": "2013-05-02 17:53:24", 
- "custom": null, 
- "default_print_format": null, 
- "description": null, 
  "docstatus": 0, 
  "doctype": "DocType", 
- "document_type": null, 
- "dt_template": null, 
  "fields": [
   {
-   "allow_on_submit": null, 
-   "default": null, 
-   "depends_on": null, 
-   "description": null, 
    "fieldname": "currency_settings", 
    "fieldtype": "Section Break", 
-   "hidden": null, 
-   "ignore_restrictions": null, 
-   "in_filter": null, 
-   "in_list_view": 1, 
+   "in_list_view": 0, 
    "label": "Currency Settings", 
-   "no_column": null, 
-   "no_copy": null, 
-   "oldfieldname": null, 
-   "oldfieldtype": null, 
-   "options": null, 
-   "permlevel": 0, 
-   "print_hide": null, 
-   "print_width": null, 
-   "read_only": null, 
-   "report_hide": null, 
-   "reqd": null, 
-   "search_index": null, 
-   "set_only_once": null, 
-   "trigger": null, 
-   "width": null
+   "permlevel": 0
   }, 
   {
-   "allow_on_submit": null, 
-   "default": null, 
-   "depends_on": null, 
    "description": "If disable, 'Rounded Total' field will not be visible in any transaction", 
    "fieldname": "disable_rounded_total", 
    "fieldtype": "Check", 
-   "hidden": null, 
-   "ignore_restrictions": null, 
-   "in_filter": null, 
    "in_list_view": 1, 
    "label": "Disable Rounded Total", 
-   "no_column": null, 
-   "no_copy": null, 
-   "oldfieldname": null, 
-   "oldfieldtype": null, 
-   "options": null, 
    "permlevel": 0, 
-   "print_hide": null, 
-   "print_width": null, 
-   "read_only": 0, 
-   "report_hide": null, 
-   "reqd": null, 
-   "search_index": null, 
-   "set_only_once": null, 
-   "trigger": null, 
-   "width": null
+   "read_only": 0
   }, 
   {
-   "allow_on_submit": null, 
    "default": "INR", 
-   "depends_on": null, 
-   "description": null, 
    "fieldname": "default_currency", 
    "fieldtype": "Link", 
-   "hidden": null, 
-   "ignore_restrictions": null, 
-   "in_filter": null, 
+   "ignore_restrictions": 1, 
    "in_list_view": 1, 
    "label": "Default Currency", 
-   "no_column": null, 
-   "no_copy": null, 
-   "oldfieldname": null, 
-   "oldfieldtype": null, 
    "options": "Currency", 
    "permlevel": 0, 
-   "print_hide": null, 
-   "print_width": null, 
    "read_only": 0, 
-   "report_hide": null, 
-   "reqd": 1, 
-   "search_index": null, 
-   "set_only_once": null, 
-   "trigger": null, 
-   "width": null
+   "reqd": 1
   }, 
   {
-   "allow_on_submit": null, 
-   "default": null, 
-   "depends_on": null, 
    "description": "Do not show any symbol like $ etc next to currencies.", 
    "fieldname": "hide_currency_symbol", 
    "fieldtype": "Select", 
-   "hidden": null, 
-   "ignore_restrictions": null, 
-   "in_filter": null, 
    "in_list_view": 1, 
    "label": "Hide Currency Symbol", 
-   "no_column": null, 
-   "no_copy": null, 
-   "oldfieldname": null, 
-   "oldfieldtype": null, 
    "options": "\nNo\nYes", 
    "permlevel": 0, 
-   "print_hide": null, 
-   "print_width": null, 
-   "read_only": 0, 
-   "report_hide": null, 
-   "reqd": null, 
-   "search_index": null, 
-   "set_only_once": null, 
-   "trigger": null, 
-   "width": null
+   "read_only": 0
   }, 
   {
-   "allow_on_submit": null, 
-   "default": null, 
-   "depends_on": null, 
-   "description": null, 
    "fieldname": "company", 
    "fieldtype": "Section Break", 
-   "hidden": null, 
-   "ignore_restrictions": null, 
-   "in_filter": null, 
-   "in_list_view": 1, 
+   "in_list_view": 0, 
    "label": "Company Settings", 
-   "no_column": null, 
-   "no_copy": null, 
-   "oldfieldname": null, 
-   "oldfieldtype": null, 
-   "options": null, 
    "permlevel": 0, 
-   "print_hide": null, 
-   "print_width": null, 
-   "read_only": 0, 
-   "report_hide": null, 
-   "reqd": null, 
-   "search_index": null, 
-   "set_only_once": null, 
-   "trigger": null, 
-   "width": null
+   "read_only": 0
   }, 
   {
-   "allow_on_submit": null, 
-   "default": null, 
-   "depends_on": null, 
-   "description": null, 
    "fieldname": "default_company", 
    "fieldtype": "Link", 
-   "hidden": null, 
-   "ignore_restrictions": null, 
-   "in_filter": null, 
-   "in_list_view": null, 
+   "ignore_restrictions": 1, 
    "label": "Default Company", 
-   "no_column": null, 
-   "no_copy": null, 
-   "oldfieldname": null, 
-   "oldfieldtype": null, 
    "options": "Company", 
    "permlevel": 0, 
-   "print_hide": null, 
-   "print_width": null, 
    "read_only": 0, 
-   "report_hide": null, 
-   "reqd": 0, 
-   "search_index": null, 
-   "set_only_once": null, 
-   "trigger": null, 
-   "width": null
+   "reqd": 0
   }, 
   {
-   "allow_on_submit": null, 
-   "default": null, 
-   "depends_on": null, 
-   "description": null, 
    "fieldname": "current_fiscal_year", 
    "fieldtype": "Link", 
-   "hidden": null, 
-   "ignore_restrictions": null, 
-   "in_filter": null, 
-   "in_list_view": null, 
    "label": "Current Fiscal Year", 
-   "no_column": null, 
-   "no_copy": null, 
-   "oldfieldname": null, 
-   "oldfieldtype": null, 
    "options": "Fiscal Year", 
    "permlevel": 0, 
-   "print_hide": null, 
-   "print_width": null, 
    "read_only": 0, 
-   "report_hide": null, 
-   "reqd": 1, 
-   "search_index": null, 
-   "set_only_once": null, 
-   "trigger": null, 
-   "width": null
+   "reqd": 1
   }, 
   {
-   "allow_on_submit": null, 
-   "default": null, 
-   "depends_on": null, 
-   "description": null, 
    "fieldname": "system", 
    "fieldtype": "Section Break", 
-   "hidden": null, 
-   "ignore_restrictions": null, 
-   "in_filter": null, 
-   "in_list_view": null, 
    "label": "System Settings", 
-   "no_column": null, 
-   "no_copy": null, 
-   "oldfieldname": null, 
-   "oldfieldtype": null, 
-   "options": null, 
    "permlevel": 0, 
-   "print_hide": null, 
-   "print_width": null, 
-   "read_only": 0, 
-   "report_hide": null, 
-   "reqd": null, 
-   "search_index": null, 
-   "set_only_once": null, 
-   "trigger": null, 
-   "width": null
+   "read_only": 0
   }, 
   {
-   "allow_on_submit": null, 
-   "default": null, 
-   "depends_on": null, 
-   "description": null, 
    "fieldname": "country", 
-   "fieldtype": "Select", 
-   "hidden": null, 
-   "ignore_restrictions": null, 
-   "in_filter": null, 
-   "in_list_view": null, 
+   "fieldtype": "Link", 
    "label": "Country", 
-   "no_column": null, 
-   "no_copy": null, 
-   "oldfieldname": null, 
-   "oldfieldtype": null, 
-   "options": "link:Country", 
-   "permlevel": 0, 
-   "print_hide": null, 
-   "print_width": null, 
-   "read_only": null, 
-   "report_hide": null, 
-   "reqd": null, 
-   "search_index": null, 
-   "set_only_once": null, 
-   "trigger": null, 
-   "width": null
+   "options": "Country", 
+   "permlevel": 0
   }, 
   {
-   "allow_on_submit": null, 
-   "default": null, 
-   "depends_on": null, 
-   "description": null, 
    "fieldname": "sms_sender_name", 
    "fieldtype": "Data", 
-   "hidden": null, 
-   "ignore_restrictions": null, 
-   "in_filter": null, 
-   "in_list_view": null, 
    "label": "SMS Sender Name", 
-   "no_column": null, 
-   "no_copy": null, 
-   "oldfieldname": null, 
-   "oldfieldtype": null, 
-   "options": null, 
    "permlevel": 0, 
-   "print_hide": null, 
-   "print_width": null, 
-   "read_only": 0, 
-   "report_hide": null, 
-   "reqd": null, 
-   "search_index": null, 
-   "set_only_once": null, 
-   "trigger": null, 
-   "width": null
+   "read_only": 0
   }, 
   {
-   "allow_on_submit": null, 
-   "default": null, 
-   "depends_on": null, 
    "description": "For Server Side Print Formats", 
    "fieldname": "print_style", 
    "fieldtype": "Select", 
-   "hidden": null, 
-   "ignore_restrictions": null, 
-   "in_filter": null, 
-   "in_list_view": null, 
    "label": "Print Format Style", 
-   "no_column": null, 
-   "no_copy": null, 
-   "oldfieldname": null, 
-   "oldfieldtype": null, 
    "options": "Standard\nClassic\nModern\nSpartan", 
    "permlevel": 0, 
-   "print_hide": null, 
-   "print_width": null, 
-   "read_only": 0, 
-   "report_hide": null, 
-   "reqd": null, 
-   "search_index": null, 
-   "set_only_once": null, 
-   "trigger": null, 
-   "width": null
+   "read_only": 0
   }
  ], 
- "hide_heading": null, 
  "hide_toolbar": 0, 
  "icon": "icon-cog", 
  "idx": 1, 
  "in_create": 1, 
- "in_dialog": null, 
- "is_submittable": null, 
- "is_transaction_doc": null, 
  "issingle": 1, 
- "istable": null, 
- "max_attachments": null, 
- "menu_index": null, 
- "modified": "2014-04-17 16:58:54.093191", 
+ "modified": "2014-05-07 05:25:24.237036", 
  "modified_by": "Administrator", 
  "module": "Setup", 
  "name": "Global Defaults", 
- "name_case": null, 
  "owner": "Administrator", 
- "parent": null, 
- "parent_node": null, 
- "parentfield": null, 
- "parenttype": null, 
  "permissions": [
   {
    "amend": 0, 
    "cancel": 0, 
    "create": 1, 
-   "delete": null, 
-   "email": null, 
-   "export": null, 
-   "import": null, 
-   "match": null, 
    "permlevel": 0, 
-   "print": null, 
    "read": 1, 
    "report": 0, 
-   "restrict": null, 
-   "restricted": null, 
    "role": "System Manager", 
    "submit": 0, 
    "write": 1
   }
  ], 
- "plugin": null, 
- "print_outline": null, 
- "read_only": 1, 
- "read_only_onload": null, 
- "search_fields": null, 
- "section_style": null, 
- "server_code": null, 
- "server_code_compiled": null, 
- "server_code_core": null, 
- "server_code_error": null, 
- "show_in_menu": null, 
- "smallicon": null, 
- "subject": null, 
- "tag_fields": null, 
- "title_field": null, 
- "use_template": null, 
- "version": null
+ "read_only": 1
 }
\ No newline at end of file
diff --git a/erpnext/setup/doctype/print_heading/print_heading.json b/erpnext/setup/doctype/print_heading/print_heading.json
index fc558f2..a303452 100644
--- a/erpnext/setup/doctype/print_heading/print_heading.json
+++ b/erpnext/setup/doctype/print_heading/print_heading.json
@@ -1,24 +1,16 @@
 {
  "allow_import": 1, 
  "autoname": "field:print_heading", 
- "creation": "2013-01-10 16:34:24.000000", 
+ "creation": "2013-01-10 16:34:24", 
  "docstatus": 0, 
  "doctype": "DocType", 
  "document_type": "Master", 
  "fields": [
   {
-   "fieldname": "trash_reason", 
-   "fieldtype": "Small Text", 
-   "label": "Trash Reason", 
-   "oldfieldname": "trash_reason", 
-   "oldfieldtype": "Small Text", 
-   "permlevel": 0, 
-   "read_only": 1
-  }, 
-  {
    "fieldname": "print_heading", 
    "fieldtype": "Data", 
    "in_filter": 1, 
+   "in_list_view": 1, 
    "label": "Print Heading", 
    "oldfieldname": "print_heading", 
    "oldfieldtype": "Data", 
@@ -28,6 +20,7 @@
   {
    "fieldname": "description", 
    "fieldtype": "Small Text", 
+   "in_list_view": 1, 
    "label": "Description", 
    "oldfieldname": "description", 
    "oldfieldtype": "Small Text", 
@@ -37,7 +30,7 @@
  ], 
  "icon": "icon-font", 
  "idx": 1, 
- "modified": "2014-01-20 17:49:01.000000", 
+ "modified": "2014-05-07 06:39:39.352519", 
  "modified_by": "Administrator", 
  "module": "Setup", 
  "name": "Print Heading", 
@@ -52,9 +45,14 @@
    "print": 1, 
    "read": 1, 
    "report": 1, 
-   "role": "All", 
+   "role": "System Manager", 
    "submit": 0, 
    "write": 1
+  }, 
+  {
+   "permlevel": 0, 
+   "read": 1, 
+   "role": "All"
   }
  ], 
  "search_fields": "print_heading"
diff --git a/erpnext/setup/doctype/quotation_lost_reason/quotation_lost_reason.json b/erpnext/setup/doctype/quotation_lost_reason/quotation_lost_reason.json
index 0d58279..657f923 100644
--- a/erpnext/setup/doctype/quotation_lost_reason/quotation_lost_reason.json
+++ b/erpnext/setup/doctype/quotation_lost_reason/quotation_lost_reason.json
@@ -1,23 +1,15 @@
 {
  "allow_import": 1, 
  "autoname": "field:order_lost_reason", 
- "creation": "2013-01-10 16:34:24.000000", 
+ "creation": "2013-01-10 16:34:24", 
  "docstatus": 0, 
  "doctype": "DocType", 
  "document_type": "Master", 
  "fields": [
   {
-   "fieldname": "trash_reason", 
-   "fieldtype": "Small Text", 
-   "label": "Trash Reason", 
-   "oldfieldname": "trash_reason", 
-   "oldfieldtype": "Small Text", 
-   "permlevel": 0, 
-   "read_only": 1
-  }, 
-  {
    "fieldname": "order_lost_reason", 
    "fieldtype": "Data", 
+   "in_list_view": 1, 
    "label": "Quotation Lost Reason", 
    "oldfieldname": "order_lost_reason", 
    "oldfieldtype": "Data", 
@@ -27,7 +19,7 @@
  ], 
  "icon": "icon-flag", 
  "idx": 1, 
- "modified": "2014-01-20 17:49:17.000000", 
+ "modified": "2014-05-07 06:39:39.439590", 
  "modified_by": "Administrator", 
  "module": "Setup", 
  "name": "Quotation Lost Reason", 
diff --git a/erpnext/setup/doctype/supplier_type/supplier_type.json b/erpnext/setup/doctype/supplier_type/supplier_type.json
index 03c8ece..de2f74f 100644
--- a/erpnext/setup/doctype/supplier_type/supplier_type.json
+++ b/erpnext/setup/doctype/supplier_type/supplier_type.json
@@ -2,23 +2,15 @@
  "allow_import": 1, 
  "allow_rename": 1, 
  "autoname": "field:supplier_type", 
- "creation": "2013-01-10 16:34:24.000000", 
+ "creation": "2013-01-10 16:34:24", 
  "docstatus": 0, 
  "doctype": "DocType", 
  "document_type": "Master", 
  "fields": [
   {
-   "fieldname": "trash_reason", 
-   "fieldtype": "Small Text", 
-   "label": "Trash Reason", 
-   "oldfieldname": "trash_reason", 
-   "oldfieldtype": "Small Text", 
-   "permlevel": 0, 
-   "read_only": 1
-  }, 
-  {
    "fieldname": "supplier_type", 
    "fieldtype": "Data", 
+   "in_list_view": 1, 
    "label": "Supplier Type", 
    "oldfieldname": "supplier_type", 
    "oldfieldtype": "Data", 
@@ -28,7 +20,7 @@
  ], 
  "icon": "icon-flag", 
  "idx": 1, 
- "modified": "2014-01-20 17:49:31.000000", 
+ "modified": "2014-05-07 06:39:39.516612", 
  "modified_by": "Administrator", 
  "module": "Setup", 
  "name": "Supplier Type", 
diff --git a/erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.json b/erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.json
index b43790b..ca73a89 100644
--- a/erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.json
+++ b/erpnext/setup/doctype/terms_and_conditions/terms_and_conditions.json
@@ -2,25 +2,17 @@
  "allow_import": 1, 
  "allow_rename": 1, 
  "autoname": "field:title", 
- "creation": "2013-01-10 16:34:24.000000", 
+ "creation": "2013-01-10 16:34:24", 
  "description": "Standard Terms and Conditions that can be added to Sales and Purchases.\n\nExamples:\n\n1. Validity of the offer.\n1. Payment Terms (In Advance, On Credit, part advance etc).\n1. What is extra (or payable by the Customer).\n1. Safety / usage warning.\n1. Warranty if any.\n1. Returns Policy.\n1. Terms of shipping, if applicable.\n1. Ways of addressing disputes, indemnity, liability, etc.\n1. Address and Contact of your Company.", 
  "docstatus": 0, 
  "doctype": "DocType", 
  "document_type": "Master", 
  "fields": [
   {
-   "fieldname": "trash_reason", 
-   "fieldtype": "Small Text", 
-   "label": "Trash Reason", 
-   "oldfieldname": "trash_reason", 
-   "oldfieldtype": "Small Text", 
-   "permlevel": 0, 
-   "read_only": 1
-  }, 
-  {
    "fieldname": "title", 
    "fieldtype": "Data", 
    "in_filter": 1, 
+   "in_list_view": 1, 
    "label": "Title", 
    "oldfieldname": "title", 
    "oldfieldtype": "Data", 
@@ -31,6 +23,7 @@
   {
    "fieldname": "terms", 
    "fieldtype": "Text Editor", 
+   "in_list_view": 1, 
    "label": "Terms and Conditions", 
    "oldfieldname": "terms", 
    "oldfieldtype": "Text Editor", 
@@ -39,7 +32,7 @@
  ], 
  "icon": "icon-legal", 
  "idx": 1, 
- "modified": "2014-01-20 17:49:33.000000", 
+ "modified": "2014-05-07 06:48:23.870645", 
  "modified_by": "Administrator", 
  "module": "Setup", 
  "name": "Terms and Conditions", 
@@ -64,16 +57,21 @@
    "cancel": 0, 
    "create": 0, 
    "delete": 0, 
-   "email": 1, 
+   "email": 0, 
    "permlevel": 0, 
-   "print": 1, 
+   "print": 0, 
    "read": 1, 
-   "report": 1, 
+   "report": 0, 
    "role": "Sales User", 
    "submit": 0, 
    "write": 0
   }, 
   {
+   "permlevel": 0, 
+   "read": 1, 
+   "role": "Purchase User"
+  }, 
+  {
    "cancel": 0, 
    "create": 1, 
    "delete": 1, 
@@ -98,6 +96,11 @@
    "role": "Accounts User", 
    "submit": 0, 
    "write": 1
+  }, 
+  {
+   "permlevel": 0, 
+   "read": 1, 
+   "role": "Material User"
   }
  ]
 }
\ No newline at end of file
diff --git a/erpnext/setup/doctype/territory/territory.json b/erpnext/setup/doctype/territory/territory.json
index e3456e9..ab95e8d 100644
--- a/erpnext/setup/doctype/territory/territory.json
+++ b/erpnext/setup/doctype/territory/territory.json
@@ -2,24 +2,16 @@
  "allow_import": 1, 
  "allow_rename": 1, 
  "autoname": "field:territory_name", 
- "creation": "2013-01-10 16:34:24.000000", 
+ "creation": "2013-01-10 16:34:24", 
  "description": "Classification of Customers by region", 
  "docstatus": 0, 
  "doctype": "DocType", 
  "document_type": "Master", 
  "fields": [
   {
-   "fieldname": "trash_reason", 
-   "fieldtype": "Small Text", 
-   "label": "Trash Reason", 
-   "oldfieldname": "trash_reason", 
-   "oldfieldtype": "Small Text", 
-   "permlevel": 0, 
-   "read_only": 1
-  }, 
-  {
    "fieldname": "territory_name", 
    "fieldtype": "Data", 
+   "in_list_view": 1, 
    "label": "Territory Name", 
    "no_copy": 1, 
    "oldfieldname": "territory_name", 
@@ -32,6 +24,7 @@
    "fieldname": "parent_territory", 
    "fieldtype": "Link", 
    "ignore_restrictions": 1, 
+   "in_list_view": 1, 
    "label": "Parent Territory", 
    "oldfieldname": "parent_territory", 
    "oldfieldtype": "Link", 
@@ -43,6 +36,7 @@
    "description": "Only leaf nodes are allowed in transaction", 
    "fieldname": "is_group", 
    "fieldtype": "Select", 
+   "in_list_view": 1, 
    "label": "Has Child Node", 
    "oldfieldname": "is_group", 
    "oldfieldtype": "Select", 
@@ -60,6 +54,7 @@
    "fieldname": "territory_manager", 
    "fieldtype": "Link", 
    "in_filter": 1, 
+   "in_list_view": 1, 
    "label": "Territory Manager", 
    "oldfieldname": "territory_manager", 
    "oldfieldtype": "Link", 
@@ -141,7 +136,7 @@
  "icon": "icon-map-marker", 
  "idx": 1, 
  "in_create": 1, 
- "modified": "2014-01-20 17:49:33.000000", 
+ "modified": "2014-05-07 06:32:11.724588", 
  "modified_by": "Administrator", 
  "module": "Setup", 
  "name": "Territory", 
@@ -151,6 +146,20 @@
   {
    "amend": 0, 
    "cancel": 0, 
+   "create": 1, 
+   "delete": 1, 
+   "email": 1, 
+   "permlevel": 0, 
+   "print": 1, 
+   "read": 1, 
+   "report": 1, 
+   "role": "Sales Master Manager", 
+   "submit": 0, 
+   "write": 1
+  }, 
+  {
+   "amend": 0, 
+   "cancel": 0, 
    "create": 0, 
    "delete": 0, 
    "email": 1, 
@@ -177,18 +186,14 @@
    "write": 0
   }, 
   {
-   "amend": 0, 
-   "cancel": 0, 
-   "create": 1, 
-   "delete": 1, 
-   "email": 1, 
    "permlevel": 0, 
-   "print": 1, 
    "read": 1, 
-   "report": 1, 
-   "role": "Sales Master Manager", 
-   "submit": 0, 
-   "write": 1
+   "role": "Material User"
+  }, 
+  {
+   "permlevel": 0, 
+   "read": 1, 
+   "role": "Maintenance User"
   }
  ], 
  "read_only": 1, 
diff --git a/erpnext/stock/doctype/delivery_note/delivery_note.json b/erpnext/stock/doctype/delivery_note/delivery_note.json
index 5f2c6fd..08273fe 100644
--- a/erpnext/stock/doctype/delivery_note/delivery_note.json
+++ b/erpnext/stock/doctype/delivery_note/delivery_note.json
@@ -999,7 +999,7 @@
  "idx": 1, 
  "in_create": 0, 
  "is_submittable": 1, 
- "modified": "2014-05-06 08:20:35.554308", 
+ "modified": "2014-05-07 05:39:05.540566", 
  "modified_by": "Administrator", 
  "module": "Stock", 
  "name": "Delivery Note", 
@@ -1051,9 +1051,9 @@
    "cancel": 0, 
    "create": 0, 
    "delete": 0, 
-   "email": 1, 
+   "email": 0, 
    "permlevel": 0, 
-   "print": 1, 
+   "print": 0, 
    "read": 1, 
    "report": 1, 
    "role": "Accounts User", 
diff --git a/erpnext/stock/doctype/item/item.json b/erpnext/stock/doctype/item/item.json
index 6aeea39..d7b3853 100644
--- a/erpnext/stock/doctype/item/item.json
+++ b/erpnext/stock/doctype/item/item.json
@@ -832,7 +832,7 @@
  "icon": "icon-tag", 
  "idx": 1, 
  "max_attachments": 1, 
- "modified": "2014-05-06 08:20:31.472832", 
+ "modified": "2014-05-07 05:29:42.155019", 
  "modified_by": "Administrator", 
  "module": "Stock", 
  "name": "Item", 
@@ -879,6 +879,31 @@
    "role": "Material User", 
    "submit": 0, 
    "write": 0
+  }, 
+  {
+   "permlevel": 0, 
+   "read": 1, 
+   "role": "Sales User"
+  }, 
+  {
+   "permlevel": 0, 
+   "read": 1, 
+   "role": "Purchase User"
+  }, 
+  {
+   "permlevel": 0, 
+   "read": 1, 
+   "role": "Maintenance User"
+  }, 
+  {
+   "permlevel": 0, 
+   "read": 1, 
+   "role": "Accounts User"
+  }, 
+  {
+   "permlevel": 0, 
+   "read": 1, 
+   "role": "Manufacturing User"
   }
  ], 
  "search_fields": "item_name,description,item_group,customer_code"
diff --git a/erpnext/stock/doctype/price_list/price_list.json b/erpnext/stock/doctype/price_list/price_list.json
index da69ff6..22a5da6 100644
--- a/erpnext/stock/doctype/price_list/price_list.json
+++ b/erpnext/stock/doctype/price_list/price_list.json
@@ -6,7 +6,7 @@
  "allow_print": 1, 
  "allow_rename": 1, 
  "autoname": "field:price_list_name", 
- "creation": "2013-01-25 11:35:09.000000", 
+ "creation": "2013-01-25 11:35:09", 
  "description": "Price List Master", 
  "docstatus": 0, 
  "doctype": "DocType", 
@@ -75,7 +75,7 @@
  "icon": "icon-tags", 
  "idx": 1, 
  "max_attachments": 1, 
- "modified": "2014-01-27 11:11:08.000000", 
+ "modified": "2014-05-07 06:01:57.302928", 
  "modified_by": "Administrator", 
  "module": "Stock", 
  "name": "Price List", 
@@ -113,7 +113,7 @@
    "role": "Purchase User"
   }, 
   {
-   "cancel": 1, 
+   "cancel": 0, 
    "create": 1, 
    "delete": 1, 
    "permlevel": 0, 
@@ -121,6 +121,12 @@
    "report": 1, 
    "role": "Purchase Master Manager", 
    "write": 1
+  }, 
+  {
+   "permlevel": 0, 
+   "read": 1, 
+   "report": 0, 
+   "role": "Manufacturing User"
   }
  ]
 }
\ No newline at end of file
diff --git a/erpnext/stock/doctype/purchase_receipt/purchase_receipt.json b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.json
index 453b555..477973b 100755
--- a/erpnext/stock/doctype/purchase_receipt/purchase_receipt.json
+++ b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.json
@@ -754,7 +754,7 @@
  "icon": "icon-truck", 
  "idx": 1, 
  "is_submittable": 1, 
- "modified": "2014-05-06 08:20:21.841346", 
+ "modified": "2014-05-07 05:40:51.109407", 
  "modified_by": "Administrator", 
  "module": "Stock", 
  "name": "Purchase Receipt", 
@@ -803,6 +803,12 @@
    "write": 1
   }, 
   {
+   "permlevel": 0, 
+   "read": 1, 
+   "report": 1, 
+   "role": "Accounts User"
+  }, 
+  {
    "cancel": 0, 
    "delete": 0, 
    "email": 1, 
diff --git a/erpnext/stock/doctype/warehouse/warehouse.json b/erpnext/stock/doctype/warehouse/warehouse.json
index 52bb7e9..504a0ed 100644
--- a/erpnext/stock/doctype/warehouse/warehouse.json
+++ b/erpnext/stock/doctype/warehouse/warehouse.json
@@ -1,7 +1,7 @@
 {
  "allow_import": 1, 
  "allow_rename": 1, 
- "creation": "2013-03-07 18:50:32.000000", 
+ "creation": "2013-03-07 18:50:32", 
  "description": "A logical Warehouse against which stock entries are made.", 
  "docstatus": 0, 
  "doctype": "DocType", 
@@ -150,7 +150,7 @@
  ], 
  "icon": "icon-building", 
  "idx": 1, 
- "modified": "2014-03-13 16:26:29.000000", 
+ "modified": "2014-05-07 06:09:21.102749", 
  "modified_by": "Administrator", 
  "module": "Stock", 
  "name": "Warehouse", 
@@ -210,6 +210,11 @@
    "read": 1, 
    "report": 1, 
    "role": "Accounts User"
+  }, 
+  {
+   "permlevel": 0, 
+   "read": 1, 
+   "role": "Manufacturing User"
   }
  ]
 }
\ No newline at end of file
diff --git a/erpnext/utilities/doctype/contact/contact.json b/erpnext/utilities/doctype/contact/contact.json
index bf9f075..6433136 100644
--- a/erpnext/utilities/doctype/contact/contact.json
+++ b/erpnext/utilities/doctype/contact/contact.json
@@ -1,7 +1,7 @@
 {
  "allow_import": 1, 
  "allow_rename": 1, 
- "creation": "2013-01-10 16:34:32.000000", 
+ "creation": "2013-01-10 16:34:32", 
  "docstatus": 0, 
  "doctype": "DocType", 
  "document_type": "Master", 
@@ -186,15 +186,6 @@
    "permlevel": 0
   }, 
   {
-   "fieldname": "trash_reason", 
-   "fieldtype": "Small Text", 
-   "label": "Trash Reason", 
-   "oldfieldname": "trash_reason", 
-   "oldfieldtype": "Small Text", 
-   "permlevel": 0, 
-   "read_only": 1
-  }, 
-  {
    "fieldname": "communications", 
    "fieldtype": "Table", 
    "hidden": 1, 
@@ -208,7 +199,7 @@
  "idx": 1, 
  "in_create": 0, 
  "in_dialog": 0, 
- "modified": "2014-01-20 17:48:29.000000", 
+ "modified": "2014-05-07 06:39:39.702149", 
  "modified_by": "Administrator", 
  "module": "Utilities", 
  "name": "Contact",