changeset 217d73cb3e16 in modules/account_payment_sepa:default
details: 
https://hg.tryton.org/modules/account_payment_sepa?cmd=changeset;node=217d73cb3e16
description:
        Use move_origin instead of origin to generate 
sepa_remittance_information

        issue8550
        review275831003
diffstat:

 payment.py |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 6ab061f3c81c -r 217d73cb3e16 payment.py
--- a/payment.py        Fri Jun 07 09:59:51 2019 +0200
+++ b/payment.py        Thu Aug 01 18:23:35 2019 +0200
@@ -318,8 +318,8 @@
     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):

Reply via email to