From b00b7a643499eba48a1c418ccb60dc0d2fea5702 Mon Sep 17 00:00:00 2001 From: Stephane Wirtel Date: Tue, 8 May 2012 17:49:42 +0200 Subject: [PATCH] [FIX] point_of_sale: Add the ean13 field in the frontend bzr revid: stw@openerp.com-20120508154942-sou5eycvhxd8st5w --- addons/point_of_sale/static/src/js/pos_models.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ec3d65b9dab..9833de9e679 100644 --- a/addons/point_of_sale/static/src/js/pos_models.js +++ b/addons/point_of_sale/static/src/js/pos_models.js @@ -77,7 +77,7 @@ function openerp_pos_models(module, instance){ //module is instance.point_of_sal var prod_def = fetch( 'product.product', - ['name', 'list_price', 'pos_categ_id', 'taxes_id','product_image_small'], + ['name', 'list_price', 'pos_categ_id', 'taxes_id','product_image_small', 'ean13'], [['pos_categ_id','!=', false]] ).then(function(result){ console.log('product_list:',result);