Browse Source

[FIX] Rounding problem when partner is selected afterwards

pull/88/head
Stefan Rijnhart 9 years ago
parent
commit
2acab74bcb
  1. 3
      pos_pricelist/static/src/js/models.js

3
pos_pricelist/static/src/js/models.js

@ -621,9 +621,8 @@ function pos_pricelist_models(instance, module) {
db, product, partner, quantity db, product, partner, quantity
); );
if (price !== false) { if (price !== false) {
line.price = price;
line.set_unit_price(price);
} }
line.trigger('change', line);
} }
} }
}); });

Loading…
Cancel
Save