We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a64e4f commit 3220a75Copy full SHA for 3220a75
base_revision/models/base_revision.py
@@ -123,4 +123,6 @@ def create_revision(self):
123
"domain": "[('id', 'in', %s)]" % revision_ids,
124
"target": "current",
125
}
126
+ if len(revision_ids) == 1:
127
+ action.update({"view_mode": "form", "res_id": revision_ids[0]})
128
return action
0 commit comments