Skip to content

Commit f32012f

Browse files
committed
[IMP] outlook/gmail: update warning message
Task-5379550
1 parent 026e3cd commit f32012f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

gmail/src/views/login.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ function onNextLogin(event) {
2424
const version = getSupportedAddinVersion(validatedUrl);
2525

2626
if (!version) {
27-
return notify("Could not connect to your database.");
27+
return notify(
28+
"Could not connect to your database. Make sure the module is installed in Odoo (Settings > General Settings > Integrations > Mail Plugins)",
29+
);
2830
}
2931

3032
if (version !== 1) {
3133
return notify(
32-
"This addin version required Odoo 19.1 or an older version, please install a newer addin version.",
34+
"Oops, this addin is no longer compatible with your version of Odoo. Please install a newer version.",
3335
);
3436
}
3537

outlook/src/taskpane/components/Login/Login.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ class Login extends React.Component<{}, LoginState> {
298298
[AuthenticationRequestError.AuthenticationCodeExpired]:
299299
'Your authentication code is invalid or has expired. ',
300300
[AuthenticationRequestError.InvalidOdooVersion]:
301-
'This addin version required Odoo 19.1 or an older version, please install a newer addin version.',
301+
'Oops, this addin is no longer compatible with your version of Odoo. Please install a newer version. ',
302302
};
303303

304304
const errorStr = ERROR_MESSAGES[this.state.authenticationRequestError];

0 commit comments

Comments
 (0)