Skip to content

Commit

Permalink
Merge remote-tracking branch 'odoo/7.0' into 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
OCA git bot authored and OCA git bot committed Aug 13, 2015
2 parents 82d3600 + 937b957 commit 62b1e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/account/account_cash_statement.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def button_confirm_cash(self, cr, uid, ids, context=None):
continue

for item_label, item_account in TABLES:
if getattr(obj.journal_id, item_account):
if not getattr(obj.journal_id, item_account):
raise osv.except_osv(_('Error!'),
_('There is no %s Account on the journal %s.') % (item_label, obj.journal_id.name,))

Expand Down

0 comments on commit 62b1e03

Please sign in to comment.