sepa payment should probably set RmtInf to 'reference' by default instead of 'rec_name'
review.tryton.org seems to enforce having a g$ggl$ account,
so I propose here the following patchset to use (on 4.0) 'reference'
by default instead of 'rec_name'.
In general, 'reference' is used to encode what the supplier requests to have
as reference for remittance info.
# HG changeset patch
# User Richard PALO <richard@NetBSD.org>
# Date 1464266125 -7200
# Thu May 26 14:35:25 2016 +0200
# Node ID 4bfbce830690e0dd77d6327e0edf38f9d2d32da2
# Parent bad20573127b
sepa payment should probably set RmtInf to 'reference' by default instead of 'rec_name'
diff -r bad20573127b -r 4bfbce830690 payment.py
--- a/payment.py Thu May 12 15:59:21 2016 +0200
+++ b/payment.py Thu May 26 14:35:25 2016 +0200
@@ -297,7 +297,7 @@
if self.description:
return self.description
elif self.line and self.line.origin:
- return self.line.origin.rec_name
+ return self.line.origin.reference
@property
def sepa_bank_account_number(self):