owl-cli 6.190.0 → 6.191.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -45,8 +45,8 @@ function main(modelService,spec){
45
45
  var recordList = ret.rows.map(function(row){
46
46
  var record = {};
47
47
  titleList.forEach(function(title){
48
- var field = title.field;
49
- var value = modelService.getValue(field,row);
48
+ var field = title.fieldKey|| title.field
49
+ var value = modelService.getValue(title.field,row);
50
50
  if(title.type==="date"){
51
51
  if(value){
52
52
  var ts = new Date(value).getTime();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "owl-cli",
3
- "version": "6.190.0",
3
+ "version": "6.191.0",
4
4
  "main": "index.js",
5
5
  "preferGlobal": true,
6
6
  "bin": {