We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a864ca5 commit 2495cb8Copy full SHA for 2495cb8
1 file changed
erpnext/accounts/doctype/fiscal_year/fiscal_year.py
@@ -33,6 +33,12 @@ def validate(self):
33
self.validate_dates()
34
self.validate_overlap()
35
36
+ def on_update(self):
37
+ frappe.cache().delete_key("fiscal_years")
38
+
39
+ def on_trash(self):
40
41
42
def validate_dates(self):
43
self.validate_from_to_dates("year_start_date", "year_end_date")
44
if self.is_short_year:
0 commit comments