Optimization to reduce GLE reposting time for future stock transactions

This commit is contained in:
Nabin Hait
2016-12-30 16:21:35 +05:30
parent ae25e0da88
commit 9784d27317
16 changed files with 128 additions and 78 deletions

View File

@@ -113,7 +113,7 @@ class AccountsController(TransactionBase):
date_field = "transaction_date"
if date_field and self.get(date_field):
validate_fiscal_year(self.get(date_field), self.fiscal_year,
validate_fiscal_year(self.get(date_field), self.fiscal_year, self.company,
self.meta.get_label(date_field), self)
def validate_due_date(self):