|
|
@ -500,6 +500,9 @@ function pos_pricelist_models(instance, module) { |
|
|
|
.hasOwnProperty(price_type.field)) { |
|
|
|
price = |
|
|
|
db.product_by_id[product.id][price_type.field]; |
|
|
|
if(price_type.field === 'list_price' && product.price_extra){ |
|
|
|
price += product.price_extra; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if (price !== false) { |
|
|
@ -649,7 +652,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' |
|
|
|
'categ_id', 'seller_ids', 'price_extra' |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|