Deprecated args when create a cron

This commit is contained in:
Raimon Esteve 2020-10-23 13:46:35 +02:00
parent 6e016b431f
commit 735569aa02
1 changed files with 0 additions and 7 deletions

View File

@ -20,13 +20,6 @@ class Cron(metaclass=PoolMeta):
('babi.report.execution|clean', 'Clean Babi Excutions'),
])
@classmethod
def create(cls, vlist):
for vals in vlist:
if 'babi_report' in vals:
vals['args'] = '(%s,)' % vals['babi_report']
return super(Cron, cls).create(vlist)
@classmethod
def default_get(cls, fields, with_rec_name=True):
User = Pool().get('res.user')