Skip to content

Commit 9006c98

Browse files
karizmajqbeltran2
authored andcommitted
[MIG] user_log_view: Migration to 18.0
1 parent 960170c commit 9006c98

4 files changed

Lines changed: 24 additions & 21 deletions

File tree

user_log_view/README.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ User's Log Viewer
1717
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
1818
:alt: License: LGPL-3
1919
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--auth-lightgray.png?logo=github
20-
:target: https://github.com/OCA/server-auth/tree/17.0/user_log_view
20+
:target: https://github.com/OCA/server-auth/tree/18.0/user_log_view
2121
:alt: OCA/server-auth
2222
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23-
:target: https://translation.odoo-community.org/projects/server-auth-17-0/server-auth-17-0-user_log_view
23+
:target: https://translation.odoo-community.org/projects/server-auth-18-0/server-auth-18-0-user_log_view
2424
:alt: Translate me on Weblate
2525
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26-
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-auth&target_branch=17.0
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/server-auth&target_branch=18.0
2727
:alt: Try me on Runboat
2828

2929
|badge1| |badge2| |badge3| |badge4| |badge5|
@@ -53,7 +53,7 @@ Bug Tracker
5353
Bugs are tracked on `GitHub Issues <https://github.com/OCA/server-auth/issues>`_.
5454
In case of trouble, please check there if your issue has already been reported.
5555
If you spotted it first, help us to smash it by providing a detailed and welcomed
56-
`feedback <https://github.com/OCA/server-auth/issues/new?body=module:%20user_log_view%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
56+
`feedback <https://github.com/OCA/server-auth/issues/new?body=module:%20user_log_view%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
5757

5858
Do not contact contributors directly about support or help with technical issues.
5959

@@ -68,9 +68,9 @@ Authors
6868
Contributors
6969
------------
7070

71-
- Denis Mudarisov <mudarisov@it-projects.info>
72-
(https://www.it-projects.info/)
73-
- Chandresh Thakkar <cthakkar@opensourceintegrators.com>
71+
- Denis Mudarisov <mudarisov@it-projects.info>
72+
(https://www.it-projects.info/)
73+
- Chandresh Thakkar <cthakkar@opensourceintegrators.com>
7474

7575
Maintainers
7676
-----------
@@ -93,6 +93,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
9393

9494
|maintainer-trojikman|
9595

96-
This module is part of the `OCA/server-auth <https://github.com/OCA/server-auth/tree/17.0/user_log_view>`_ project on GitHub.
96+
This module is part of the `OCA/server-auth <https://github.com/OCA/server-auth/tree/18.0/user_log_view>`_ project on GitHub.
9797

9898
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

user_log_view/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"name": "User's Log Viewer",
55
"summary": "Allow to see user's actions log",
6-
"version": "17.0.1.0.0",
6+
"version": "18.0.1.0.0",
77
"development_status": "Production/Stable",
88
"category": "Extra Tools",
99
"website": "https://github.com/OCA/server-auth",

user_log_view/static/description/index.html

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88

99
/*
1010
:Author: David Goodger (goodger@python.org)
11-
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
11+
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
1212
:Copyright: This stylesheet has been placed in the public domain.
1313
1414
Default cascading style sheet for the HTML output of Docutils.
15+
Despite the name, some widely supported CSS2 features are used.
1516
1617
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
1718
customize this style sheet.
@@ -274,7 +275,7 @@
274275
margin-left: 2em ;
275276
margin-right: 2em }
276277

277-
pre.code .ln { color: grey; } /* line numbers */
278+
pre.code .ln { color: gray; } /* line numbers */
278279
pre.code, code { background-color: #eeeeee }
279280
pre.code .comment, code .comment { color: #5C6576 }
280281
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
@@ -300,7 +301,7 @@
300301
span.pre {
301302
white-space: pre }
302303

303-
span.problematic {
304+
span.problematic, pre.problematic {
304305
color: red }
305306

306307
span.section-subtitle {
@@ -368,7 +369,7 @@ <h1 class="title">User’s Log Viewer</h1>
368369
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
369370
!! source digest: sha256:41582a56f8deb42c9cdd0873300d9ef7116dccde5b22414dcfde2cd9597fb934
370371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
371-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/server-auth/tree/17.0/user_log_view"><img alt="OCA/server-auth" src="https://img.shields.io/badge/github-OCA%2Fserver--auth-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-auth-17-0/server-auth-17-0-user_log_view"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/server-auth&amp;target_branch=17.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/server-auth/tree/18.0/user_log_view"><img alt="OCA/server-auth" src="https://img.shields.io/badge/github-OCA%2Fserver--auth-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-auth-18-0/server-auth-18-0-user_log_view"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/server-auth&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
372373
<p>This module adds a smart button on user’s form to display authentication
373374
logs.</p>
374375
<p><strong>Table of contents</strong></p>
@@ -400,7 +401,7 @@ <h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
400401
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/server-auth/issues">GitHub Issues</a>.
401402
In case of trouble, please check there if your issue has already been reported.
402403
If you spotted it first, help us to smash it by providing a detailed and welcomed
403-
<a class="reference external" href="https://github.com/OCA/server-auth/issues/new?body=module:%20user_log_view%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
404+
<a class="reference external" href="https://github.com/OCA/server-auth/issues/new?body=module:%20user_log_view%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
404405
<p>Do not contact contributors directly about support or help with technical issues.</p>
405406
</div>
406407
<div class="section" id="credits">
@@ -422,13 +423,15 @@ <h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
422423
<div class="section" id="maintainers">
423424
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
424425
<p>This module is maintained by the OCA.</p>
425-
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
426+
<a class="reference external image-reference" href="https://odoo-community.org">
427+
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
428+
</a>
426429
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
427430
mission is to support the collaborative development of Odoo features and
428431
promote its widespread use.</p>
429432
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
430433
<p><a class="reference external image-reference" href="https://github.com/trojikman"><img alt="trojikman" src="https://github.com/trojikman.png?size=40px" /></a></p>
431-
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/server-auth/tree/17.0/user_log_view">OCA/server-auth</a> project on GitHub.</p>
434+
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/server-auth/tree/18.0/user_log_view">OCA/server-auth</a> project on GitHub.</p>
432435
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
433436
</div>
434437
</div>

user_log_view/views/res_users_views.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<field name="name">Authentication logs</field>
77
<field name="type">ir.actions.act_window</field>
88
<field name="res_model">res.users.log</field>
9-
<field name="views">[[False, 'tree'], [False, 'form']]</field>
9+
<field name="views">[[False, 'list'], [False, 'form']]</field>
1010
<field name="domain">[('create_uid', '=', active_id)]</field>
1111
<field name="target">current</field>
1212
<field name="context">{'search_default_groupby_date': True}</field>
@@ -46,14 +46,14 @@
4646
</field>
4747
</record>
4848

49-
<record id="res_users_log_view_tree" model="ir.ui.view">
50-
<field name="name">res.users.log.tree</field>
49+
<record id="res_users_log_view_list" model="ir.ui.view">
50+
<field name="name">res.users.log.list</field>
5151
<field name="model">res.users.log</field>
5252
<field name="arch" type="xml">
53-
<tree create="false" default_order="create_date desc">
53+
<list create="false" default_order="create_date desc">
5454
<field name="create_uid" />
5555
<field name="create_date" />
56-
</tree>
56+
</list>
5757
</field>
5858
</record>
5959

0 commit comments

Comments
 (0)