BudgetError Fix

This commit is contained in:
Valmik Jangla
2016-03-03 18:50:06 +05:30
committed by Anand Doshi
parent 865d547965
commit c7e774fda9
2 changed files with 27 additions and 42 deletions

View File

@@ -220,6 +220,7 @@ class AccountsController(TransactionBase):
gl_dict = frappe._dict({
'company': self.company,
'posting_date': self.posting_date,
'fiscal_year': get_fiscal_year(self.posting_date, company=self.company)[0],
'voucher_type': self.doctype,
'voucher_no': self.name,
'remarks': self.get("remarks"),