Default value for with_on_change parameter must be True.
This commit is contained in:
parent
b0cb5654c1
commit
b782373814
2
cron.py
2
cron.py
|
@ -38,7 +38,7 @@ class Cron:
|
|||
return super(Cron, cls).create(vlist)
|
||||
|
||||
@classmethod
|
||||
def default_get(cls, fields, with_rec_name=True, with_on_change=False):
|
||||
def default_get(cls, fields, with_rec_name=True, with_on_change=True):
|
||||
User = Pool().get('res.user')
|
||||
res = super(Cron, cls).default_get(fields, with_rec_name,
|
||||
with_on_change)
|
||||
|
|
Loading…
Reference in New Issue