diff options
| author | Yannick Tivisse <yti@odoo.com> | 2018-11-06 15:02:02 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-05-22 12:29:48 +0000 |
| commit | b9e5b243ac3855caa66193849e7467199e770fef (patch) | |
| tree | 9ed7be2435e76cb5bcbc111da7c3f7e697d7dabd /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 269d832b0d9fb4e14304125e2434ef1e93ffd858 (diff) | |
[IMP] sms: Don't overwrite default recipients on default_get
If the recipients are passed by setting 'default_recipients' on the context,
then don't overwrite the content with the method '_get_default_sms_recipients'.
For example, as an employee is a mail.thread, then the method '_get_default_sms_recipients'
exists on it. Calling this method will erase the content of the field 'recipients' that comes
from the default_recipients key in the context.
If we want to use this wizard on something else than a partner, we should avoid this
kind of overwrite.
Manual backport of fix done in 12.1 3c91ac425f74755fa0e79aa620b601d29a4be65b
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
