mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 20:29:09 +00:00
fix in fiscal year of email digest
This commit is contained in:
@@ -240,7 +240,9 @@ class DocType:
|
|||||||
Adds common conditions in dictionary "args"
|
Adds common conditions in dictionary "args"
|
||||||
"""
|
"""
|
||||||
start_date, end_date = self.get_start_end_dates()
|
start_date, end_date = self.get_start_end_dates()
|
||||||
fiscal_start_date = webnotes.utils.get_defaults()['year_start_date']
|
fiscal_year = webnotes.utils.get_defaults()['fiscal_year']
|
||||||
|
fiscal_start_date = webnotes.conn.get_value('Fiscal Year', fiscal_year,
|
||||||
|
'year_start_date')
|
||||||
|
|
||||||
if 'new' in args['type']:
|
if 'new' in args['type']:
|
||||||
args.update({
|
args.update({
|
||||||
|
|||||||
Reference in New Issue
Block a user