Sample:
$item->setCustomPrice(10)
$item->setOriginalCustomPrice(10)
I would expect to see:
It seems that quote_item.custom_price is currently always stored in base currency which is then not converted during cart item output.
Best practice would be to have 4 columns for quote_item
_Stores - Currency - Currency Rates_

Magento 2 Database, _quote_item_ table custom_price set to 10

Storefront, 2 itmes added to Cart

Hi @borriglione. Thank you for your report.
To help us process this issue please make sure that you provided the following information:
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
@magento give me 2.4-develop instance - upcoming 2.4.x release
For more details, please, review the Magento Contributor Assistant documentation.
@borriglione do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
Hi @engcom-Bravo. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.[ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.
[ ] 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.
[ ] 4. Verify that the issue is reproducible on 2.4-develop branchDetails
- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
- If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and _stop verification process here_!
[ ] 5. Add label Issue: Confirmed once verification is complete.
[ ] 6. Make sure that automatic system confirms that report has been added to the backlog.
Hello @borriglione
Thank you for your report.
We are able to reproduce this behavior on Magento 2.4-develop, and we have added additional info to the description
Hi @borriglione
I think this issue is false case testing. relate to :
https://github.com/magento/magento2/issues/12493
Took me a while to figure out but vendor/magento/module-tax/Model/Sales/Total/Quote/CommonTaxCollector.php:692
$quoteItem->setCustomPrice($baseItemTaxDetails->getPrice());
should be:
$quoteItem->setCustomPrice($itemTaxDetails->getPrice());
Most helpful comment
Took me a while to figure out but vendor/magento/module-tax/Model/Sales/Total/Quote/CommonTaxCollector.php:692
$quoteItem->setCustomPrice($baseItemTaxDetails->getPrice());should be:
$quoteItem->setCustomPrice($itemTaxDetails->getPrice());