mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
fix: Disable filters after test
This commit is contained in:
@@ -74,9 +74,9 @@ def create_accounting_dimension_filter():
|
|||||||
|
|
||||||
def disable_dimension_filter():
|
def disable_dimension_filter():
|
||||||
doc = frappe.get_doc('Accounting Dimension Filter', {'accounting_dimension': 'Cost Center'})
|
doc = frappe.get_doc('Accounting Dimension Filter', {'accounting_dimension': 'Cost Center'})
|
||||||
doc.disabled = 0
|
doc.disabled = 1
|
||||||
doc.save()
|
doc.save()
|
||||||
|
|
||||||
doc = frappe.get_doc('Accounting Dimension Filter', {'accounting_dimension': 'Location'})
|
doc = frappe.get_doc('Accounting Dimension Filter', {'accounting_dimension': 'Location'})
|
||||||
doc.disabled = 0
|
doc.disabled = 1
|
||||||
doc.save()
|
doc.save()
|
||||||
|
|||||||
Reference in New Issue
Block a user