From fd87627ef0d2b5978ade146798b2577efcd30ea1 Mon Sep 17 00:00:00 2001 From: Bertrand Chenal Date: Tue, 20 May 2008 22:29:51 +0200 Subject: [PATCH] Fix call to trg_write --- trytond/tools/convert.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/trytond/tools/convert.py b/trytond/tools/convert.py index a181836c0a..035651faa0 100644 --- a/trytond/tools/convert.py +++ b/trytond/tools/convert.py @@ -667,8 +667,7 @@ def post_import(cursor, module, to_delete): "WHERE act_to = %s", (db_id, db_id)) # ... and force the record to follow them: for wkf_model,wkf_model_id in wkf_todo: - wf_service = netsvc.LocalService("workflow") - wf_service.trg_write(uid, model, id, cr) + wf_service.trg_write(user, wkf_model, wkf_model_id, cursor) # Collect the ids of these transition in model_data cursor.execute(