diff options
| author | fja-odoo <fja@odoo.com> | 2019-07-25 11:42:56 +0000 |
|---|---|---|
| committer | fja-odoo <fja@odoo.com> | 2019-07-30 16:01:20 +0000 |
| commit | 5ac167a85bde69460f8729bd4af3b249d05849fd (patch) | |
| tree | f74408784d850406104033e178d97cf9456628e9 /odoo/addons/test_new_api/static | |
| parent | 09681e566013433157fd96818ed7b767a14ef758 (diff) | |
[IMP] web: revert warnings display in back-end
Fix for: https://github.com/odoo/odoo/pull/32132
We had changed the display of the warnings in the back-end to be like the
front-end (notification toast). This change needs to be reverted. Now
the warnings in the front-end are toast notifications and in the
back-end they are Warning modals.
Part of: https://github.com/odoo/odoo/pull/35209
Diffstat (limited to 'odoo/addons/test_new_api/static')
| -rw-r--r-- | odoo/addons/test_new_api/static/tests/tours/constraint.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/addons/test_new_api/static/tests/tours/constraint.js b/odoo/addons/test_new_api/static/tests/tours/constraint.js index 0ef3ba54b77..db08fe178c4 100644 --- a/odoo/addons/test_new_api/static/tests/tours/constraint.js +++ b/odoo/addons/test_new_api/static/tests/tours/constraint.js @@ -27,7 +27,7 @@ odoo.define('web.test.constraint', function (require) { trigger: 'button.o_form_button_save', }, { // check popup content content: "check notification box", - trigger: '.o_notification_content:contains(The color code must be positive !)', + trigger: '.o_dialog_warning pre:contains(The color code must be positive !)', run: function () {}, // it's a check }]); }); |
