[IMP] point_of_sale: Improved according to changes in account.
bzr revid: uco@tinyerp.com-20100928115744-j0ljddt1lt480x7z
This commit is contained in:
parent
718509a76b
commit
14b8248289
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue