Browse Source

Missing parenthesis

Alexandre Aubin 7 years ago
parent
commit
8c6dd3f17f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      coin/billing/models.py

+ 1 - 1
coin/billing/models.py

@@ -579,7 +579,7 @@ def payment_changed(sender, instance, created, **kwargs):
 
     # If this payment is related to a member, update the accounting for
     # this member
-    if (created or instance.amount_not_allocated != 0) \
+    if (created or instance.amount_not_allocated() != 0) \
     and (instance.member is not None):
         update_accounting_for_member(instance.member)