Browse Source

Merge pull request #19 from ah-taktik/8.0-fix-omited-instruction

[FIX] : Fix omitted instruction on taxes_ids
pull/21/head
Pedro M. Baeza 10 years ago
parent
commit
054a316f33
  1. 2
      pos_pricelist/static/src/js/models.js

2
pos_pricelist/static/src/js/models.js

@ -189,7 +189,7 @@ function pos_pricelist_models(instance, module) {
}
}
if (product_taxes.length === 0) {
for (var i = 0, ilen = product.taxes_id; i < ilen; i++) {
for (var i = 0, ilen = product.taxes_id.length; i < ilen; i++) {
var _id = product.taxes_id[i];
var p_tax = _.detect(this.pos.taxes, function (t) {
return t.id === _id;

Loading…
Cancel
Save