def instance_form(self, formset, **kwargs):
        admin_view = self.admin_view.admin_view
        if hasattr(admin_view, 'version') or hasattr(admin_view, 'org_obj'):
            self._hack_inline_formset_initial(admin_view, formset)
        return formset

# action revision
dataset/ETHPy150Open sshwsfc/xadmin/xadmin/plugins/xversion.py/InlineRevisionPlugin.instance_form/operator `and` -> `or`