odoo/odoo#197104
Created by Discuss, Akash Parmar (akap)
Merged
at 622b5d9db23b47fed3238302ee88a99c3c0b976b
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- label
- odoo-dev:18.0-ensure-question-selection-has-answers-akap
- head
- 01ada84a4d0d656de8ccb717bb5b37caf3459fd7
- merged
- 8 months ago by Discuss, Matthieu Stockbauer (tsm)
| odoo/odoo | |
|---|---|
| 18.0 | #197104 |
| saas-18.1 | #198309 |
| saas-18.2 | #198691 |
| saas-18.3 | |
| saas-18.4 | |
| 19.0 | |
| master | #198707 |
[FIX] im_livechat: ensure 'question selection' step has answers
Current behavior before PR:
It was possible to save a step with step_type "question selection" without any answers. However, this would cause an error when the bot was executed.
Desired behavior after PR is merged:
A constraint has been added to ensure that a "question selection" step cannot be saved without at least one answer.
task-id:4522835
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr