[FIX] survey: fix incorrect behavior while retaking the test survey
Before this commit, while retaking a survey with 'Retry' button, the test mode was not retained leading to unexpected behavior. This commit fixes the issue by populating required parameters while retrying the survey that ensures proper behavior for both test and non-test entries. Task ID 2170720 Closes #43806 closes odoo/odoo#44187 X-original-commit: 65d77b7101acf63fb4316187b5fd94b050b945c3 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
committed by
Thibault Delavallée
parent
6e1121c30d
commit
d628ec05ed
@@ -208,6 +208,7 @@ class Survey(http.Controller):
|
||||
partner=answer_sudo.partner_id,
|
||||
email=answer_sudo.email,
|
||||
invite_token=answer_sudo.invite_token,
|
||||
test_entry=answer_sudo.test_entry,
|
||||
**self._prepare_retry_additional_values(answer_sudo)
|
||||
)
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user