[fix] Fiscal year issue due to missing field in Material Request

This commit is contained in:
Nabin Hait 2015-06-08 12:10:43 +05:30
parent 7cbd916b00
commit 000835c454

View File

@ -38,8 +38,8 @@ class AccountsController(TransactionBase):
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