diff --git a/login_user_detail/__manifest__.py b/login_user_detail/__manifest__.py index 312345a67..b5cdea32e 100755 --- a/login_user_detail/__manifest__.py +++ b/login_user_detail/__manifest__.py @@ -22,7 +22,7 @@ ############################################################################## { 'name': "User Log Details", - 'version': '12.0.2.0.0', + 'version': '12.0.1.0.1', 'summary': """Login User Details & IP Address""", 'description': """This module records login information of user""", 'author': "Cybrosys Techno Solutions ", diff --git a/login_user_detail/__manifest__.py~ b/login_user_detail/__manifest__.py~ deleted file mode 100755 index 43d25803f..000000000 --- a/login_user_detail/__manifest__.py~ +++ /dev/null @@ -1,42 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# Cybrosys Technologies Pvt. Ltd. -# Copyright (C) 2016-TODAY Cybrosys Technologies(). -# Author: Saritha Sahadevan() -# you can modify it under the terms of the GNU LESSER -# GENERAL PUBLIC LICENSE (LGPL v3), Version 3. -# -# It is forbidden to publish, distribute, sublicense, or sell copies -# of the Software or modified copies of the Software. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details. -# -# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE -# GENERAL PUBLIC LICENSE (LGPL v3) along with this program. -# If not, see . -# -############################################################################## -{ - 'name': "User Log Details", - 'version': '11.0.1.0.0', - 'summary': """Login User Details & IP Address""", - 'description': """This module records login information of user""", - 'author': "Cybrosys Techno Solutions ", - 'company': "Cybrosys Techno Solutions ", - 'maintainer': 'Cybrosys Techno Solutions', - 'website': "https://www.cybrosys.com", - 'category': 'Tools', - 'depends': ['base'], - 'license': 'AGPL-3', - 'data': [ - 'security/ir.model.access.csv', - 'views/login_user_views.xml'], - 'demo': [], - 'images': ['static/description/banner.png'], - 'installable': True, - 'auto_install': False, -} diff --git a/login_user_detail/doc/RELEASE_NOTES.md b/login_user_detail/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..7f348011e --- /dev/null +++ b/login_user_detail/doc/RELEASE_NOTES.md @@ -0,0 +1,11 @@ +## Module + +#### 27.02.2019 +#### Version 12.0.1.0.0 +#### ADD +- Initial Commit + +#### 27.06.2019 +#### Version 12.0.1.0.1 +#### FIX +- Bug Fixed diff --git a/login_user_detail/doc/changelog.rst b/login_user_detail/doc/changelog.rst deleted file mode 100755 index be9f4d0a8..000000000 --- a/login_user_detail/doc/changelog.rst +++ /dev/null @@ -1,8 +0,0 @@ -Changelog -========= -* Saritha Sahadevan contact: saritha@cybrosys.in - - -`10.0.2.0.0` ------------- -- Access Right Issue fix. \ No newline at end of file diff --git a/login_user_detail/models/login_user_details.py b/login_user_detail/models/login_user_details.py index 821877bec..71bbf5e1e 100755 --- a/login_user_detail/models/login_user_details.py +++ b/login_user_detail/models/login_user_details.py @@ -34,8 +34,8 @@ class LoginUserDetail(models.Model): _inherit = 'res.users' @api.model - def check_credentials(self, password): - result = super(LoginUserDetail, self).check_credentials(password) + def _check_credentials(self, password): + result = super(LoginUserDetail, self)._check_credentials(password) ip_address = request.httprequest.environ['REMOTE_ADDR'] vals = {'name': self.name, 'ip_address': ip_address