summaryrefslogtreecommitdiff
path: root/addons/base_module_record
diff options
context:
space:
mode:
authorStephane Wirtel <stephane@tinyerp.com>2009-01-06 01:45:31 +0100
committerStephane Wirtel <stephane@tinyerp.com>2009-01-06 01:45:31 +0100
commita2aa6d31df3946163d9e34ee3cbddde742790ee4 (patch)
tree60fae58bbaa0762a99ae11ece80e68a2b70a36b8 /addons/base_module_record
parent0ceda3985fa1b3c3bcfa7cc86e3a5a1ebcd9828c (diff)
[REF] Use the netsvc.SERVICES instead of netsvc._service
bzr revid: stephane@tinyerp.com-20090106004531-tj1cmvbev0em9egl
Diffstat (limited to 'addons/base_module_record')
-rw-r--r--addons/base_module_record/base_module_record.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/base_module_record/base_module_record.py b/addons/base_module_record/base_module_record.py
index caba2756f20..fa9c8a6b51f 100644
--- a/addons/base_module_record/base_module_record.py
+++ b/addons/base_module_record/base_module_record.py
@@ -71,7 +71,7 @@ class base_module_record(osv.osv):
self.recording_data = []
self.depends = {}
if not installed:
- obj = netsvc._service['object']
+ obj = netsvc.SERVICES['object']
obj.execute = fnct_call(obj.execute)
obj.exportMethod(obj.execute)
obj.exec_workflow = fnct_call_workflow(obj.exec_workflow)