Merge pull request #17399 from atm-jpb/fix_variant_default_vat_code

fix the productCombination class on updatePrice
This commit is contained in:
Laurent Destailleur
2021-04-26 21:01:06 +02:00
committed by GitHub

View File

@@ -534,7 +534,7 @@ class ProductCombination
$new_price += $variation_price;
}
$child->updatePrice($new_price, $new_type, $user, $new_vat, $new_min_price, $i, $new_npr, $new_psq);
$child->updatePrice($new_price, $new_type, $user, $new_vat, $new_min_price, $i, $new_npr, $new_psq, 0, array(), $parent->default_vat_code);
}
}
} else {