Skip to content

Commit 5843140

Browse files
authored
Merge pull request magento#5680 from magento-arcticfoxes/B2B-563
[arcticfoxes] B2B-563: Currency Conversion is showing wrongly in multi website while converting PO to Regular Order
2 parents 5a09115 + f48140d commit 5843140

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Tax/Model/Sales/Total/Quote/CommonTaxCollector.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ public function updateItemTaxInfo($quoteItem, $itemTaxDetails, $baseItemTaxDetai
695695
//The price should be base price
696696
$quoteItem->setPrice($baseItemTaxDetails->getPrice());
697697
if ($quoteItem->getCustomPrice() && $this->taxHelper->applyTaxOnCustomPrice()) {
698-
$quoteItem->setCustomPrice($baseItemTaxDetails->getPrice());
698+
$quoteItem->setCustomPrice($itemTaxDetails->getPrice());
699699
}
700700
$quoteItem->setConvertedPrice($itemTaxDetails->getPrice());
701701
$quoteItem->setPriceInclTax($itemTaxDetails->getPriceInclTax());

0 commit comments

Comments
 (0)