bzr revid: fp@tinyerp.com-20090107070233-h9zjotrhjz6imn8o
This commit is contained in:
Fabien Pinckaers 2009-01-07 08:02:33 +01:00
commit 2f2fcd23bd
2 changed files with 2 additions and 2 deletions

View File

@ -341,7 +341,7 @@ def tmp_fct(fct_src):
return res
return execute
obj = netsvc._service['object']
obj = netsvc.SERVICES['object']
obj.execute = tmp_fct(obj.execute)
obj.exportMethod(obj.execute)

View File

@ -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)