Description

In ModelAdmin.get_fieldsets

form=self.get_form(request)

should be changed to
form=self.get_form(request,obj)

If get_form has been overridden to generate different forms based on a field in the obj
then the obj parameter must be passed in. This seems to be done correctly in the
formset counterpart ModelAdmin.get_formsets where inline.get_formset is called
with the obj parameter.