diff --git a/src/hct_mis_api/apps/payment/services/payment_plan_services.py b/src/hct_mis_api/apps/payment/services/payment_plan_services.py index 8378c21736..8cb36a605f 100644 --- a/src/hct_mis_api/apps/payment/services/payment_plan_services.py +++ b/src/hct_mis_api/apps/payment/services/payment_plan_services.py @@ -314,7 +314,7 @@ def check_payment_plan_and_update_status(self, approval_process: ApprovalProcess def create_payments(payment_plan: PaymentPlan) -> None: payments_to_create = [] households = ( - payment_plan.target_population.households.annotate( + payment_plan.target_population.household_list.annotate( collector=IndividualRoleInHousehold.objects.filter(household=OuterRef("pk"), role=ROLE_PRIMARY).values( "individual" )[:1]