Skip to content

Commit c953808

Browse files
authored
Merge pull request #1 from existanze/master
Extending the version number, not much has been changed from V10 to V12
2 parents e4199ad + 18871d1 commit c953808

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
@@ -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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@ 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(
154-
"Only Odoo Version from v8.x to 10.x are maintained. " + "Please choose another version of the library");
154+
"Only Odoo Version from v8.x to 12.x are maintained. " + "Please choose another version of the library");
155155
}
156156

157157
}

0 commit comments

Comments
 (0)