Default value for with_on_change parameter must be True.

This commit is contained in:
Albert Cervera i Areny 2014-06-10 07:20:40 +02:00
parent b0cb5654c1
commit b782373814
1 changed files with 1 additions and 1 deletions

View File

@ -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)