[fix] Fiscal year issue due to missing field in Material Request
diff --git a/erpnext/controllers/accounts_controller.py b/erpnext/controllers/accounts_controller.py
index 8d51bcf..98f2409 100644
--- a/erpnext/controllers/accounts_controller.py
+++ b/erpnext/controllers/accounts_controller.py
@@ -38,8 +38,8 @@
convert_to_recurring(self, self.get("posting_date") or self.get("transaction_date"))
def before_recurring(self):
- if self.meta.get_field("fiscal_year"):
- self.fiscal_year = None
+ if self.meta.get_field("fiscal_year"):
+ self.fiscal_year = None
if self.meta.get_field("due_date"):
self.due_date = None