[MIGR] Module account_statement_base_completion

This commit is contained in:
Joel Grand-Guillaume
2012-12-18 21:22:52 +01:00
parent ed6a7cf512
commit 64c68c7b05
2 changed files with 8 additions and 9 deletions

View File

@@ -353,8 +353,7 @@ class AccountBankSatement(Model):
+ "\n" + error_log + "-------------" + "\n"]
log = "\n".join(log_line)
self.write(cr, uid, [stat_id], {'completion_logs' : log}, context=context)
logger.notifyChannel('Bank Statement Completion', netsvc.LOG_INFO,
"Bank Statement ID %s has %s lines completed"%(stat_id, number_imported))
self.message_post(cr, uid, [stat_id], body=_('Statement %s auto-completed for %s lines completed') % (st_number,number_imported), context=context)
return True
def button_auto_completion(self, cr, uid, ids, context=None):