From edd2071b85e59f056f4035172549fd8d4d1d74c6 Mon Sep 17 00:00:00 2001 From: Juan Carlos Montoya Date: Mon, 14 Sep 2015 09:37:49 +0200 Subject: [PATCH] Update models.js --- pos_pricelist/static/src/js/models.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pos_pricelist/static/src/js/models.js b/pos_pricelist/static/src/js/models.js index d1c0c39f..4aa54d71 100644 --- a/pos_pricelist/static/src/js/models.js +++ b/pos_pricelist/static/src/js/models.js @@ -513,11 +513,6 @@ function pos_pricelist_models(instance, module) { } break; } - //default price_extra is not included (product variants) - if(product['price_extra'] > 0.0){ - price += product['price_extra'] - } - return price }, /** @@ -639,7 +634,7 @@ function pos_pricelist_models(instance, module) { if (_.size(product_model) == 1) { var product_index = parseInt(Object.keys(product_model)[0]); pos_model.models[product_index].fields.push( - 'categ_id', 'seller_ids', 'price_extra' + 'categ_id', 'seller_ids' ); }