diff --git a/base_revision/models/base_revision.py b/base_revision/models/base_revision.py index 4007b05144..5b2741e57c 100644 --- a/base_revision/models/base_revision.py +++ b/base_revision/models/base_revision.py @@ -123,4 +123,6 @@ def create_revision(self): "domain": "[('id', 'in', %s)]" % revision_ids, "target": "current", } + if len(revision_ids) == 1: + action.update({"view_mode": "form", "res_id": revision_ids[0]}) return action