91b306b5db31a6635dc599d499a5b5259aa6affa
Before this commit, the state of a question triggering fields could be inconsistent/corrupted: * If a question used as trigger for another question was deleted, `is_conditional` would stay `True` even as `triggering_question_id` would be `False`, which would eg. prevent saving the question edit form unless this is not manually fixed. * If an answer used as trigger was deleted, the triggered question would never show on a survey session, but still appear as "triggered" and causing the same trouble on form edition. In this commit, we * update `unlink` methods to remove the triggering fields on triggering question/answer deletion * add SQL constraint to ensure DB consistency (also improving the survey cloning/copying behavior robustness) * add a python test checking this Task-2623482 Part of odoo#78705 See odoo/upgrade#3613 Part-of: odoo/odoo#78705
…
…
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%