Browse Source

[FIX] Access Rights Issue

pull/54/head
SHEREEF PT 8 years ago
parent
commit
5397860106
  1. 20
      login_user_detail/README.rst~
  2. 6
      login_user_detail/__manifest__.py
  3. 6
      login_user_detail/__manifest__.py~
  4. 8
      login_user_detail/doc/changelog.rst
  5. 2
      login_user_detail/models/login_user_details.py
  6. 2
      login_user_detail/security/ir.model.access.csv
  7. BIN
      login_user_detail/static/description/login.png

20
login_user_detail/README.rst~

@ -1,20 +0,0 @@
User Log Details v10
====================
This module developed to record login details of user.
Installation
============
Just select it from available modules to install it, there is no need to extra installations.
Configuration
=============
Nothing to configure.
Credits
=======
Developer: Saritha @ cybrosys

6
login_user_detail/__manifest__.py

@ -22,7 +22,7 @@
##############################################################################
{
'name': "User Log Details",
'version': '11.0.1.0.0',
'version': '11.0.2.0.0',
'summary': """Login User Details & IP Address""",
'description': """This module records login information of user""",
'author': "Cybrosys Techno Solutions ",
@ -32,7 +32,9 @@
'category': 'Tools',
'depends': ['base'],
'license': 'AGPL-3',
'data': ['views/login_user_views.xml'],
'data': [
'security/ir.model.access.csv',
'views/login_user_views.xml'],
'demo': [],
'images': ['static/description/banner.png'],
'installable': True,

6
login_user_detail/__manifest__.py~

@ -22,7 +22,7 @@
##############################################################################
{
'name': "User Log Details",
'version': '10.0.2.0.0',
'version': '11.0.1.0.0',
'summary': """Login User Details & IP Address""",
'description': """This module records login information of user""",
'author': "Cybrosys Techno Solutions ",
@ -32,7 +32,9 @@
'category': 'Tools',
'depends': ['base'],
'license': 'AGPL-3',
'data': ['views/login_user_views.xml'],
'data': [
'security/ir.model.access.csv',
'views/login_user_views.xml'],
'demo': [],
'images': ['static/description/banner.png'],
'installable': True,

8
login_user_detail/doc/changelog.rst

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

2
login_user_detail/models/login_user_details.py

@ -22,7 +22,6 @@
##############################################################################
import logging
from itertools import chain
from datetime import datetime
from odoo.http import request
from odoo import models, fields, api
@ -51,4 +50,3 @@ class LoginUpdate(models.Model):
name = fields.Char(string="User Name")
date_time = fields.Datetime(string="Login Date And Time", default=lambda self: fields.datetime.now())
ip_address = fields.Char(string="IP Address")

2
login_user_detail/security/ir.model.access.csv

@ -0,0 +1,2 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_login_user_detail,login_user_detail_login_detail,model_login_detail,,1,1,1,1
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_login_user_detail login_user_detail_login_detail model_login_detail 1 1 1 1

BIN
login_user_detail/static/description/login.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Loading…
Cancel
Save