[FIX] account: when generating the opening entries, do not copy the last partner on the centralisation lines (was set in default_get) but force it to False
bzr revid: qdp-launchpad@openerp.com-20130107135507-jfm7ptd64zlldrqr
This commit is contained in:
parent
61455bb8b0
commit
26f5b8b7bf
|
@ -1463,6 +1463,7 @@ class account_move(osv.osv):
|
|||
line_id = self.pool.get('account.move.line').create(cr, uid, {
|
||||
'name': _(mode.capitalize()+' Centralisation'),
|
||||
'centralisation': mode,
|
||||
'partner_id': False,
|
||||
'account_id': account_id,
|
||||
'move_id': move.id,
|
||||
'journal_id': move.journal_id.id,
|
||||
|
@ -1501,6 +1502,7 @@ class account_move(osv.osv):
|
|||
line_id = self.pool.get('account.move.line').create(cr, uid, {
|
||||
'name': _('Currency Adjustment'),
|
||||
'centralisation': 'currency',
|
||||
'partner_id': False,
|
||||
'account_id': account_id,
|
||||
'move_id': move.id,
|
||||
'journal_id': move.journal_id.id,
|
||||
|
|
Loading…
Reference in New Issue