diff --git a/impersonate_login/README.rst b/impersonate_login/README.rst index 81b48c2dc..7f1ad88d7 100644 --- a/impersonate_login/README.rst +++ b/impersonate_login/README.rst @@ -7,7 +7,7 @@ Impersonate Login !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:a6ef4269b5ac503aec0a6312e847529a1209890f9fda86cc1f083730520fba34 + !! source digest: sha256:1fca331cbc5f2dcb804e5612e5669a9ab4998d80f22d46d6683266580f9ca40f !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png @@ -17,13 +17,13 @@ Impersonate Login :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--auth-lightgray.png?logo=github - :target: https://github.com/OCA/server-auth/tree/17.0/impersonate_login + :target: https://github.com/OCA/server-auth/tree/18.0/impersonate_login :alt: OCA/server-auth .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/server-auth-17-0/server-auth-17-0-impersonate_login + :target: https://translation.odoo-community.org/projects/server-auth-18-0/server-auth-18-0-impersonate_login :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/server-auth&target_branch=17.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/server-auth&target_branch=18.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -70,7 +70,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -111,6 +111,6 @@ Current `maintainer `__: |maintainer-Kev-Roche| -This module is part of the `OCA/server-auth `_ project on GitHub. +This module is part of the `OCA/server-auth `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/impersonate_login/__manifest__.py b/impersonate_login/__manifest__.py index 0b54a0491..e07a936e9 100644 --- a/impersonate_login/__manifest__.py +++ b/impersonate_login/__manifest__.py @@ -5,7 +5,7 @@ { "name": "Impersonate Login", "summary": "tools", - "version": "17.0.1.0.1", + "version": "18.0.1.0.0", "category": "Tools", "website": "https://github.com/OCA/server-auth", "author": "Akretion, Odoo Community Association (OCA)", diff --git a/impersonate_login/models/impersonate_log.py b/impersonate_login/models/impersonate_log.py index e61e84e6c..83089611a 100644 --- a/impersonate_login/models/impersonate_log.py +++ b/impersonate_login/models/impersonate_log.py @@ -11,7 +11,7 @@ class ImpersonateLog(models.Model): _description = "Impersonate Logs" user_id = fields.Many2one( - comodel_name="res.partner", + comodel_name="res.users", ) impersonated_partner_id = fields.Many2one( comodel_name="res.partner", diff --git a/impersonate_login/models/res_users.py b/impersonate_login/models/res_users.py index 3d50824cc..a805db0bf 100644 --- a/impersonate_login/models/res_users.py +++ b/impersonate_login/models/res_users.py @@ -78,7 +78,7 @@ def action_impersonate_login(self): action = self.env["ir.actions.act_window"]._for_xml_id( "base.action_res_users" ) - action["views"] = [[self.env.ref("base.view_users_tree").id, "tree"]] + action["views"] = [[self.env.ref("base.view_users_tree").id, "list"]] action["domain"] = [ ("id", "!=", self.env.user.id), ("share", "=", False), diff --git a/impersonate_login/static/description/icon.png b/impersonate_login/static/description/icon.png deleted file mode 100644 index 3a0328b51..000000000 Binary files a/impersonate_login/static/description/icon.png and /dev/null differ diff --git a/impersonate_login/static/description/index.html b/impersonate_login/static/description/index.html index 89865d46d..ef7209996 100644 --- a/impersonate_login/static/description/index.html +++ b/impersonate_login/static/description/index.html @@ -367,9 +367,9 @@

Impersonate Login

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:a6ef4269b5ac503aec0a6312e847529a1209890f9fda86cc1f083730520fba34 +!! source digest: sha256:1fca331cbc5f2dcb804e5612e5669a9ab4998d80f22d46d6683266580f9ca40f !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/server-auth Translate me on Weblate Try me on Runboat

+

Beta License: AGPL-3 OCA/server-auth Translate me on Weblate Try me on Runboat

This module allows one user (for example, a member of the support team) to log in as another user. The impersonation session can be exited by clicking on the button “Back to Original User”.

@@ -418,7 +418,7 @@

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

+feedback.

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

@@ -450,7 +450,7 @@

Maintainers

promote its widespread use.

Current maintainer:

Kev-Roche

-

This module is part of the OCA/server-auth project on GitHub.

+

This module is part of the OCA/server-auth project on GitHub.

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

diff --git a/impersonate_login/views/impersonate_log.xml b/impersonate_login/views/impersonate_log.xml index 3e504f924..c633ef855 100644 --- a/impersonate_login/views/impersonate_log.xml +++ b/impersonate_login/views/impersonate_log.xml @@ -8,12 +8,12 @@ impersonate.log.tree impersonate.log - + - + @@ -22,7 +22,7 @@ Impersonate Login Logs impersonate.log - tree + list res.users - tree + list