Browse Source

[FIX] Time Issue Fix

pull/42/head
SHEREEF PT 8 years ago
parent
commit
0461fde85c
  1. 5
      login_user_detail/__manifest__.py
  2. 39
      login_user_detail/__manifest__.py~
  3. 8
      login_user_detail/doc/changelog.rst
  4. 2
      login_user_detail/models/login_user_details.py
  5. 26
      login_user_detail/static/description/index.html

5
login_user_detail/__manifest__.py

@ -22,11 +22,12 @@
##############################################################################
{
'name': "User Log Details",
'version': '10.0.1.0.0',
'summary': """Login User Details""",
'version': '10.0.2.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'],

39
login_user_detail/__manifest__.py~

@ -1,39 +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': '10.0.1.0.0',
'summary': """Login User Details""",
'description': """This module records login information of user""",
'author': "Cybrosys Techno Solutions ",
'company': "Cybrosys Techno Solutions ",
'website': "https://www.cybrosys.com",
'category': 'Tools',
'depends': ['base'],
'license': 'AGPL-3',
'data': ['views/login_user_views.xml'],
'demo': [],
'images': ['static/description/banner.jpg'],
'installable': True,
'auto_install': False,
}

8
login_user_detail/doc/changelog.rst

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

2
login_user_detail/models/login_user_details.py

@ -49,6 +49,6 @@ class LoginUpdate(models.Model):
_name = 'login.detail'
name = fields.Char(string="User Name")
date_time = fields.Datetime(string="Login Date And Time", default=datetime.now())
date_time = fields.Datetime(string="Login Date And Time", default=lambda self: fields.datetime.now())
ip_address = fields.Char(string="IP Address")

26
login_user_detail/static/description/index.html

@ -2,7 +2,7 @@
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">User Log Details</h2>
<h3 class="oe_slogan">Records User Log Details</h3>
<h4 class="oe_slogan">Cybrosys Technologies , www.cybrosys.com</h4>
<h4 class="oe_slogan"><a href="https://www.cybrosys.com">Cybrosys Technologies</a> </h4>
</div>
</section>
@ -31,17 +31,27 @@
<section class="oe_container oe_dark">
<h2 class="oe_slogan" style="margin-top:20px;" >Need Any Help?</h2>
<div class="oe_slogan" style="margin-top:10px !important;">
<a class="btn btn-primary btn-lg mt8"
style="color: #FFFFFF !important;" href="http://www.cybrosys.com"><i
<div>
<a class="btn btn-primary btn-lg mt8"
style="color: #FFFFFF !important;border-radius: 0;" href="https://www.cybrosys.com"><i
class="fa fa-envelope"></i> Email </a> <a
class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;"
href="http://www.cybrosys.com/contact/"><i
class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;border-radius: 0;"
href="https://www.cybrosys.com/contact/"><i
class="fa fa-phone"></i> Contact Us </a> <a
class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;"
href="http://www.cybrosys.com/odoo-customization-and-installation/"><i
class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;border-radius: 0;"
href="https://www.cybrosys.com/odoo-customization-and-installation/"><i
class="fa fa-check-square"></i> Request Customization </a>
</div>
<br>
<img src="cybro_logo.png" style="width: 190px; margin-bottom: 20px;" class="center-block">
<div>
<a href="https://twitter.com/cybrosys" target="_blank"><i class="fa fa-2x fa-twitter" style="color:white;background: #00a0d1;width:35px;"></i></a></td>
<a href="https://www.linkedin.com/company/cybrosys-technologies-pvt-ltd" target="_blank"><i class="fa fa-2x fa-linkedin" style="color:white;background: #31a3d6;width:35px;padding-left: 3px;"></i></a></td>
<a href="https://www.facebook.com/cybrosystechnologies" target="_blank"><i class="fa fa-2x fa-facebook" style="color:white;background: #3b5998;width:35px;padding-left: 8px;"></i></a></td>
<a href="https://plus.google.com/106641282743045431892/about" target="_blank"><i class="fa fa-2x fa-google-plus" style="color:white;background: #c53c2c;width:35px;padding-left: 3px;"></i></a></td>
<a href="https://in.pinterest.com/cybrosys" target="_blank"><i class="fa fa-2x fa-pinterest" style="color:white;background: #ac0f18;width:35px;padding-left: 3px;"></i></a></td>
</div>
</div>
<img src="cybro_logo.png" style="width: 190px; margin-bottom: 20px;" class="center-block">
</section>

Loading…
Cancel
Save