jiaweiqi 3 năm trước cách đây
mục cha
commit
40c32bf0e9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      apps/activity/models.py

+ 1 - 1
apps/activity/models.py

@@ -243,7 +243,7 @@ class SplitAccount(models.Model):
 
         receiver = SplitAccountReceiver.objects.filter(account=detail.account).first()
         if not receiver:
-            SplitAccountReceiver.objects.create(
+            receiver = SplitAccountReceiver.objects.create(
                 account=detail.account
             )
         return instance, detail, receiver