summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2017-05-04 13:27:31 +0200
committerChristophe Matthieu <chm@odoo.com>2017-05-15 10:06:58 +0200
commit1c5ea99b7b82c2b6f28ad1a3dbffc1300fda6466 (patch)
tree806510fb1b7d26eae453ef1598253b7373f06b2a /addons/web/static/src/xml/base.xml
parentb57283619c4d1a711b2b071b9ec9c7008807a931 (diff)
[FIX] web: display a translation alert when saving the form view
In the form view, when the user saves a record (with a multilang instance), an alert is displayed to display all modified translatable fields.
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index 96a0b809441..b9b7caeea7d 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1219,7 +1219,7 @@
</t>
<t t-name="notification-box">
- <div t-att-class="'alert alert-dismissible alert-' + type" role="alert">
+ <div t-attf-class="o_notification_box alert alert-dismissible alert-{{type}}" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true" class="fa fa-times"></span>
</button>