diff options
| author | Yannick Tivisse <yti@odoo.com> | 2018-11-06 15:02:02 +0000 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2018-11-06 15:18:06 +0000 |
| commit | 3c91ac425f74755fa0e79aa620b601d29a4be65b (patch) | |
| tree | 159d03c9e078b0736a536322f24ae1099d381496 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | c0c72f027d33ac44c1cd65781e683af7e8736311 (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.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
