diff options
| author | Jason Van Malder <jvm@odoo.com> | 2019-12-18 13:34:18 +0000 |
|---|---|---|
| committer | Jason Van Malder <jvm@odoo.com> | 2019-12-19 15:26:16 +0000 |
| commit | 222fe36405720f1579562ec5f0bebf28ee93c6b1 (patch) | |
| tree | 61afe7f7fee68042e954cc529661c6a6bc8777dd /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | fb926fe883b0fa3a509799b173d4d9abbc7910ab (diff) | |
[FIX] mass_mailing: fix unsaved changes in source mode editor
Issue
- Install Email Marketing
- Create/Edit a template
- Switch into source mode
- Add things
- Save
Things not saved.
Cause
The widget override his parent `commitChanges` and don't take
source mode into account.
Solution
Take source mode into account like:
https://github.com/odoo/odoo/commit/e29c08969f6e7ad981e9b7b79027d84dc89fbca2#diff-59db103a74684967379b66a89695cfdeR102-R105
OPW-2151675
closes odoo/odoo#42193
X-original-commit: 14f55b8d95bbcaf2409342140ccad55a1cd1c2d7
Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
