summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2017-09-14 13:28:18 +0200
committerXavier Morel <xmo@odoo.com>2017-09-14 15:38:22 +0200
commite3ae92e35c7f62ebfc1003f1e7f560a850ef8e5d (patch)
treeeea5ea02d8b713d19712778038914994c04db3de /addons/web/static/src/js/views/basic/basic_controller.js
parente1eb0c048ec4e8f4744cee3decd4b56ee7aef375 (diff)
[FIX] website_form_editor: don't duplicate email_to field
website_form_editor does not depend on project but apparently just assumes it's been installed and the form construction tour uses it to change the "action" selection to issues then (back to?) sending an email. This ends up triggering two additional "change" events on the email option, which adds a new email_to field every time, blocks the submission of the form (since they're all required and only one is filled) and breaks the tour. On "toggle_email_to", only add an email_to field if it's not already present.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions