Skip to content

Commit 2888b01

Browse files
authored
Merge pull request #22 from saxomanu/master
[IMP] add compatibility to odoo v15
2 parents c213a5f + 96c1826 commit 2888b01

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.odoojava</groupId>
77
<artifactId>odoo-java-api</artifactId>
8-
<version>3.1.8</version>
8+
<version>3.2.0</version>
99
<packaging>jar</packaging>
1010

1111
<name>odoo-java-api</name>

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)