[IMP] Account : bank statement=> move name as per statement name
authorMustufa Rangwala <mra@mra-laptop>
Sat, 28 Aug 2010 06:07:25 +0000 (11:37 +0530)
committerMustufa Rangwala <mra@mra-laptop>
Sat, 28 Aug 2010 06:07:25 +0000 (11:37 +0530)
bzr revid: mra@mra-laptop-20100828060725-n2kqkk60w5r7qg42

addons/account/account_bank_statement.py

index b1c84f0..32403f6 100644 (file)
@@ -399,7 +399,7 @@ class account_bank_statement(osv.osv):
                             account_move_line_obj.reconcile(cr, uid, torec, 'statement', writeoff_acc_id=writeoff_acc_id, writeoff_period_id=st.period_id.id, writeoff_journal_id=st.journal_id.id, context=context)
                     else:
                         account_move_line_obj.reconcile_partial(cr, uid, torec, 'statement', context)
-                move_name = next_number + '/' + str(move.sequence)
+                move_name = next_number + ' - ' + str(move.sequence)
                 account_move_obj.write(cr, uid, [move_id], {'name': move_name, 'state': 'posted'}) # Bank statements will not consider boolean on journal entry_posted
 
             self.log(cr, uid, st.id, 'Statement %s is confirmed and entries are created.' % st.name)