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