From 80daf3679bcdc593f8323cd814949b2e84f03e18 Mon Sep 17 00:00:00 2001 From: Rifakat Date: Thu, 3 May 2012 18:26:34 +0530 Subject: [PATCH] account_voucher: Used bank's statement date into stataement line date when importing invoices through Import Invocies button bzr revid: rha@tinyerp.com-20120503125634-f172kky9g2d4mvyt --- addons/account_voucher/wizard/account_statement_from_invoice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account_voucher/wizard/account_statement_from_invoice.py b/addons/account_voucher/wizard/account_statement_from_invoice.py index 1b921e0ccf4..2fb6673d652 100644 --- a/addons/account_voucher/wizard/account_statement_from_invoice.py +++ b/addons/account_voucher/wizard/account_statement_from_invoice.py @@ -112,7 +112,7 @@ class account_statement_from_invoice_lines(osv.osv_memory): 'statement_id': statement_id, 'ref': line.ref, 'voucher_id': voucher_id, - 'date': time.strftime('%Y-%m-%d'), #time.strftime('%Y-%m-%d'), #line.date_maturity or, + 'date': statement.date, }, context=context) return {'type': 'ir.actions.act_window_close'}