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:
@@ -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'}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user