[FIX] Account: manuall reconcilation=> used stop_reconcile in context when we recocile partner and go to next one
bzr revid: mra@mra-laptop-20100909055155-h96s41mqdtka3eja
This commit is contained in:
parent
648cc18769
commit
cbd0b7effd
|
@ -85,6 +85,7 @@ class account_move_line_reconcile(osv.osv_memory):
|
|||
ids = self.pool.get('account.period').find(cr, uid, dt=date, context=context)
|
||||
if len(ids):
|
||||
period_id = ids[0]
|
||||
context.update({'stop_reconcile': True})
|
||||
account_move_line_obj.reconcile(cr, uid, context['active_ids'], 'manual', account_id,
|
||||
period_id, journal_id, context=context)
|
||||
return {}
|
||||
|
@ -151,6 +152,7 @@ class account_move_line_reconcile_writeoff(osv.osv_memory):
|
|||
if len(ids):
|
||||
period_id = ids[0]
|
||||
|
||||
context.update({'stop_reconcile': True})
|
||||
account_move_line_obj.reconcile(cr, uid, context['active_ids'], 'manual', account_id,
|
||||
period_id, journal_id, context=context)
|
||||
return {}
|
||||
|
|
Loading…
Reference in New Issue