mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
feat: hook to fetch additional print settings in print view
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user