fix: Default fiscal year in accounting, buying and sellingcharts
(cherry picked from commit 3759a41b83)
This commit is contained in:
@@ -352,6 +352,10 @@ $.extend(erpnext.utils, {
|
||||
},
|
||||
|
||||
get_fiscal_year: function(date) {
|
||||
if(!date) {
|
||||
date = frappe.datetime.get_today();
|
||||
}
|
||||
|
||||
let fiscal_year = '';
|
||||
frappe.call({
|
||||
method: "erpnext.accounts.utils.get_fiscal_year",
|
||||
|
||||
Reference in New Issue
Block a user