[MERGE] forward port of branch 8.0 up to 2b192be
[odoo/odoo.git] / addons / point_of_sale / static / src / js / models.js
index a0e0243..0ac9ebe 100644 (file)
@@ -1060,7 +1060,7 @@ function openerp_pos_models(instance, module){ //module is instance.point_of_sal
             
             for(var id in details){
                 if(details.hasOwnProperty(id)){
-                    fulldetails.push({amount: details[id], tax: taxes_by_id[id]});
+                    fulldetails.push({amount: details[id], tax: taxes_by_id[id], name: taxes_by_id[id].name});
                 }
             }