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
This commit is contained in:
Rifakat
2012-05-03 18:26:34 +05:30
parent 64bbf7eefb
commit 80daf3679b
@@ -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'}