summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorlen-odoo <len@odoo.com>2018-07-17 10:39:41 +0200
committerlen-odoo <35492570+len-odoo@users.noreply.github.com>2018-07-18 16:35:38 +0200
commit79ee0e258454035b77c10d15d97624f4e6b5f875 (patch)
tree76cb8ee9ed27afe586e47f48cd553b25521d574d /addons/web/static/src
parent27c017ad98b4c9ac5fdcd28c9fd84d3690993118 (diff)
[FIX] web_editor: display a dialog if posting a translation fails
When editing a translation on the website, if the user copy/pastes directly in the web editor, then the html formatting is also copied. Since the translation matching takes the html code into account when matching the translations, this breaks the pairing. When trying to save, the backend function validating the new translation thus fails and return a server error. However nothing was done with this error, and the user just witnesses that saving doesn't work (unless he opens the console to notice the rpc failure). We now display an alert dialog that notifies which tranlation causes the error. opw 1862784
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions