2020-06-18 12:48:41 +00:00
|
|
|
|
|
|
|
import frappe
|
|
|
|
|
|
|
|
def get_filters_config():
|
2020-10-22 10:07:47 +00:00
|
|
|
filters_config = {
|
2020-06-18 12:48:41 +00:00
|
|
|
"fiscal year": {
|
|
|
|
"label": "Fiscal Year",
|
|
|
|
"get_field": "erpnext.accounts.utils.get_fiscal_year_filter_field",
|
|
|
|
"valid_for_fieldtypes": ["Date", "Datetime", "DateRange"],
|
|
|
|
"depends_on": "company",
|
|
|
|
}
|
2020-10-22 10:07:47 +00:00
|
|
|
}
|
2020-06-18 12:48:41 +00:00
|
|
|
|
2020-10-22 10:07:47 +00:00
|
|
|
return filters_config
|