diff --git a/hr_leave_request_aliasing/README.md b/hr_leave_request_aliasing/README.md index a2f71636d..bbebcea82 100644 --- a/hr_leave_request_aliasing/README.md +++ b/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 diff --git a/hr_leave_request_aliasing/__manifest__.py b/hr_leave_request_aliasing/__manifest__.py index 0af7ff4cb..5ec63469a 100644 --- a/hr_leave_request_aliasing/__manifest__.py +++ b/hr_leave_request_aliasing/__manifest__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ################################################################################### -# A part of OpenHRMS Project +# A part of Open HRMS Project # # Cybrosys Technologies Pvt. Ltd. # Copyright (C) 2018-TODAY Cybrosys Technologies (). @@ -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', diff --git a/hr_leave_request_aliasing/doc/RELEASE_NOTES.md b/hr_leave_request_aliasing/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..9005d58cc --- /dev/null +++ b/hr_leave_request_aliasing/doc/RELEASE_NOTES.md @@ -0,0 +1,11 @@ +## Module + +#### 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 diff --git a/hr_leave_request_aliasing/models/res_config.py b/hr_leave_request_aliasing/models/res_config.py index 6c2175a69..b01f49a7a 100644 --- a/hr_leave_request_aliasing/models/res_config.py +++ b/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 diff --git a/hr_leave_request_aliasing/models/web_planner.py b/hr_leave_request_aliasing/models/web_planner.py index 92705f3a9..e62a026d5 100644 --- a/hr_leave_request_aliasing/models/web_planner.py +++ b/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' diff --git a/hr_leave_request_aliasing/static/description/index.html b/hr_leave_request_aliasing/static/description/index.html index 08f644845..4faef8c08 100644 --- a/hr_leave_request_aliasing/static/description/index.html +++ b/hr_leave_request_aliasing/static/description/index.html @@ -1,20 +1,33 @@
-

OpenHRMS

+

Open HRMS

Most advanced open source HR management software

+ +
+
+
+
+ + + +
+
+
+
+
-

OH Leave Request Aliasing

-

This Module Allows You To Create Leave Request Automatically Directly From Incoming Emails

+

Open HRMS Leave Request Aliasing

+

Creating Leave Request, Automatically From Incoming Emails

Cybrosys Technologies

Features:

- Creating leave request automatically from incoming email.
- Option to set aliasing domain separately for leave request.
+ Automation on Leaves Request Mails.
+ Option to Set Aliasing Domain Separately for Leave Request.
@@ -32,31 +45,50 @@ +
+
+
+
+ +
+ + 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'. + +
+
+
-
-
-

Our Odoo Services

- - -
+
+
+

Our Odoo Services

+
+
+
+ + + +
+
-
-

Need Any Help?

- +
+

Need Any Help?

+
\ No newline at end of file diff --git a/hr_leave_request_aliasing/static/description/mail_aliasing.png b/hr_leave_request_aliasing/static/description/mail_aliasing.png new file mode 100644 index 000000000..5b499b18a Binary files /dev/null and b/hr_leave_request_aliasing/static/description/mail_aliasing.png differ