[FIX] Use the right object in the super call
authorStephane Wirtel <stephane@openerp.com>
Fri, 2 Apr 2010 17:04:10 +0000 (19:04 +0200)
committerStephane Wirtel <stephane@openerp.com>
Fri, 2 Apr 2010 17:04:10 +0000 (19:04 +0200)
bzr revid: stephane@openerp.com-20100402170410-wpvqn8a35stp9e7w

addons/audittrail/audittrail.py

index 5ace098..a03de7e 100644 (file)
@@ -320,7 +320,7 @@ class audittrail_objects_proxy(objects_proxy):
             logged_uids = []
             model_name = proxy._name
 
-            fct_src = super(audittrail_models_proxy, self).execute
+            fct_src = super(audittrail_objects_proxy, self).execute
 
             field = method
             rule = False