From 5f1e7d0e9599e246aa6d549d3979accb29e54318 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 1 Oct 2008 12:24:03 +0200 Subject: [PATCH] Allow to modify cron xml record --- trytond/ir/cron.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/trytond/ir/cron.py b/trytond/ir/cron.py index ed61297af3..5d7092bcc6 100644 --- a/trytond/ir/cron.py +++ b/trytond/ir/cron.py @@ -93,6 +93,9 @@ class Cron(OSV): def default_running(self, cursor, user, context=None): return False + def check_xml_record(self, cursor, user, ids, values, context=None): + return True + def _callback(self, cursor, user, job_id, model, func, args): args = (args or []) and eval(args) obj = self.pool.get(model)