Browse Source

[ADD] Initial Commit

pull/78/head
Sreejith 7 years ago
parent
commit
d240f2cb4d
  1. 35
      employee_attendance/README.rst
  2. 2
      employee_attendance/__init__.py
  3. 41
      employee_attendance/__manifest__.py
  4. 20
      employee_attendance/data/employee_attendance.xml
  5. BIN
      employee_attendance/static/description/banner.jpg
  6. BIN
      employee_attendance/static/description/cybro_logo.png
  7. BIN
      employee_attendance/static/description/employee_attendance.png
  8. BIN
      employee_attendance/static/description/icon.png
  9. 67
      employee_attendance/static/description/index.html

35
employee_attendance/README.rst

@ -0,0 +1,35 @@
Employee Attendance v10
=======================
Right now in Odoo for the manual attendance level users, there is no option to see their attendance.
This module will come that drawback, by adding that feature to manual attendance level users
Depends
=======
[hr_attendance] addon Odoo
Tech
====
* [XML] - Odoo views
Installation
============
- www.odoo.com/documentation/10.0/setup/install.html
- Install our custom addon
Bug Tracker
===========
Contact odoo@cybrosys.com
Authors
-------
* Cybrosys <www.cybrosys.com>
Maintainer
----------
This module is maintained by Cybrosys Technologies.
For support and more information, please visit https://www.cybrosys.com.

2
employee_attendance/__init__.py

@ -0,0 +1,2 @@
# -*- coding: utf-8 -*-

41
employee_attendance/__manifest__.py

@ -0,0 +1,41 @@
# -*- coding: utf-8 -*-
###################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2017 Niyas Raphy(<https://www.cybrosys.com>)
#
# This program is free software: you can modify
# it under the terms of the GNU Affero General Public License (AGPL) as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# 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 Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
###################################################################################
{
'name': 'Employee Attendance',
'version': '10.0.1.0.0',
'summary': 'Employee Can View His/Her Attendance',
'description': 'Employee Can View His/Her Attendance',
'category': 'Human Resources',
'author': 'Cybrosys Techno solutions',
'maintainer': 'Cybrosys Techno Solutions',
'company': 'Cybrosys Techno Solutions',
'website': 'https://www.cybrosys.com',
'depends': ['hr_attendance'],
'data': [
'data/employee_attendance.xml',
],
'license': 'AGPL-3',
'installable': True,
'application': False,
'auto_install': False,
}

20
employee_attendance/data/employee_attendance.xml

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="hr_attendance_personal_rule" model="ir.rule">
<field name="name">Employee Attendance View</field>
<field ref="hr_attendance.model_hr_attendance" name="model_id"/>
<field name="domain_force">['|',('employee_id.user_id','=',user.id),('employee_id.user_id','=',False)]</field>
<field name="groups" eval="[(4, ref('base.group_user'))]"/>
</record>
<record id="hr_attendance.menu_hr_attendance_manage_attendances" model="ir.ui.menu">
<field eval="[(4,ref('hr.group_hr_attendance'))]" name="groups_id"/>
</record>
<record id="hr_attendance.menu_hr_attendance_view_attendances" model="ir.ui.menu">
<field eval="[(4,ref('hr.group_hr_attendance'))]" name="groups_id"/>
</record>
</data>
</odoo>

BIN
employee_attendance/static/description/banner.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

BIN
employee_attendance/static/description/cybro_logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
employee_attendance/static/description/employee_attendance.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
employee_attendance/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

67
employee_attendance/static/description/index.html

@ -0,0 +1,67 @@
<section class="oe_container">
<div class="oe_row oe_spaced">
<div class="oe_span12">
<h2 class="oe_slogan">Employee Attendance</h2>
<h3 class="oe_slogan">Attendance View for Employee</h3>
<h3 class="oe_slogan"><a href="https://www.cybrosys.com">Cybrosys Technologies</a> </h3>
</div>
<div class="oe_row oe_spaced">
<h4><p style="margin-left: 42px;">Major Features:</p></h4>
<ul>
<li style="list-style:none !important;"><span style="color:green;"> &#9733;</span>&nbsp;&nbsp; Employee can view their attendance</li>
<li style="list-style:none !important;"><span style="color:green;"> &#9733;</span>&nbsp;&nbsp; View Login, Logout timings</li>
</ul>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced">
<div class="oe_picture">
<h3 class="oe_slogan">Overview</h3>
<p class="oe_mt32">Currently, Odoo does not support attendance view for normal
users. Normal users can register their sign in/ sign out time, but they cant
view the attendance log later. Employee attendance module will add this
feature so that the normal employees also can view their attendance details.
</p>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<div class="oe_span12">
<p><h1>Attendance Menu</h1> </p>
<div class="oe_demo oe_picture oe_screenshot">
<img src="employee_attendance.png">
</div>
</div>
</div>
</section>
<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;">
<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;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;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>
</section>
Loading…
Cancel
Save