def METHOD_NAME(self):
    """
    If user has only one partner associated, set the first
    stock record's partner to it. Can't pre-select for staff users as
    they're allowed to save a product without a stock record.
    This is intentionally done after calling __init__ as passing initial
    data to __init__ creates a form for each list item. So depending on
    whether we can pre-select the partner or not, we'd end up with 1 or 2
    forms for an unbound form.
    """
    if self.require_user_stockrecord:
        try:
            user_partner = self.user.partners.get()
        except (exceptions.ObjectDoesNotExist, exceptions.MultipleObjectsReturned):
            pass
        else:
            partner_field = self.forms[0].fields.get("partner", None)
            if partner_field and partner_field.initial is None:
                partner_field.initial = user_partner