Skip to content

Commit c213a5f

Browse files
authored
Merge pull request #16 from odoo-java/v14-migration-adn-tests
add return statement
2 parents 0d63503 + 8244d78 commit c213a5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ public Object[] importData(String objectName, String[] fieldList, Object[][] row
185185
new Object[] { fieldList, rows, "init", "", false, session.getContext() });
186186
} else {
187187
System.out.println("importData is a legacy method for odoo version <= 9");
188+
return new Object[]{};
188189
}
189190
}
190191

0 commit comments

Comments
 (0)