Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/util/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,8 @@ def ref(xid):

def get_anchor_link_to_record(model, id, name, action_id=None):
_validate_model(model)
if not name:
name = "{}(id={})".format(model, id)
if version_gte("saas~17.2"):
part1 = "action-{}".format(action_id) if action_id else model
url = "/odoo/{}/{}?debug=1".format(part1, id)
Expand Down