Browse Source

Merge branch '9.0' into 9.0

pull/19/head
Houssine BAKKALI 7 years ago
committed by GitHub
parent
commit
992134ca4d
  1. 1
      pos_price_to_weight/static/src/js/models.js

1
pos_price_to_weight/static/src/js/models.js

@ -41,6 +41,7 @@ odoo.define('pos_price_to_weight.models', function (require) {
if (price !== 0 && product.price !== 0){
// replace the initial line cause this only work for price with
// vat include in the price in the pos.
quantity = price / product.total_with_vat;
}
selectedOrder.add_product(product, {quantity: quantity, merge: false});

Loading…
Cancel
Save