[FIX] account: create move lines with date provide in wizard (bug reported by Alexis Deméaulte)
bzr revid: christophe@tinyerp.com-20090625133442-4vum4hmcw1qd7xzv
This commit is contained in:
parent
c92cfc7659
commit
e4328c611f
|
@ -862,6 +862,7 @@ class account_invoice(osv.osv):
|
|||
'account_id': src_account_id,
|
||||
'partner_id': invoice.partner_id.id,
|
||||
'ref':invoice.number,
|
||||
'date': date,
|
||||
}
|
||||
l2 = {
|
||||
'debit': direction * pay_amount<0 and - direction * pay_amount,
|
||||
|
@ -869,6 +870,7 @@ class account_invoice(osv.osv):
|
|||
'account_id': pay_account_id,
|
||||
'partner_id': invoice.partner_id.id,
|
||||
'ref':invoice.number,
|
||||
'date': date,
|
||||
}
|
||||
|
||||
if not name:
|
||||
|
|
Loading…
Reference in New Issue