From b6fd7fdf8a9881cd8bd5049a4e4f7cf4c98afc85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 1 Dec 2024 23:48:17 +0100 Subject: [PATCH] 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 --- proteus/proteus/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proteus/proteus/__init__.py b/proteus/proteus/__init__.py index f390b0dc66..c61734de80 100644 --- a/proteus/proteus/__init__.py +++ b/proteus/proteus/__init__.py @@ -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: