view is now on kind field of account for issue354

This commit is contained in:
Cédric Krier committed 2008-09-12 12:14:08 +02:00
1 parent f05c9ec5a9
commit b42219096a
1 file changed
+1 -1
+1 -1
View File
@@ -246,7 +246,7 @@ class CloseFiscalYear(Wizard):
move_line_obj = self.pool.get('account.move.line')
fiscalyear_obj = self.pool.get('account.fiscalyear')
if account.type == 'view':
if account.kind == 'view':
return
if account.close_method == 'none':
return