diff --git a/addons/point_of_sale/models/pos_order.py b/addons/point_of_sale/models/pos_order.py index 94e75303eff..391ae4cebde 100644 --- a/addons/point_of_sale/models/pos_order.py +++ b/addons/point_of_sale/models/pos_order.py @@ -735,7 +735,7 @@ class PosOrder(models.Model): # Cash rounding. cash_rounding = self.config_id.rounding_method - if self.config_id.cash_rounding and cash_rounding and not self.config_id.only_round_cash_method: + if self.config_id.cash_rounding and cash_rounding and (not self.config_id.only_round_cash_method or any(p.payment_method_id.is_cash_count for p in self.payment_ids)): amount_currency = cash_rounding.compute_difference(self.currency_id, total_amount_currency) if not self.currency_id.is_zero(amount_currency): balance = company_currency.round(amount_currency * rate)