mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-27 07:01:13 +01:00
fix: Disable filters after test
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user