diff --git a/addons/account/models/account_payment.py b/addons/account/models/account_payment.py index e1dd00f035f..56d6a8a96d9 100644 --- a/addons/account/models/account_payment.py +++ b/addons/account/models/account_payment.py @@ -194,13 +194,11 @@ class account_register_payments(models.TransientModel): ''' amount = self._compute_payment_amount(invoices) if self.multi else self.amount payment_type = ('inbound' if amount > 0 else 'outbound') if self.multi else self.payment_type - communication = (' '.join([inv.reference or inv.number for inv in invoices]) - if self.multi else self.communication) return { 'journal_id': self.journal_id.id, 'payment_method_id': self.payment_method_id.id, 'payment_date': self.payment_date, - 'communication': communication, # DO NOT FORWARD PORT TO V12 OR ABOVE + 'communication': self.communication, # DO NOT FORWARD PORT TO V12 OR ABOVE 'invoice_ids': [(6, 0, invoices.ids)], 'payment_type': payment_type, 'amount': abs(amount),