Browse Source

[FIX] Bug Fixed 'login_user_detail'

pull/124/head
Ajmalcybrosys 6 years ago
parent
commit
3da4be2e5d
  1. 2
      login_user_detail/__manifest__.py
  2. 42
      login_user_detail/__manifest__.py~
  3. 11
      login_user_detail/doc/RELEASE_NOTES.md
  4. 8
      login_user_detail/doc/changelog.rst
  5. 4
      login_user_detail/models/login_user_details.py

2
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 ",

42
login_user_detail/__manifest__.py~

@ -1,42 +0,0 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2016-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Saritha Sahadevan(<https://www.cybrosys.com>)
# 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 <https://www.gnu.org/licenses/>.
#
##############################################################################
{
'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,
}

11
login_user_detail/doc/RELEASE_NOTES.md

@ -0,0 +1,11 @@
## Module <login_user_detail>
#### 27.02.2019
#### Version 12.0.1.0.0
#### ADD
- Initial Commit
#### 27.06.2019
#### Version 12.0.1.0.1
#### FIX
- Bug Fixed

8
login_user_detail/doc/changelog.rst

@ -1,8 +0,0 @@
Changelog
=========
* Saritha Sahadevan contact: saritha@cybrosys.in
`10.0.2.0.0`
------------
- Access Right Issue fix.

4
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

Loading…
Cancel
Save