We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3d4367c + d48d23e commit c784845Copy full SHA for c784845
1 file changed
src/main/java/com/odoojava/api/ReportAdapter.java
@@ -116,9 +116,12 @@ public String getReportModel() {
116
}
117
118
public String getReportMethod() {
119
- reportMethod = "render";
+ /**
120
+ * Default value of the method for v11
121
+ */
122
+ reportMethod = "render";
123
if (this.serverVersion.getMajor() < 11) {
- reportModel = "render_report";
124
+ reportMethod = "render_report";
125
126
return reportMethod;
127
0 commit comments