robert2206 8 лет назад
Родитель
Сommit
ea02cde813
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      static/src/js/krazy_report.js

+ 2 - 0
static/src/js/krazy_report.js

@@ -13,6 +13,8 @@ openerp.krazy_report = function (instance, local) {
             var self = this;
 
             model.query().all().then(function (results) {
+                console.log(results);
+
                 pdfDoc.autoTable(self.columns, _.map(results, function (item) {
                     return _.values(_.pick(item, 'id', 'name', 'email'));
                 }), {