[FIX] Call to the completion button

(lp:c2c-financial-addons/6.1 rev 24.1.37)
This commit is contained in:
Joël Grand-Guillaume
2012-06-26 16:42:13 +02:00
parent 49d8ba1c69
commit e6ec523f77

View File

@@ -200,7 +200,7 @@ class AccountStatementProfil(Model):
) )
# If user ask to launch completion at end of import, do it ! # If user ask to launch completion at end of import, do it !
if prof.launch_import_completion: if prof.launch_import_completion:
statement_obj.button_auto_completion(cursor, uid, statement_id, context) statement_obj.button_auto_completion(cursor, uid, [statement_id], context)
# Write the needed log infos on profile # Write the needed log infos on profile
self.write_logs_after_import(cursor, uid, prof.id, statement_id, self.write_logs_after_import(cursor, uid, prof.id, statement_id,