summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay (Open ERP) <jvo@tinyerp.com>2010-01-06 11:37:03 +0530
committerJay (Open ERP) <jvo@tinyerp.com>2010-01-06 11:37:03 +0530
commit710e5029acfa90edaaf424ebbbdc6cb2a6ba862c (patch)
treef0007374dca252a14afb7cbbb6d71e4a0ff0cf2b
parent0d8dcf48159c429f594e72e8630633bbc9c2823b (diff)
[FIX] Account : On Confirming the statement, Moves shoould have the bank statement line date
lp bug: https://launchpad.net/bugs/500062 fixed bzr revid: jvo@tinyerp.com-20100106060703-4w4nij246a37kxnu
-rw-r--r--addons/account/account_bank_statement.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/account/account_bank_statement.py b/addons/account/account_bank_statement.py
index e243bebf434..f725a5477ba 100644
--- a/addons/account/account_bank_statement.py
+++ b/addons/account/account_bank_statement.py
@@ -178,6 +178,7 @@ class account_bank_statement(osv.osv):
move_id = account_move_obj.create(cr, uid, {
'journal_id': st.journal_id.id,
'period_id': st.period_id.id,
+ 'date': move.date,
}, context=context)
account_bank_statement_line_obj.write(cr, uid, [move.id], {
'move_ids': [(4,move_id, False)]