Skip to content

Commit 06516a4

Browse files
committed
Extending the version number, not much has been changed from V10 to V12
1 parent e4199ad commit 06516a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

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

55
<groupId>com.odoojava</groupId>
66
<artifactId>odoo-java-api</artifactId>
7-
<version>3.0.1</version>
7+
<version>3.0.2</version>
88
<packaging>jar</packaging>
99

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

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public void startSession() throws Exception {
149149

150150
private void checkVersionCompatibility() throws XmlRpcException, OdooApiException {
151151

152-
if (this.getServerVersion().getMajor() < 8 || this.getServerVersion().getMajor() > 10 ) {
152+
if (this.getServerVersion().getMajor() < 8 || this.getServerVersion().getMajor() > 12 ) {
153153
throw new OdooApiException(
154154
"Only Odoo Version from v8.x to 10.x are maintained. " + "Please choose another version of the library");
155155
}

0 commit comments

Comments
 (0)