diff options
author | Magnus Hagander | 2019-05-31 20:32:34 +0000 |
---|---|---|
committer | Magnus Hagander | 2019-05-31 20:32:34 +0000 |
commit | a8ea787dea18fb4c9d74de43f1b45d2b2a100de2 (patch) | |
tree | ba133edc6e086cf9b8e1b74a831df884b50504a7 /postgresqleu/transferwise/models.py | |
parent | c7ff9b1f16b1895d8a32f4d1d4caf923869c8fa7 (diff) |
Properly set transferwise counterpart name and account
The code to use them was in place, but it seems I forgot the part that
sets them...
Diffstat (limited to 'postgresqleu/transferwise/models.py')
-rw-r--r-- | postgresqleu/transferwise/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/postgresqleu/transferwise/models.py b/postgresqleu/transferwise/models.py index e0cbc09d..193606e9 100644 --- a/postgresqleu/transferwise/models.py +++ b/postgresqleu/transferwise/models.py @@ -42,6 +42,8 @@ class TransferwisePayout(models.Model): paymentmethod = models.ForeignKey(InvoicePaymentMethod, blank=False, null=False) amount = models.DecimalField(decimal_places=2, max_digits=20, null=False) reference = models.CharField(max_length=100, null=False, blank=False) + counterpart_name = models.CharField(max_length=100, blank=True, null=False) + counterpart_account = models.CharField(max_length=100, blank=True, null=False) uuid = models.UUIDField(blank=False, null=False, unique=True) transferid = models.BigIntegerField(null=True) accid = models.BigIntegerField(null=True) |