Fix param for clear_cache

This commit is contained in:
Cédric Krier committed 2008-04-08 13:17:22 +02:00
1 parent 4c71d4bbd4
commit 2f52eb48d7
1 file changed
+2 -2
+2 -2
View File
@@ -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)