I failed with it several times, especially when added custom field (+ include it in read_only list) in inline. Simple fix:
class FooInline(admin.StackedInline):
fields = ("id",)
exclude = ("id",)
Suppose, there is some issue in Django inline code itself.