About ByPercent.php under different currencies
I found since magento 1.7 to 2.0 ,the logic is the same for ByPercent shopping cart rule for $discountData->setBaseOriginalAmount(($qty * $baseItemOriginalPrice - $item->getDiscountAmount()) * $_rulePct); The problem exists for mutli currencies: If quote currency is different with web currency,and there is already one shopping cart price rule applied before for the item in the shopping cart,then the $item->getDiscountAmount() would be the discount value under the quote currency,while $baseItemOriginalPrice is web currency ,so it would be wrong for this substract logic.
@tmp2000, thank you for reporting this issue to us! We created the ticket in the backlog and will have the person responsible for the area take a look at it. We will get back to you once we complete the analysis.
Ticket: MAGETWO-25084
@tmp2000, fix will be delivered with next publication. Thank you for your contribution.
This issue is fixed and available in 0.42.0-beta5.