commit
2f2fcd23bd
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue