(repeater, case)
return repeater._allowed_case_type(case) and repeater._allowed_user(case)
Use this instead of CreateCaseRepeater.allowed_to_forward to get around len(case.transactions) > 1 check
Use this instead of CreateCaseRepeater.allowed_to_forward to get around len(case.transactions) > 1 check
Use this instead of CreateCaseRepeater . allowed_to_forward to get around len ( case . transactions ) > 1 check
def create_case_repeater_allowed_to_forward(repeater, case):
    """
    Use this instead of CreateCaseRepeater.allowed_to_forward to get around len(case.transactions) > 1 check
    """
    return repeater._allowed_case_type(case) and repeater._allowed_user(case)
def create_case_repeater_allowed_to_forward ( repeater , case ) : return repeater . _allowed_case_type ( case ) and repeater . _allowed_user ( case )