Browse Source

[UDT] Index Updated

pull/78/head
Sreejith 7 years ago
parent
commit
2491a64ce2
  1. 14
      hr_leave_request_aliasing/README.md
  2. 10
      hr_leave_request_aliasing/__manifest__.py
  3. 11
      hr_leave_request_aliasing/doc/RELEASE_NOTES.md
  4. 2
      hr_leave_request_aliasing/models/res_config.py
  5. 1
      hr_leave_request_aliasing/models/web_planner.py
  6. 88
      hr_leave_request_aliasing/static/description/index.html
  7. BIN
      hr_leave_request_aliasing/static/description/mail_aliasing.png

14
hr_leave_request_aliasing/README.md

@ -1,12 +1,20 @@
OHRMS Leave Request Aliasing
----------------------------
Supporting Addon for Open HRMS, Allows You To Create Leave Request Automatically From Incoming Emails
Open HRMS Leave Request Aliasing
--------------------------------
Supporting Addon for Open HRMS, Allows You To Create Leave Request Automatically From Incoming Emails.
Connect with experts
--------------------
If you have any question/queries/additional works on OpenHRMS or this module, You can drop an email directly to Cybrosys.
Technical Notes
---------------
Here you need to send leave request through email with the following rules.
* You must send leave request through your registered email id.
* Mail subject must be start with 'LEAVE REQUEST '
* Mail body must contain date as per given format (%d/%m/%Y)
Contacts
--------
info - info@cybrosys.com

10
hr_leave_request_aliasing/__manifest__.py

@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
###################################################################################
# A part of OpenHRMS Project <https://www.openhrms.com>
# A part of Open HRMS Project <https://www.openhrms.com>
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2018-TODAY Cybrosys Technologies (<https://www.cybrosys.com>).
@ -21,10 +21,10 @@
#
###################################################################################
{
'name': 'OHRMS Leave Request Aliasing',
'version': '10.0.1.0.0',
'summary': """Allows You To Create Leave Request Automatically From Incoming Emails""",
'description': 'This module allows you to create leave request automatically from incoming mails.',
'name': 'Open HRMS Leave Request Aliasing',
'version': '10.0.1.1.0',
'summary': """Allows You To Create Leave Request Automatically From Incoming Mails""",
'description': 'This module allows you to create leave request directly from incoming mails.',
'category': 'Generic Modules/Human Resources',
'author': 'Cybrosys Techno Solutions',
'company': 'Cybrosys Techno Solutions',

11
hr_leave_request_aliasing/doc/RELEASE_NOTES.md

@ -0,0 +1,11 @@
## Module <hr_leave_request_aliasing>
#### 07.04.2018
#### Version 10.0.1.1.0
##### CHG
- Index updated
#### 30.03.2018
#### Version 10.0.1.0.0
##### ADD
- Initial commit for Open HRMS Project

2
hr_leave_request_aliasing/models/res_config.py

@ -28,7 +28,7 @@ class HrLeaveConfigSettings(models.TransientModel):
_inherit = 'res.config.settings'
alias_prefix = fields.Char(string='Default Alias Name for Leave', help='Default Alias Name for Leave')
alias_domain = fields.Char(string='Alias Domain',
alias_domain = fields.Char(string='Alias Domain', help='Default Alias Domain for Leave',
default=lambda self: self.env["ir.config_parameter"].get_param("mail.catchall.domain"))
@api.model

1
hr_leave_request_aliasing/models/web_planner.py

@ -24,6 +24,7 @@ from odoo import api, models
class PlannerHrLeave(models.Model):
"""This class is used to activate web.planner feature in 'hr_leave_request_aliasing' module"""
_inherit = 'web.planner'

88
hr_leave_request_aliasing/static/description/index.html

@ -1,20 +1,33 @@
<section class="oe_container">
<div class="oe_row">
<h2 class="oe_slogan">OpenHRMS</h2>
<h2 class="oe_slogan"><a href="https://www.openhrms.com">Open HRMS</a></h2>
<h3 class="oe_slogan">Most advanced open source HR management software</h3>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_spaced oe_mt32">
<div class="oe_span">
<div class="oe_demo oe_picture oe_screenshot">
<a href="https://www.openhrms.com/#request-demo">
<img src="HRMS-BUTTON.png">
</a>
</div>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">OH Leave Request Aliasing</h2>
<h3 class="oe_slogan">This Module Allows You To Create Leave Request Automatically Directly From Incoming Emails</h3>
<h2 class="oe_slogan">Open HRMS Leave Request Aliasing</h2>
<h3 class="oe_slogan">Creating Leave Request, Automatically From Incoming Emails</h3>
<h4 class="oe_slogan"><a href="https://www.cybrosys.com">Cybrosys Technologies</a> </h4>
</div>
<div class="oe_row oe_spaced" style="padding-left:65px;">
<h4>Features:</h4>
<div>
<span style="color:green;"> &#9745; </span> Creating leave request automatically from incoming email.<br/>
<span style="color:green;"> &#9745; </span> Option to set aliasing domain separately for leave request.<br/>
<span style="color:green;"> &#9745; </span> Automation on Leaves Request Mails.<br/>
<span style="color:green;"> &#9745; </span> Option to Set Aliasing Domain Separately for Leave Request.<br/>
</div>
</div>
</section>
@ -32,31 +45,50 @@
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_spaced">
<div class="oe_span12" style="text-align: center;">
<div class="oe_demo oe_picture oe_screenshot">
<img style="border:8px solid white;" src="mail_aliasing.png">
</div>
<span>
<i>Here we can send leave request through our registered email id. Then it will create leave
request in Odoo. We must ensure that our mail subject must start with 'LEAVE REQUEST ' and date
format must be as '%d/%m/%Y'.</i>
</span>
</div>
</div>
</section>
<div class="row section-content">
<div class="col-md-6 img-content">
<h3>Our Odoo Services</h3>
</div> <div class="bc-span col-md-12"><div class="inner-span"><a target="_blank" href="https://www.openhrms.com"><img class="img-border img-responsive thumbnail" src="cybro-service.png"></a></div></div>
<div class="row section-content">
<div class="col-md-6 img-content">
<h3>Our Odoo Services</h3>
</div>
<div class="bc-span col-md-12">
<div class="inner-span">
<a target="_blank" href="https://www.openhrms.com">
<img class="img-border img-responsive thumbnail" src="cybro-service.png">
</a>
</div>
</div>
</div>
<section class="oe_container">
<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="http://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="http://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="http://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>
<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>
</section>

BIN
hr_leave_request_aliasing/static/description/mail_aliasing.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Loading…
Cancel
Save