diff --git a/addons/account/models/account_payment.py b/addons/account/models/account_payment.py index cdac9bbd42f..1cca2df5214 100644 --- a/addons/account/models/account_payment.py +++ b/addons/account/models/account_payment.py @@ -146,7 +146,7 @@ class account_abstract_payment(models.AbstractModel): def _compute_journal_domain_and_types(self): journal_type = ['bank', 'cash'] domain = [] - if self.currency_id.is_zero(self.amount): + if self.currency_id.is_zero(self.amount) and self.has_invoices: # In case of payment with 0 amount, allow to select a journal of type 'general' like # 'Miscellaneous Operations' and set this journal by default. journal_type = ['general']