diff --git a/addons/account/models/account_move.py b/addons/account/models/account_move.py index e4866d516a0..9a768a3f528 100644 --- a/addons/account/models/account_move.py +++ b/addons/account/models/account_move.py @@ -1196,7 +1196,7 @@ class AccountMove(models.Model): move.invoice_outstanding_credits_debits_widget = json.dumps(False) move.invoice_has_outstanding = False - if move.state != 'posted' or move.payment_state != 'not_paid' or not move.is_invoice(include_receipts=True): + if move.state != 'posted' or move.payment_state not in ('not_paid', 'partial') or not move.is_invoice(include_receipts=True): continue pay_term_line_ids = move.line_ids.filtered(lambda line: line.account_id.user_type_id.type in ('receivable', 'payable'))