mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-17 16:45:02 +00:00
@@ -4,10 +4,7 @@
|
||||
frappe.ui.form.on("Fiscal Year", {
|
||||
onload: function (frm) {
|
||||
if (frm.doc.__islocal) {
|
||||
frm.set_value(
|
||||
"year_start_date",
|
||||
frappe.datetime.add_days(frappe.defaults.get_default("year_end_date"), 1)
|
||||
);
|
||||
frm.set_value("year_start_date", frappe.datetime.year_start());
|
||||
}
|
||||
},
|
||||
year_start_date: function (frm) {
|
||||
|
||||
Reference in New Issue
Block a user