Skip to content

Commit dfaaf69

Browse files
committed
[IMP] add compatibility to odoo v15
1 parent c213a5f commit dfaaf69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/odoojava/api/Session.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ public void startSession() throws Exception {
183183

184184
private void checkVersionCompatibility() throws XmlRpcException, OdooApiException {
185185

186-
if (this.getServerVersion().getMajor() < 8 || this.getServerVersion().getMajor() > 14) {
187-
throw new OdooApiException("Only Odoo Version from v8.x to 14.x are maintained. "
186+
if (this.getServerVersion().getMajor() < 8 || this.getServerVersion().getMajor() > 15) {
187+
throw new OdooApiException("Only Odoo Version from v8.x to 15.x are maintained. "
188188
+ "Please choose another version of the library");
189189
}
190190

0 commit comments

Comments
 (0)