Allow to modify cron xml record

This commit is contained in:
Cédric Krier committed 2008-10-01 12:24:03 +02:00
1 parent ee2157a51d
commit 5f1e7d0e95
1 file changed
+3
+3
View File
@@ -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)