fix: Disable filters after test

This commit is contained in:
Deepesh Garg
2020-11-17 13:19:29 +05:30
parent 0ce888ec08
commit cb80aaf707

View File

@@ -74,9 +74,9 @@ def create_accounting_dimension_filter():
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()