diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2017-09-08 14:21:18 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2017-09-11 13:27:23 +0200 |
| commit | 7d72a72905ce9e13b7be4239aa67eece9140dcb8 (patch) | |
| tree | 5489bbd38722f8e5d712bc343da6bf173c723baa /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 7d7e94c6ef4257dc0c2a7fed7bd7d40ed914a50a (diff) | |
[FIX] calendar, web_calendar: change date
- Change the date of an event through the form view
=> a mail is sent to the attendees.
- Change the date of an event thanks to the drag and drop of an event
=> the mail is not sent.
It is necessary to introduce a context key in the write call so we can
make the distinction between the write triggered from the drag and drop
and the write triggered by a recomputation of fields. Indeed, when the
form view is used to change the date, `write` is called several times.
We should avoid sending the same email each time.
opw-766295
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
