From 2227cfc68dfdf8f32c81b794fd89a0e296e43966 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20van=20der=20Essen?= Date: Mon, 7 May 2012 16:18:57 +0200 Subject: [PATCH] debug logs bzr revid: fva@openerp.com-20120507141857-1t3fv90kw9v4b7bn --- addons/point_of_sale/static/src/js/pos_models.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/addons/point_of_sale/static/src/js/pos_models.js b/addons/point_of_sale/static/src/js/pos_models.js index b572172347b..1ea09b5d858 100644 --- a/addons/point_of_sale/static/src/js/pos_models.js +++ b/addons/point_of_sale/static/src/js/pos_models.js @@ -81,6 +81,7 @@ function openerp_pos_models(module, instance){ //module is instance.point_of_sal ['name', 'list_price', 'pos_categ_id', 'taxes_id','product_image_small'], [['pos_categ_id','!=', false]] ).then(function(result){ + console.log('product_list:',result); return self.set({'product_list': result}); }); @@ -89,11 +90,13 @@ function openerp_pos_models(module, instance){ //module is instance.point_of_sal ['account_id', 'currency', 'journal_id', 'state', 'name'], [['state','=','open'], ['user_id', '=', this.session.uid]] ).then(function(result){ + console.log('bank_statements:',result); return self.set({'bank_statements': result}); }); var tax_def = fetch('account.tax', ['amount','price_include','type']) .then(function(result){ + console.log('taxes:',result); return self.set({'taxes': result}); });