commit | 8b4d92d4fcc8ffbd92366dd63bd66122719156d2 | [log] [tgz] |
---|---|---|
author | Deepesh Garg <deepeshgarg6@gmail.com> | Tue Nov 17 13:19:29 2020 +0530 |
committer | Deepesh Garg <deepeshgarg6@gmail.com> | Tue Nov 17 13:19:29 2020 +0530 |
tree | 2b7ce61482043dc3f406cbf08bf3cc4395415e11 | |
parent | 6456c3dc244c0b294748707ed08e558826f3ab65 [diff] |
fix: Disable filters after test
diff --git a/erpnext/accounts/doctype/accounting_dimension_filter/test_accounting_dimension_filter.py b/erpnext/accounts/doctype/accounting_dimension_filter/test_accounting_dimension_filter.py index 02fd75e..801786b 100644 --- a/erpnext/accounts/doctype/accounting_dimension_filter/test_accounting_dimension_filter.py +++ b/erpnext/accounts/doctype/accounting_dimension_filter/test_accounting_dimension_filter.py
@@ -74,9 +74,9 @@ def disable_dimension_filter(): doc = frappe.get_doc('Accounting Dimension Filter', {'accounting_dimension': 'Cost Center'}) - doc.disabled = 0 + doc.disabled = 1 doc.save() doc = frappe.get_doc('Accounting Dimension Filter', {'accounting_dimension': 'Location'}) - doc.disabled = 0 + doc.disabled = 1 doc.save()