[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
This commit is contained in:
Jay (Open ERP)
2010-01-06 11:37:03 +05:30
parent 0d8dcf4815
commit 710e5029ac
+1
View File
@@ -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)]