From 2f52eb48d74fb960bf500ab58916d6ff6328fd94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 8 Apr 2008 13:17:22 +0200 Subject: [PATCH] Fix param for clear_cache --- trytond/workflow/workflow.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trytond/workflow/workflow.py b/trytond/workflow/workflow.py index edd38bdc3d..02fcb38f07 100644 --- a/trytond/workflow/workflow.py +++ b/trytond/workflow/workflow.py @@ -23,13 +23,13 @@ class Workflow(OSV): def write(self, cursor, user, ids, vals, context=None): wf_service = LocalService("workflow") - wf_service.clear_cache(cursor, user) + wf_service.clear_cache(cursor) return super(Workflow, self).write(cursor, user, ids, vals, context=context) def create(self, cursor, user, vals, context=None): wf_service = LocalService("workflow") - wf_service.clear_cache(cursor, user) + wf_service.clear_cache(cursor) return super(Workflow, self).create(cursor, user, vals, context=context)