feat: hook to fetch additional print settings in print view

This commit is contained in:
prssanna
2020-10-22 15:37:47 +05:30
parent 5ee7bca185
commit b57b3c9f6c
5 changed files with 57 additions and 21 deletions

View File

@@ -2,13 +2,13 @@
import frappe
def get_filters_config():
filters_config = {
filters_config = {
"fiscal year": {
"label": "Fiscal Year",
"get_field": "erpnext.accounts.utils.get_fiscal_year_filter_field",
"valid_for_fieldtypes": ["Date", "Datetime", "DateRange"],
"depends_on": "company",
}
}
}
return filters_config
return filters_config