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 13:28:18 +0200
commitc216ccda98d57ee6588cccd4c0ff3cb4074a43b8 (patch)
treee22e268728eae2984aa49ace43793839cb2da6b5 /addons/web/static/src/js/views/basic/basic_controller.js
parent1085fdd8becf308ab8ac166dcc0e04eb6873eff8 (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