Browse Source

Return the method's result.

pull/81/head
Jairo Llopis 10 years ago
parent
commit
400e245c96
  1. 2
      cron_run_manually/ir_cron.py

2
cron_run_manually/ir_cron.py

@ -64,4 +64,4 @@ class Cron(models.Model):
method = getattr(self.sudo(self.user_id).env[self.model], method = getattr(self.sudo(self.user_id).env[self.model],
self.function) self.function)
args = safe_eval('tuple(%s)' % (self.args or '')) args = safe_eval('tuple(%s)' % (self.args or ''))
method(*args)
return method(*args)
Loading…
Cancel
Save