From fe895af798305540886f7e5425fd8bbb4545f364 Mon Sep 17 00:00:00 2001 From: Vincent Renaville Date: Fri, 23 Aug 2013 08:43:12 +0200 Subject: [PATCH] [FIX] add date of payment line instead of taking current date by default --- statement_voucher_killer/voucher.py | 1 + 1 file changed, 1 insertion(+) diff --git a/statement_voucher_killer/voucher.py b/statement_voucher_killer/voucher.py index b35f8159..9b25e9da 100644 --- a/statement_voucher_killer/voucher.py +++ b/statement_voucher_killer/voucher.py @@ -122,6 +122,7 @@ class AccountPaymentPopulateStatement(orm.TransientModel): 'account_id': line.move_line_id.account_id.id, 'statement_id': statement.id, 'ref': line.communication, + 'date': line.date, }, context=context) line_obj.write(cr, uid, [line.id], {'bank_statement_line_id': st_line_id})