diff --git a/account_payment_order/models/account_payment_order.py b/account_payment_order/models/account_payment_order.py index a7dec8a96be..a9d6796455b 100644 --- a/account_payment_order/models/account_payment_order.py +++ b/account_payment_order/models/account_payment_order.py @@ -369,6 +369,8 @@ def _prepare_move(self, bank_lines=None): ref = _('Payment order %s') % self.name else: ref = _('Debit order %s') % self.name + if bank_lines and len(bank_lines) == 1: + ref += " - " + bank_lines.name if self.payment_mode_id.offsetting_account == 'bank_account': journal_id = self.journal_id.id elif self.payment_mode_id.offsetting_account == 'transfer_account':