diff options
| author | Nasreddin (bon) <bon@odoo.com> | 2020-06-04 09:33:27 +0000 |
|---|---|---|
| committer | Nasreddin (bon) <bon@odoo.com> | 2020-06-04 15:41:02 +0000 |
| commit | 896b5bb8268abac94adfe4aad55e13e69337b478 (patch) | |
| tree | 98f0313e6da012549fc0936bde8e7e9dc607e4b3 /addons/web/static/src/js/control_panel/search_utils.js | |
| parent | 842497e8b82db006b6a61013495e4b799124555b (diff) | |
[FIX] mass_mailing_sms: Handle same sms_code in multiple traces
Issue
- Go to unsubsribe sms page where the 'sms_code' is the same
in multiple traces
- Fill the correct phone number (same one of any traces)
- Click on 'Unsubscribe me'
Traceback is raised.
Also, if empty phone number, still have successfull message.
Cause
Multiple traces with same "sms_code" but different "sms_number".
The current behavior does not handle multiple traces.
Solution
- Filter and retrieve the trace with the correct "sms_number".
- Add 'required' attribute on phone number input.
opw-2264200
closes odoo/odoo#52452
X-original-commit: 34a8f63332e8269c2dbf5fa2b3ca16913798532c
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Signed-off-by: bon-odoo <nboulif@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/control_panel/search_utils.js')
0 files changed, 0 insertions, 0 deletions
