Skip to content
Snippets Groups Projects
Commit 2656b855 authored by Thibault Delavallée's avatar Thibault Delavallée
Browse files

[FIX] base: remove duplicate call to cron.run

Oversight of conflict solving in forward port 9d1909f2
parent 43718d06
Branches
Tags
No related merge requests found
......@@ -80,7 +80,6 @@ class ir_cron(models.Model):
def method_direct_trigger(self):
self.check_access_rights('write')
for cron in self:
cron.with_user(cron.user_id).ir_actions_server_id.run()
cron.with_user(cron.user_id).with_context(lastcall=cron.lastcall).ir_actions_server_id.run()
cron.lastcall = fields.Datetime.now()
return True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment