2cdebb37832267170d4ec2f54ef81617781e4e80
Steps to reproduce: - Install 'survey' module - Create a survey with 2 questions - Change the sequence of the questions - Edit the second question (last in the sequence) - Set it as conditional - Select first question as trigger (with any answer) - Duplicate the survey Issue: The triggering question is not set on the right question. Cause: When copying the survey, we map the old question to the new ones but there are by default sorted by order of creation and not by sequence and therefore the mapping is wrong. Solution: Order the questions and answers by sequence before mapping them. opw-3330476 closes odoo/odoo#127681 X-original-commit: 70f7e13c38acd07ea04324bc78e379dac6051e41 Signed-off-by: Nasreddin Boulif (bon) <bon@odoo.com>
…
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%