[IMP] *: update notifications to optional title

closes odoo/odoo#52826

Related: odoo/enterprise#11084
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
This commit is contained in:
Julien Mougenot
2020-06-12 09:01:50 +00:00
parent d093fd4236
commit c4786fccfd
43 changed files with 81 additions and 80 deletions
@@ -7236,7 +7236,10 @@ QUnit.module('basic_fields', {
call_service: function (ev) {
if (ev.data.service === 'notification') {
assert.strictEqual(ev.data.method, 'notify');
assert.strictEqual(ev.data.args[0].title, 'Wrong value entered!');
assert.strictEqual(
ev.data.args[0].message,
"Please enter a numerical value"
);
}
}
},