Fix AttributeError when adding Purchases via admin panel