Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

13.0 hrms dashboard leave analysis tooltip not work #53

Open
wants to merge 119 commits into
base: 13.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
4e5af15
[ADD]Initial Commit
sreejithcybrosys Oct 10, 2018
5e195e6
[ADD] Initial Commit
sreejithcybrosys Oct 11, 2018
2a38910
[ADD] Initial Commit
sreejithcybrosys Oct 11, 2018
880d20f
[ADD] Initial Commit
sreejithcybrosys Oct 11, 2018
279472d
[FIX] Singleton Error Fixed
sreejithcybrosys Oct 11, 2018
d1bd4c7
[ADD] Initial Commit
sreejithcybrosys Oct 11, 2018
7778d6f
[ADD] Initial Commit
sreejithcybrosys Oct 11, 2018
f0f7ed1
[ADD] Initial Commit
sreejithcybrosys Oct 11, 2018
600f0a9
[ADD] Initial Commit
sreejithcybrosys Oct 11, 2018
110bd2f
[ADD] Initial Commit
sreejithcybrosys Oct 11, 2018
cda5a0d
[ADD] Initial Commit
sreejithcybrosys Oct 11, 2018
8feac60
[ADD] Initial Commit
sreejithcybrosys Oct 11, 2018
21e4dd3
[ADD] Initial Commit
sreejithcybrosys Oct 11, 2018
e57e33b
[ADD]Initial Commit
sreejithcybrosys Oct 11, 2018
48d0680
[ADD] Initial Commit
sreejithcybrosys Oct 23, 2018
262d8fb
[UPDT] Category Updated
sreejithcybrosys Nov 8, 2018
fff41ea
[INIT] Initial Commit
sreejithcybrosys Nov 9, 2018
22a13a2
[FIX] Salary Structure Issue
niyascybrosys Nov 12, 2018
a60c52e
[FIX] Payslip and Loan Issue
niyascybrosys Nov 14, 2018
0c41791
[UPDT]Index Updated
sreejithcybrosys Nov 28, 2018
e11bce4
Merge branch '12.0' of https://github.com/CybroOdoo/OpenHRMS into 12.0
sreejithcybrosys Nov 28, 2018
c6b0378
[UPDT] Banner Updated
sreejithcybrosys Nov 28, 2018
949dd93
[UPDT] Index Updated
sreejithcybrosys Nov 28, 2018
3236eef
[UPDT] Index Updated
sreejithcybrosys Nov 28, 2018
4c9c836
[UPDT] Index Updated
sreejithcybrosys Nov 28, 2018
c850cf8
[UPDT] Index Updated
sreejithcybrosys Nov 29, 2018
2e3797f
[UPDT] Category Changed
CybroOdoo Nov 29, 2018
2ac987e
[UPDT] Index Updated
sreejithcybrosys Nov 30, 2018
b30efd5
[CHG]Category Changed
sreejithcybrosys Nov 30, 2018
6051786
[CHG]Index Updated
sreejithcybrosys Dec 3, 2018
de9520a
[CHG]Index Design Changed
sreejithcybrosys Dec 5, 2018
39ff45c
[CHG]Index Design Changed
sreejithcybrosys Dec 6, 2018
285d58a
[CHG]Index Overview UpdaTED
sreejithcybrosys Dec 6, 2018
65ac80e
[UPDT] Banner Image
niyascybrosys Dec 12, 2018
97cac47
[UPDT] Index File
niyascybrosys Dec 15, 2018
0aa7182
[FIX] Access Right Issue
niyascybrosys Dec 15, 2018
df423b3
[UPDT] Validations and changes in status bar
sreejithcybrosys Dec 18, 2018
f245a04
[CHG] Index Design Changed
AjmalCybro Dec 27, 2018
2930edb
[CHG]Index Design Changed
AjmalCybro Dec 28, 2018
f5abf15
[ADD]Initial Commit
AjmalCybro Dec 29, 2018
d534fa0
[UPDT] Index Updated
AjmalCybro Jan 2, 2019
e8b2f51
[UPDT] Index Updated
AjmalCybro Jan 2, 2019
2cf1aea
[UPDT] Index Updated
AjmalCybro Jan 2, 2019
901fd88
[UPDT] Index File Updated
niyascybrosys Jan 3, 2019
3e7c659
[UPDT]Index File Updated
AjmalCybro Jan 4, 2019
0c859b3
Merge branch '12.0' of https://github.com/CybroOdoo/OpenHRMS into 12.0
AjmalCybro Jan 4, 2019
ca5cc57
[UPDT]Index File Updated
AjmalCybro Jan 4, 2019
8b4d2da
[UPDT]Index File Updated
AjmalCybro Jan 4, 2019
8c4b388
[UPDT]Index File Updated
AjmalCybro Jan 4, 2019
9aa7158
[UPDT]Index File Updated
AjmalCybro Jan 5, 2019
a7b29ea
[UPDT]Index File Updated
AjmalCybro Jan 5, 2019
678d627
[UPDT]Index File Updated
AjmalCybro Jan 5, 2019
fc7fc9d
[UPDT]Index File Updated
AjmalCybro Jan 5, 2019
f451462
[IMP] Add active field to employee_document
Jan 9, 2019
ead9e50
[UPDT] Index Updated
AjmalCybro Jan 11, 2019
297b565
[UPDT] Index Updated
tintu018 Jan 11, 2019
740ced4
[UPDT] Index Updated
tintu018 Jan 14, 2019
97e6553
[UPDT] Index modified
tintu018 Jan 14, 2019
14bcde2
[UPDT] Index modified
tintu018 Jan 14, 2019
f018222
[UPDT] Index modified
tintu018 Jan 14, 2019
65196c2
[UPDT] Add functionalities and Bug fix
sreejithcybrosys Feb 13, 2019
a87d2ff
[UPDT] Index updated
sreejithcybrosys Feb 14, 2019
2d49865
[FIX] Bug Fixed
AjmalCybro Feb 19, 2019
d5436af
[UPDT] Update Icons
sreejithcybrosys Feb 28, 2019
c8251e2
[ADD] Initial Commit
AjmalCybro Mar 4, 2019
df1de52
[ADD] Initial Commit
AjmalCybro Mar 6, 2019
29972b9
[CHG] Manifest Changed
AjmalCybro Mar 6, 2019
59fdcc2
[UPDT] Index Updated
AjmalCybro Mar 11, 2019
d611140
[ADD] HR Dashboard V12
niyascybrosys Mar 13, 2019
1d93263
[UPDT] HR Dashboard
niyascybrosys Mar 13, 2019
70da922
[ADD] Initial Commit
AjmalCybro Mar 30, 2019
bdad87a
[ADD] Initial Commit
AjmalCybro Mar 30, 2019
b33d018
[ADD] Initial Commit
AjmalCybro Mar 30, 2019
7fba9b5
[UPDT] Style Updated
AjmalCybro Apr 3, 2019
478f2f1
[ADD] Initial Commit
AjmalCybro Apr 5, 2019
9ac7f97
[ADD] Initial Commit
AjmalCybro Apr 6, 2019
5c5ccaf
[UPDT] Manifest Updated
AjmalCybro Apr 6, 2019
9060046
[FIX] Column reference ambiguous issue
AswaniCybrosys May 4, 2019
d93886d
[CHG] Manifest Changed
AjmalCybro May 4, 2019
2c1dafb
[FIX] Bug Fixed
AjmalCybro May 6, 2019
083a516
[ADD] Initial Commit
AjmalCybro May 6, 2019
3c20bdb
[ADD] Initial Commit
AjmalCybro May 8, 2019
3e6b43c
[FIX] Bug Fixed
AjmalCybro May 8, 2019
4d3a00d
[ADD] Initial Commit
AjmalCybro May 8, 2019
3e7fd9f
[FIX] Bug Fixed
AjmalCybro May 8, 2019
1afbfb9
[FIX] Bug Fixed
AjmalCybro May 8, 2019
71912f4
[FIX] Bug Fixed
AjmalCybro May 8, 2019
28c6ad9
[FIX] Bug Fixed
AjmalCybro May 8, 2019
a3369a7
[CHG] Category Changed
AjmalCybro May 10, 2019
886adc8
[FIX] Bug Fixed
AjmalCybro May 10, 2019
0772164
[FIX] Bug Fixed
AjmalCybro May 10, 2019
4ad6eb8
Merge pull request #21 from invitu/12.0-add_active_to_employee_documents
CybroOdoo May 10, 2019
303a63c
[FIX] Bug Fixed
AjmalCybro May 14, 2019
0711597
[FIX] strptime removed
AjmalCybro May 15, 2019
4046ccd
[CHG] Depends Changed
AjmalCybro May 17, 2019
d3dd5c3
[RMV] Extra Code Removed
AjmalCybro May 20, 2019
d0514e3
[CHG] Index Changed
AjmalCybro May 27, 2019
1f12acd
[FIX] Bug Fixed
AjmalCybro May 28, 2019
7538cc6
[UPDT] Manifest Updated
AjmalCybro Jun 3, 2019
76f5f84
[UPDT] Manifest Updated
AjmalCybro Jun 3, 2019
1714ea9
[FIX] Bug Fixed 'oh_employee_check_list'
AjmalCybro Jun 27, 2019
7fcabf9
[FIX] Bug Fixed
AjmalCybro Oct 22, 2019
1caef99
[FIX] Bug Fixed 'oh_appraisal'
AjmalCybro Oct 25, 2019
adcdd45
[CHG] Manifest Changed
AjmalCybro Oct 29, 2019
7b0f69e
[FIX] Bug Fixed
AjmalCybro Oct 31, 2019
5e77125
[FIX] Bug Fixed
AjmalCybro Nov 28, 2019
a862a17
[CHG] Style Changed
AjmalCybro Dec 7, 2019
861f0b6
[CHG] Style Changed 'hrms_dashboard'
AjmalCybro Dec 9, 2019
a60a51d
[CHG] Index Changed 'ohrms_loan_accounting'
AjmalCybro Dec 19, 2019
d267ac7
[FIX] Bug Fixed 'oh_hr_zk_attendance'
AjmalCybro Dec 27, 2019
7b49ebe
[UPDT] Updated 'ohrms_salary_advance'
AjmalCybro Jan 13, 2020
9b72c57
[FIX] Bug Fixed 'ohrms_loan_accounting'
AjmalCybro Jan 23, 2020
e788187
[FIX] Bug Fixed 'ohrms_loan'
AjmalCybro May 5, 2020
7e15990
[FIX] Bug Fixed ' hr_reward_warning'
AjmalCybro Jun 20, 2020
79bb648
[UPDT] Index Updated
AjmalCybro Nov 2, 2020
b45b9c6
[FIX] Access issue fixed 'hrms_dashboard'
AjmalCybro Nov 23, 2020
df18117
[UPDT] Dashboard 'hrms_dashboard'
AjmalCybro Nov 26, 2020
26f82c0
[UPDT] Live preview added
AjmalCybro Feb 23, 2021
aba2961
[UPDT] Author Updated
AjmalCybro May 20, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
57 changes: 57 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib64/
parts/
sdist/
var/
*.pyc
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover

# Translations
*.mo
*.pot

# Django stuff:
*.log

# Sphinx documentation
docs/_build/

# PyBuilder
target/
36 changes: 36 additions & 0 deletions attendance_regularization/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
Open HRMS Attendance Regularization
=========================

Manage Attendances for Onsight Jobs.


Installation
============
- www.odoo.com/documentation/11.0/setup/install.html
- Install our custom addon

License
=======
GNU AFFERO GENERAL PUBLIC LICENSE, Version 3 (AGPLv3)
(http://www.gnu.org/licenses/agpl.html)

Bug Tracker
===========
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported.

Credits
=======
* Cybrosys Techno Solutions <https://www.cybrosys.com>

Author
------

Developer: Sayooj A O @ Cybrosys

Maintainer
----------

This module is maintained by Cybrosys Technologies.

For support and more information, please visit https://www.cybrosys.com.

1 change: 1 addition & 0 deletions attendance_regularization/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
23 changes: 23 additions & 0 deletions attendance_regularization/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
'name': "Open HRMS Attendance Regularization",
'version': '12.0.1.0.0',
'summary': """Assigning Attendance for the Employees with Onsight Jobs""",
'description': """Assigning Attendance for the Employees with Onsight Jobs through the requests by Employees """,
'category': 'Human Resources',
'author': 'Cybrosys Techno solutions,Open HRMS',
'company': 'Cybrosys Techno Solutions',
'maintainer': 'Cybrosys Techno Solutions',
'website': "https://www.openhrms.com",
'depends': ['base', 'hr','hr_attendance','project','contacts','oh_employee_creation_from_user'],
'data': [
'security/ir.model.access.csv',
'security/security.xml',
'views/category.xml',
'views/regularization_views.xml',
],
'demo': [],
'images': ['static/description/banner.jpg'],
'license': "AGPL-3",
'installable': True,
'application': True,
}
6 changes: 6 additions & 0 deletions attendance_regularization/doc/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Module <attendance_regularization>

#### 18.09.2018
#### Version 12.0.1.0.0
##### ADD
- Initial commit for Open HRMS Project
1 change: 1 addition & 0 deletions attendance_regularization/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import regularization
61 changes: 61 additions & 0 deletions attendance_regularization/models/regularization.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
from odoo import fields, api, models


class Regular(models.Model):

_name = 'attendance.regular'
_rec_name = 'employee'
_description = 'Approval Request'
_inherit = ['mail.thread', 'mail.activity.mixin']

def _get_employee_id(self):
employee_rec = self.env['hr.employee'].search([('user_id', '=', self.env.uid)], limit=1)
return employee_rec.id

reg_category = fields.Many2one('reg.categories', string='Regularization Category', required=True)
from_date = fields.Datetime(string='From Date', required=True)
to_date = fields.Datetime(string='To Date', required=True)
reg_reason = fields.Text(string='Reason', required=True)
employee = fields.Many2one('hr.employee', string="Employee", default=_get_employee_id, readonly=True, required=True)
state_select = fields.Selection([('draft', 'Draft'), ('requested', 'Requested'), ('reject', 'Rejected'),
('approved', 'Approved')
], default='draft', track_visibility='onchange', string='State')

@api.multi
def submit_reg(self):
self.ensure_one()
self.sudo().write({
'state_select': 'requested'
})
return

@api.multi
def regular_approval(self):
self.write({
'state_select': 'approved'
})
vals = {

'check_in': self.from_date,
'check_out': self.to_date,
'employee_id': self.employee.id

}
approve = self.env['hr.attendance'].sudo().create(vals)
return

@api.multi
def regular_rejection(self):
self.write({
'state_select': 'reject'
})
return

class Category(models.Model):

_name = 'reg.categories'
_rec_name = 'type'

type = fields.Char(string='Category')


3 changes: 3 additions & 0 deletions attendance_regularization/security/ir.model.access.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
request,request_regular,model_attendance_regular,base.group_user,1,1,1,0
requestes,request_regulars,model_reg_categories,base.group_user,1,1,1,0
15 changes: 15 additions & 0 deletions attendance_regularization/security/security.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<record id="employee_visibility" model="ir.rule">
<field name="name">Attendance Visibility</field>
<field ref="model_attendance_regular" name="model_id"/>
<field name="domain_force">[('employee.address_home_id.id','=',user.partner_id.id)]</field>
<field name="groups" eval="[(4, ref('hr_attendance.group_hr_attendance'))]"/>
</record>
<record id="admin_visibility" model="ir.rule">
<field name="name">Admin Visibility</field>
<field ref="model_attendance_regular" name="model_id"/>
<field name="domain_force">[]</field>
<field name="groups" eval="[(4, ref('hr_attendance.group_hr_attendance_manager'))]"/>
</record>
</odoo>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading