Do not instantiate record with default for the form of the wizard view
The default values are already set using the defaults of the wizard view. Closes #13723
This commit is contained in:
@@ -1251,7 +1251,7 @@ class Wizard(object):
|
||||
if 'view' in result:
|
||||
view = result['view']
|
||||
self.form = Model.get(
|
||||
view['fields_view']['model'], self._config)()
|
||||
view['fields_view']['model'], self._config)(_default=False)
|
||||
if 'defaults' in view:
|
||||
self.form._default_set(view['defaults'])
|
||||
if 'values' in view:
|
||||
|
||||
Reference in New Issue
Block a user