Skip to content

Commit 7149930

Browse files
committedMar 18, 2025·
Merge PR #936 into 14.0
Signed-off-by rvalyi
2 parents 4bae88d + cb200be commit 7149930

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎base_revision/models/base_revision.py

+2
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,6 @@ def create_revision(self):
123123
"domain": "[('id', 'in', %s)]" % revision_ids,
124124
"target": "current",
125125
}
126+
if len(revision_ids) == 1:
127+
action.update({"view_mode": "form", "res_id": revision_ids[0]})
126128
return action

0 commit comments

Comments
 (0)
Please sign in to comment.