[IMP] account: difference in account journals

This commit is contained in:
Fabien Pinckaers
2016-04-11 22:58:37 -07:00
parent a2eecec4c4
commit 45bde5721a
@@ -189,6 +189,7 @@ class account_journal(models.Model):
'number_to_reconcile': number_to_reconcile,
'account_balance': formatLang(self.env, account_sum, currency_obj=self.currency_id or self.company_id.currency_id),
'last_balance': formatLang(self.env, last_balance, currency_obj=self.currency_id or self.company_id.currency_id),
'difference': formatLang(self.env, (last_balance or 0.0)-(account_sum or 0.0), currency_obj=self.currency_id or self.company_id.currency_id),
'number_draft': number_draft,
'number_waiting': number_waiting,
'number_late': number_late,