diff --git a/addons/pos_stripe/models/pos_payment_method.py b/addons/pos_stripe/models/pos_payment_method.py index 45b0f886e8d..929bc4eeb22 100644 --- a/addons/pos_stripe/models/pos_payment_method.py +++ b/addons/pos_stripe/models/pos_payment_method.py @@ -65,7 +65,7 @@ class PosPaymentMethod(models.Model): def _stripe_calculate_amount(self, amount): currency = self.journal_id.currency_id or self.company_id.currency_id - return int(amount/currency.rounding) + return round(amount/currency.rounding) def stripe_payment_intent(self, amount): if not self.env.user.has_group('point_of_sale.group_pos_user'):