diff --git a/erpnext/buying/doctype/supplier/supplier.json b/erpnext/buying/doctype/supplier/supplier.json index f441e9b665..0c8f0478cb 100644 --- a/erpnext/buying/doctype/supplier/supplier.json +++ b/erpnext/buying/doctype/supplier/supplier.json @@ -90,6 +90,8 @@ "permlevel": 0 }, { + "depends_on": "eval:!doc.__islocal", + "description": "Mention if non-standard receivable account applicable", "fieldname": "accounts", "fieldtype": "Table", "label": "Accounts", @@ -170,7 +172,7 @@ ], "icon": "icon-user", "idx": 1, - "modified": "2015-02-20 05:07:32.060901", + "modified": "2015-02-24 17:35:03.821318", "modified_by": "Administrator", "module": "Buying", "name": "Supplier", diff --git a/erpnext/config/accounts.py b/erpnext/config/accounts.py index f7a50c54a2..831e07e552 100644 --- a/erpnext/config/accounts.py +++ b/erpnext/config/accounts.py @@ -279,18 +279,6 @@ def get_data(): "is_query_report": True, "doctype": "Sales Invoice" }, - { - "type": "report", - "name": "Customer Account Head", - "is_query_report": True, - "doctype": "Account" - }, - { - "type": "report", - "name": "Supplier Account Head", - "is_query_report": True, - "doctype": "Account" - }, { "type": "report", "name": "Item-wise Sales Register", diff --git a/erpnext/selling/doctype/customer/customer.json b/erpnext/selling/doctype/customer/customer.json index dcfbf1eada..36092c00d0 100644 --- a/erpnext/selling/doctype/customer/customer.json +++ b/erpnext/selling/doctype/customer/customer.json @@ -137,7 +137,8 @@ "permlevel": 0 }, { - "description": "", + "depends_on": "eval:!doc.__islocal", + "description": "Mention if non-standard receivable account applicable", "fieldname": "accounts", "fieldtype": "Table", "label": "Accounts", @@ -268,7 +269,7 @@ ], "icon": "icon-user", "idx": 1, - "modified": "2015-02-20 01:39:41.062529", + "modified": "2015-02-24 17:32:36.065246", "modified_by": "Administrator", "module": "Selling", "name": "Customer", diff --git a/erpnext/setup/doctype/customer_group/customer_group.json b/erpnext/setup/doctype/customer_group/customer_group.json index a08564d8c9..c6ea98c9e4 100644 --- a/erpnext/setup/doctype/customer_group/customer_group.json +++ b/erpnext/setup/doctype/customer_group/customer_group.json @@ -116,6 +116,8 @@ "permlevel": 0 }, { + "depends_on": "eval:!doc.__islocal", + "description": "Mention if non-standard receivable account applicable", "fieldname": "accounts", "fieldtype": "Table", "label": "Accounts", @@ -126,7 +128,7 @@ "icon": "icon-sitemap", "idx": 1, "in_create": 0, - "modified": "2015-02-05 05:11:36.752161", + "modified": "2015-02-24 17:34:40.749511", "modified_by": "Administrator", "module": "Setup", "name": "Customer Group", diff --git a/erpnext/setup/doctype/supplier_type/supplier_type.json b/erpnext/setup/doctype/supplier_type/supplier_type.json index d6a2809aee..db1bcf275f 100644 --- a/erpnext/setup/doctype/supplier_type/supplier_type.json +++ b/erpnext/setup/doctype/supplier_type/supplier_type.json @@ -30,6 +30,8 @@ "permlevel": 0 }, { + "depends_on": "eval:!doc.__islocal", + "description": "Mention if non-standard receivable account applicable", "fieldname": "accounts", "fieldtype": "Table", "label": "Accounts", @@ -39,7 +41,7 @@ ], "icon": "icon-flag", "idx": 1, - "modified": "2015-02-05 05:11:47.821736", + "modified": "2015-02-24 17:35:22.087557", "modified_by": "Administrator", "module": "Setup", "name": "Supplier Type",