Skip to content

Commit a50bfc6

Browse files
committed
Merge PR #3433 into 18.0
Signed-off-by sebalix
2 parents 5562381 + 898b3c3 commit a50bfc6

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

auditlog/models/http_request.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ def _compute_display_name(self):
3131
httprequest.name or "?", fields.Datetime.to_string(tz_create_date)
3232
)
3333

34-
def name_get(self):
35-
return [(request.id, request.display_name) for request in self]
36-
3734
@api.model
3835
def current_http_request(self):
3936
"""Create a log corresponding to the current HTTP request, and returns

auditlog/models/http_session.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ def _compute_display_name(self):
2727
fields.Datetime.to_string(tz_create_date),
2828
)
2929

30-
def name_get(self):
31-
return [(session.id, session.display_name) for session in self]
32-
3330
@api.model
3431
def current_http_session(self):
3532
"""Create a log corresponding to the current HTTP user session, and

0 commit comments

Comments
 (0)