[IMP] point_of_sale: Improved according to changes in account.

bzr revid: uco@tinyerp.com-20100928115744-j0ljddt1lt480x7z
This commit is contained in:
uco (Open ERP) 2010-09-28 17:27:44 +05:30
parent 718509a76b
commit 14b8248289
1 changed files with 2 additions and 2 deletions

View File

@ -46,8 +46,8 @@ class account_cash_statement(osv.osv):
_inherit = 'account.bank.statement'
def _equal_balance(self, cr, uid, ids, statement, context={}):
def _equal_balance(self, cr, uid, cash_id, context={}):
statement = self.browse(cr, uid, cash_id, context=context)
if not statement.journal_id.check_dtls:
return True