diff options
author | Magnus Hagander | 2013-12-08 18:32:11 +0000 |
---|---|---|
committer | Magnus Hagander | 2013-12-08 18:32:11 +0000 |
commit | 693f93df9490f9a3121b51b0bb8ad1ea8ff38f6e (patch) | |
tree | e161ead45fc927718a16974f10e9726692c6e601 | |
parent | 8e3cf93353f5624a69a736bda0c05dd7cd8433d6 (diff) |
Temporarily disable creation of automatic accounting entries
To make sure we don't stop payments from working while working
on setting up the base information.
-rw-r--r-- | postgresqleu/adyen/util.py | 2 | ||||
-rw-r--r-- | postgresqleu/invoices/util.py | 2 | ||||
-rwxr-xr-x | tools/adyen/report_processor.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/postgresqleu/adyen/util.py b/postgresqleu/adyen/util.py index fdc7e7c1..0feb0248 100644 --- a/postgresqleu/adyen/util.py +++ b/postgresqleu/adyen/util.py @@ -53,7 +53,7 @@ def process_authorization(notification): accrows = [ (settings.ACCOUNTING_ADYEN_AUTHORIZED_ACCOUNT, accstr, -trans.amount, None), ] - create_accounting_entry(date.today(), accrows, True) + #create_accounting_entry(date.today(), accrows, True) return # Process a payment on the primary account diff --git a/postgresqleu/invoices/util.py b/postgresqleu/invoices/util.py index 1377baf6..9cb51147 100644 --- a/postgresqleu/invoices/util.py +++ b/postgresqleu/invoices/util.py @@ -281,7 +281,7 @@ class InvoiceManager(object): leaveopen = False else: leaveopen = True - create_accounting_entry(date.today(), accrows, leaveopen) + #create_accounting_entry(date.today(), accrows, leaveopen) # Send the receipt to the user if possible - that should make # them happy :) diff --git a/tools/adyen/report_processor.py b/tools/adyen/report_processor.py index 4e4f56a5..6f895440 100755 --- a/tools/adyen/report_processor.py +++ b/tools/adyen/report_processor.py @@ -96,7 +96,7 @@ def process_payment_accounting_report(report): (settings.ACCOUNTING_ADYEN_PAYABLE_ACCOUNT, accstr, trans.settledamount, None), (settings.ACCOUNTING_ADYEN_FEE_ACCOUNT, accstr, trans.amount-trans.settledamount, trans.accounting_object), ] - create_accounting_entry(date.today(), accrows, False) + #create_accounting_entry(date.today(), accrows, False) def process_received_payments_report(report): # We don't currently do anything with this report, but we store the contents |