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:
1 parent
e2ee8f5b13
commit
b6fd7fdf8a
1 file changed
+1
-1
@@ -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