hides `payments` field when `is_pos` is checked (#9174)
diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.json b/erpnext/accounts/doctype/sales_invoice/sales_invoice.json
index 0de23e5..d08716fd 100644
--- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.json
+++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.json
@@ -2664,6 +2664,7 @@
"bold": 0,
"collapsible": 0,
"columns": 0,
+ "depends_on": "eval:doc.is_pos===1",
"fieldname": "payments",
"fieldtype": "Table",
"hidden": 0,
@@ -4564,7 +4565,7 @@
"istable": 0,
"max_attachments": 0,
"menu_index": 0,
- "modified": "2017-05-17 10:34:44.412147",
+ "modified": "2017-06-07 11:00:01.903429",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Sales Invoice",