Merge pull request #41170 from deepeshgarg007/default_dates_in_reports

fix: Default dates in report
This commit is contained in:
Deepesh Garg
2024-05-14 08:21:51 +05:30
committed by GitHub
21 changed files with 40 additions and 35 deletions

View File

@@ -55,6 +55,9 @@ GL_REPOSTING_CHUNK = 100
def get_fiscal_year(
date=None, fiscal_year=None, label="Date", verbose=1, company=None, as_dict=False, boolean=False
):
if isinstance(boolean, str):
boolean = frappe.json.loads(boolean)
fiscal_years = get_fiscal_years(
date, fiscal_year, label, verbose, company, as_dict=as_dict, boolean=boolean
)