Skip to content

Commit

Permalink
Fix more moneybird sync errors (#3027)
Browse files Browse the repository at this point in the history
* Fix more moneybird sync errors

* Fix more moneybird sync errors

(cherry picked from commit 180e103)
  • Loading branch information
JobDoesburg committed Apr 20, 2023
1 parent 4a6107b commit 62aafa1
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions website/moneybirdsynchronization/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,17 +109,11 @@ def to_moneybird(self):
data["contact"]["sepa_sequence_type"] = "RCUR"
else:
data["contact"]["sepa_active"] = False
data["contact"]["sepa_mandate_id"] = ""
data["contact"]["sepa_mandate_date"] = ""
data["contact"]["sepa_sequence_type"] = ""
else:
data["contact"]["sepa_iban_account_name"] = ""
data["contact"]["sepa_iban"] = ""
data["contact"]["sepa_bic"] = ""
data["contact"]["sepa_iban_account_name"] = ""
data["contact"]["sepa_active"] = False
data["contact"]["sepa_mandate_id"] = ""
data["contact"]["sepa_mandate_date"] = ""
data["contact"]["sepa_sequence_type"] = ""
if self.moneybird_id is not None:
data["id"] = self.moneybird_id
if settings.MONEYBIRD_MEMBER_PK_CUSTOM_FIELD_ID:
Expand Down

0 comments on commit 62aafa1

Please sign in to comment.