diff --git a/payment.py b/payment.py index a14c5b5831..56570b4ed8 100644 --- a/payment.py +++ b/payment.py @@ -318,8 +318,8 @@ class Payment(metaclass=PoolMeta): def sepa_remittance_information(self): if self.description: return self.description - elif self.line and self.line.origin: - return self.line.origin.rec_name + elif self.line and self.line.move_origin: + return self.line.move_origin.rec_name @property def sepa_bank_account_number(self):