Allow to modify cron xml record
This commit is contained in:
1 parent
ee2157a51d
commit
5f1e7d0e95
1 file changed
+3
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user