From e4328c611fd2f48dbbc353827e3c35c078783c7b Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Thu, 25 Jun 2009 15:34:42 +0200 Subject: [PATCH] =?UTF-8?q?[FIX]=20account:=20create=20move=20lines=20with?= =?UTF-8?q?=20date=20provide=20in=20wizard=20(bug=20reported=20by=20Alexis?= =?UTF-8?q?=20Dem=C3=A9aulte)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bzr revid: christophe@tinyerp.com-20090625133442-4vum4hmcw1qd7xzv --- addons/account/invoice.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/account/invoice.py b/addons/account/invoice.py index 027079e05e3..37a73adfea4 100644 --- a/addons/account/invoice.py +++ b/addons/account/invoice.py @@ -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: