@ -0,0 +1,48 @@ |
|||||
|
Employee Orientation v15 |
||||
|
======================== |
||||
|
This module developed to manage employee orientation&training programs. |
||||
|
|
||||
|
|
||||
|
Configuration |
||||
|
============= |
||||
|
* No additional configurations needed |
||||
|
|
||||
|
Company |
||||
|
------- |
||||
|
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__ |
||||
|
|
||||
|
Credits |
||||
|
------- |
||||
|
* Developers: Anusha @cybrosys, odoo@cybrosys.com |
||||
|
Niyas V11 @cybrosys, odoo@cybrosys.com |
||||
|
Kavya Raveendran V12 odoo@cybrosys.com |
||||
|
Nimisha Murali V13 @cybrosys odoo@cybrosys.com |
||||
|
Muhammed P V14 @cybrosys odoo@cybrosys.com |
||||
|
Gion V15 @cybrosys odoo@cybrosys.com |
||||
|
|
||||
|
|
||||
|
Contacts |
||||
|
-------- |
||||
|
* Mail Contact : odoo@cybrosys.com |
||||
|
* Website : https://cybrosys.com |
||||
|
|
||||
|
Bug Tracker |
||||
|
----------- |
||||
|
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. |
||||
|
|
||||
|
Maintainer |
||||
|
========== |
||||
|
.. image:: https://cybrosys.com/images/logo.png |
||||
|
:target: https://cybrosys.com |
||||
|
|
||||
|
This module is maintained by Cybrosys Technologies. |
||||
|
|
||||
|
For support and more information, please visit `Our Website <https://cybrosys.com/>`__ |
||||
|
|
||||
|
Further information |
||||
|
=================== |
||||
|
HTML Description: `<static/description/index.html>`__ |
||||
|
|
||||
|
|
||||
|
|
||||
|
|
@ -0,0 +1,24 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Anusha @cybrosys(odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# 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 (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
|
||||
|
from . import models |
||||
|
from . import wizard |
@ -0,0 +1,49 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2021-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# 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 (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
|
||||
|
{ |
||||
|
'name': "Employee Orientation & Training", |
||||
|
'version': '15.0.1.0.0', |
||||
|
'category': "Generic Modules/Human Resources", |
||||
|
'summary': """Employee Orientation/Training Program""", |
||||
|
'description': 'Complete Employee Orientation/Training Program', |
||||
|
'author': 'Cybrosys Techno Solutions', |
||||
|
'company': 'Cybrosys Techno Solutions', |
||||
|
'website': 'https://www.cybrosys.com', |
||||
|
'depends': ['base', 'hr'], |
||||
|
'data': [ |
||||
|
'views/orientation_checklist_line.xml', |
||||
|
'views/employee_orientation.xml', |
||||
|
'views/orientation_checklist.xml', |
||||
|
'views/orientation_checklists_request.xml', |
||||
|
'views/orientation_checklist_sequence.xml', |
||||
|
'views/orientation_request_mail_template.xml', |
||||
|
'views/print_pack_certificates_template.xml', |
||||
|
'views/report.xml', |
||||
|
'views/employee_training.xml', |
||||
|
'security/ir.model.access.csv', |
||||
|
], |
||||
|
'images': ['static/description/banner.png'], |
||||
|
'license': 'AGPL-3', |
||||
|
'installable': True, |
||||
|
'auto_install': False, |
||||
|
'application': False, |
||||
|
} |
@ -0,0 +1,8 @@ |
|||||
|
## Module <employee_orientation> |
||||
|
|
||||
|
#### 25.10.2021 |
||||
|
#### Version 15.0.1.0.0 |
||||
|
#### ADD |
||||
|
Initial Commit |
||||
|
|
||||
|
|
@ -0,0 +1,28 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Anusha @cybrosys(odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# 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 (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
|
||||
|
from . import orientation_checklist_line |
||||
|
from . import orientation_checklist |
||||
|
from . import employee_orientation |
||||
|
from . import orientation_checklist_request |
||||
|
from . import employee_training |
||||
|
from . import report |
@ -0,0 +1,90 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Anusha @cybrosys(odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# 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 (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from odoo import api, fields, models, _ |
||||
|
|
||||
|
|
||||
|
class Orientation(models.Model): |
||||
|
_name = 'employee.orientation' |
||||
|
_description = "Employee Orientation" |
||||
|
_inherit = 'mail.thread' |
||||
|
|
||||
|
name = fields.Char(string='Employee Orientation', readonly=True, default=lambda self: _('New')) |
||||
|
employee_name = fields.Many2one('hr.employee', string='Employee', size=32, required=True) |
||||
|
department = fields.Many2one('hr.department', string='Department', related='employee_name.department_id', |
||||
|
required=True) |
||||
|
date = fields.Datetime(string="Date") |
||||
|
# date = fields.Datetime.to_string(dateText) |
||||
|
responsible_user = fields.Many2one('res.users', string='Responsible User') |
||||
|
employee_company = fields.Many2one('res.company', string='Company', required=True, |
||||
|
default=lambda self: self.env.user.company_id) |
||||
|
parent_id = fields.Many2one('hr.employee', string='Manager', related='employee_name.parent_id') |
||||
|
job_id = fields.Many2one('hr.job', string='Job Title', related='employee_name.job_id', |
||||
|
domain="[('department_id', '=', department)]") |
||||
|
orientation_id = fields.Many2one('orientation.checklist', string='Orientation Checklist', |
||||
|
domain="[('checklist_department','=', department)]", required=True) |
||||
|
note_id = fields.Text('Description') |
||||
|
orientation_request = fields.One2many('orientation.request', 'request_orientation', string='Orientation Request') |
||||
|
state = fields.Selection([ |
||||
|
('draft', 'Draft'), |
||||
|
('confirm', 'Confirmed'), |
||||
|
('cancel', 'Canceled'), |
||||
|
('complete', 'Completed'), |
||||
|
], string='Status', readonly=True, copy=False, index=True, track_visibility='onchange', default='draft') |
||||
|
|
||||
|
def confirm_orientation(self): |
||||
|
self.write({'state': 'confirm'}) |
||||
|
for values in self.orientation_id.checklist_line_id: |
||||
|
self.env['orientation.request'].create({ |
||||
|
'request_name': values.line_name, |
||||
|
'request_orientation': self.id, |
||||
|
'partner_id': values.responsible_user.id, |
||||
|
'request_date': self.date, |
||||
|
'employee_id': self.employee_name.id, |
||||
|
}) |
||||
|
|
||||
|
def cancel_orientation(self): |
||||
|
for request in self.orientation_request: |
||||
|
request.state = 'cancel' |
||||
|
self.write({'state': 'cancel'}) |
||||
|
|
||||
|
def complete_orientation(self): |
||||
|
force_complete = False |
||||
|
for request in self.orientation_request: |
||||
|
if request.state == 'new': |
||||
|
force_complete = True |
||||
|
if force_complete: |
||||
|
return { |
||||
|
'name': 'Complete Orientation', |
||||
|
'view_type': 'form', |
||||
|
'view_mode': 'form', |
||||
|
'res_model': 'orientation.force.complete', |
||||
|
'type': 'ir.actions.act_window', |
||||
|
'context': {'default_orientation_id': self.id}, |
||||
|
'target': 'new', |
||||
|
} |
||||
|
self.write({'state': 'complete'}) |
||||
|
|
||||
|
@api.model |
||||
|
def create(self, vals): |
||||
|
vals['name'] = self.env['ir.sequence'].next_by_code('employee.orientation') |
||||
|
result = super(Orientation, self).create(vals) |
||||
|
return result |
@ -0,0 +1,124 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Anusha @cybrosys(odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# 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 (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
|
||||
|
from dateutil.relativedelta import relativedelta |
||||
|
from datetime import datetime, timedelta |
||||
|
from odoo import api, fields, models, _ |
||||
|
|
||||
|
|
||||
|
class HrEmployee(models.Model): |
||||
|
_inherit = 'hr.employee' |
||||
|
|
||||
|
certificates = fields.Boolean(default=True, string="Certificates") |
||||
|
|
||||
|
|
||||
|
class EmployeeTraining(models.Model): |
||||
|
_name = 'employee.training' |
||||
|
_rec_name = 'program_name' |
||||
|
_description = "Employee Training" |
||||
|
_inherit = 'mail.thread' |
||||
|
|
||||
|
program_name = fields.Char(string='Training Program', required=True) |
||||
|
program_department = fields.Many2one('hr.department', string='Department', required=True) |
||||
|
program_convener = fields.Many2one('res.users', string='Responsible User', size=32, required=True) |
||||
|
training_id = fields.One2many('hr.employee', string='Employee Details', compute="employee_details") |
||||
|
note_id = fields.Text('Description') |
||||
|
date_from = fields.Datetime(string="Date From") |
||||
|
date_to = fields.Datetime(string="Date To") |
||||
|
user_id = fields.Many2one('res.users', string='users', default=lambda self: self.env.user) |
||||
|
company_id = fields.Many2one('res.company', string='Company', required=True, |
||||
|
default=lambda self: self.env.user.company_id) |
||||
|
|
||||
|
state = fields.Selection([ |
||||
|
('new', 'New'), |
||||
|
('confirm', 'Confirmed'), |
||||
|
('cancel', 'Canceled'), |
||||
|
('complete', 'Completed'), |
||||
|
('print', 'Print'), |
||||
|
], string='Status', readonly=True, copy=False, index=True, track_visibility='onchange', default='new') |
||||
|
|
||||
|
@api.onchange('program_department') |
||||
|
def employee_details(self): |
||||
|
datas = self.env['hr.employee'].search([('department_id', '=', self.program_department.id)]) |
||||
|
self.training_id = datas |
||||
|
|
||||
|
def print_event(self): |
||||
|
self.ensure_one() |
||||
|
started_date = datetime.strftime(self.create_date, "%Y-%m-%d ") |
||||
|
duration = (self.write_date - self.create_date).days |
||||
|
pause = relativedelta(hours=0) |
||||
|
difference = relativedelta(self.write_date, self.create_date) - pause |
||||
|
hours = difference.hours |
||||
|
minutes = difference.minutes |
||||
|
data = { |
||||
|
'dept_id': self.program_department.id, |
||||
|
'program_name': self.program_name, |
||||
|
'company_name': self.company_id.name, |
||||
|
'date_to': started_date, |
||||
|
'duration': duration, |
||||
|
'hours': hours, |
||||
|
'minutes': minutes, |
||||
|
'program_convener': self.program_convener.name, |
||||
|
|
||||
|
} |
||||
|
return self.env.ref('employee_orientation.print_pack_certificates').report_action(self, data=data) |
||||
|
|
||||
|
def complete_event(self): |
||||
|
self.write({'state': 'complete'}) |
||||
|
|
||||
|
def confirm_event(self): |
||||
|
self.write({'state': 'confirm'}) |
||||
|
|
||||
|
def cancel_event(self): |
||||
|
self.write({'state': 'cancel'}) |
||||
|
|
||||
|
def confirm_send_mail(self): |
||||
|
self.ensure_one() |
||||
|
ir_model_data = self.env['ir.model.data'] |
||||
|
try: |
||||
|
template_id = ir_model_data._xmlid_lookup('employee_orientation.orientation_training_mailer')[2] |
||||
|
except ValueError: |
||||
|
template_id = False |
||||
|
try: |
||||
|
compose_form_id = ir_model_data._xmlid_lookup('mail.email_compose_message_wizard_form')[2] |
||||
|
except ValueError: |
||||
|
compose_form_id = False |
||||
|
ctx = dict(self.env.context or {}) |
||||
|
ctx.update({ |
||||
|
'default_model': 'employee.training', |
||||
|
'default_res_id': self.ids[0], |
||||
|
'default_use_template': bool(template_id), |
||||
|
'default_template_id': template_id, |
||||
|
'default_composition_mode': 'comment', |
||||
|
}) |
||||
|
|
||||
|
return { |
||||
|
'name': _('Compose Email'), |
||||
|
'type': 'ir.actions.act_window', |
||||
|
'view_type': 'form', |
||||
|
'view_mode': 'form', |
||||
|
'res_model': 'mail.compose.message', |
||||
|
'views': [(compose_form_id, 'form')], |
||||
|
'view_id': compose_form_id, |
||||
|
'target': 'new', |
||||
|
'context': ctx, |
||||
|
} |
@ -0,0 +1,43 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Anusha @cybrosys(odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# 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 (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
|
||||
|
from odoo import models, fields, _ |
||||
|
|
||||
|
|
||||
|
class OrientationChecklist(models.Model): |
||||
|
_name = 'orientation.checklist' |
||||
|
_description = "Checklist" |
||||
|
_rec_name = 'checklist_name' |
||||
|
_inherit = 'mail.thread' |
||||
|
|
||||
|
checklist_name = fields.Char(string='Name', required=True) |
||||
|
checklist_department = fields.Many2one('hr.department', string='Department', required=True) |
||||
|
active = fields.Boolean(string='Active', default=True, |
||||
|
help="Set active to false to hide the Orientation Checklist without removing it.") |
||||
|
checklist_line_id = fields.Many2many('checklist.line', 'checklist_line_rel', String="Checklist") |
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
||||
|
|
@ -0,0 +1,31 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Anusha @cybrosys(odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# 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 (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
|
||||
|
from odoo import models, fields |
||||
|
|
||||
|
|
||||
|
class ChecklistLine(models.Model): |
||||
|
_name = 'checklist.line' |
||||
|
_rec_name = 'line_name' |
||||
|
|
||||
|
line_name = fields.Char(string='Name', required=True) |
||||
|
responsible_user = fields.Many2one('res.users', string='Responsible User', required=True) |
@ -0,0 +1,88 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Anusha @cybrosys(odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# 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 (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
|
||||
|
from odoo import models, fields, api |
||||
|
from odoo.tools.translate import _ |
||||
|
|
||||
|
|
||||
|
class OrientationChecklistRequest(models.Model): |
||||
|
_name = 'orientation.request' |
||||
|
_description = "Employee Orientation Request" |
||||
|
_rec_name = 'request_name' |
||||
|
_inherit = 'mail.thread' |
||||
|
|
||||
|
request_name = fields.Char(string='Name') |
||||
|
request_orientation = fields.Many2one('employee.orientation', string='Employee Orientation') |
||||
|
employee_company = fields.Many2one('res.company', string='Company', required=True, |
||||
|
default=lambda self: self.env.user.company_id) |
||||
|
partner_id = fields.Many2one('res.users', string='Responsible User') |
||||
|
request_date = fields.Date(string="Date") |
||||
|
employee_id = fields.Many2one('hr.employee', string='Employee') |
||||
|
request_expected_date = fields.Date(string="Expected Date") |
||||
|
attachment_id_1 = fields.Many2many('ir.attachment', 'orientation_rel_1', string="Attachment") |
||||
|
note_id = fields.Text('Description') |
||||
|
user_id = fields.Many2one('res.users', string='users', default=lambda self: self.env.user) |
||||
|
company_id = fields.Many2one('res.company', string='Company', required=True, |
||||
|
default=lambda self: self.env.user.company_id) |
||||
|
state = fields.Selection([ |
||||
|
('new', 'New'), |
||||
|
('cancel', 'Cancel'), |
||||
|
('complete', 'Completed'), |
||||
|
], string='Status', readonly=True, copy=False, index=True, track_visibility='onchange', default='new') |
||||
|
|
||||
|
def confirm_send_mail(self): |
||||
|
self.ensure_one() |
||||
|
ir_model_data = self.env['ir.model.data'] |
||||
|
try: |
||||
|
template_id = ir_model_data._xmlid_lookup('employee_orientation.orientation_request_mailer')[2] |
||||
|
except ValueError: |
||||
|
template_id = False |
||||
|
try: |
||||
|
compose_form_id = ir_model_data._xmlid_lookup('mail.email_compose_message_wizard_form')[2] |
||||
|
except ValueError: |
||||
|
compose_form_id = False |
||||
|
ctx = dict(self.env.context or {}) |
||||
|
ctx.update({ |
||||
|
'default_model': 'orientation.request', |
||||
|
'default_res_id': self.ids[0], |
||||
|
'default_use_template': bool(template_id), |
||||
|
'default_template_id': template_id, |
||||
|
'default_composition_mode': 'comment', |
||||
|
}) |
||||
|
|
||||
|
return { |
||||
|
'name': _('Compose Email'), |
||||
|
'type': 'ir.actions.act_window', |
||||
|
'view_type': 'form', |
||||
|
'view_mode': 'form', |
||||
|
'res_model': 'mail.compose.message', |
||||
|
'views': [(compose_form_id, 'form')], |
||||
|
'view_id': compose_form_id, |
||||
|
'target': 'new', |
||||
|
'context': ctx, |
||||
|
} |
||||
|
|
||||
|
def confirm_request(self): |
||||
|
self.write({'state': "complete"}) |
||||
|
|
||||
|
def cancel_request(self): |
||||
|
self.write({'state': "cancel"}) |
@ -0,0 +1,53 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Anusha @cybrosys(odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# 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 (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
from odoo import api, models, _ |
||||
|
|
||||
|
|
||||
|
class PackingReportValues(models.AbstractModel): |
||||
|
_name = 'report.employee_orientation.print_pack_template' |
||||
|
|
||||
|
@api.model |
||||
|
def _get_report_values(self, docids, data=None): |
||||
|
|
||||
|
lst = [] |
||||
|
empl_obj = self.env['hr.employee'].search([('department_id', '=', data['dept_id'])]) |
||||
|
docs = self.env['hr.employee'].browse(docids) |
||||
|
|
||||
|
for line in empl_obj: |
||||
|
lst.append({ |
||||
|
'doc_ids': docs.ids, |
||||
|
'doc_model': 'hr.employee', |
||||
|
'name': line.name, |
||||
|
'department_id': line.department_id.name, |
||||
|
'program_name': data['program_name'], |
||||
|
'company_name': data['company_name'], |
||||
|
'date_to': data['date_to'], |
||||
|
'program_convener': data['program_convener'], |
||||
|
'duration': data['duration'], |
||||
|
'hours': data['hours'], |
||||
|
'minutes': data['minutes'], |
||||
|
}) |
||||
|
|
||||
|
return { |
||||
|
'data': lst, |
||||
|
} |
||||
|
|
|
After Width: | Height: | Size: 3.6 KiB |
After Width: | Height: | Size: 310 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 576 B |
After Width: | Height: | Size: 733 B |
After Width: | Height: | Size: 911 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 673 B |
After Width: | Height: | Size: 878 B |
After Width: | Height: | Size: 653 B |
After Width: | Height: | Size: 905 B |
After Width: | Height: | Size: 839 B |
After Width: | Height: | Size: 427 B |
After Width: | Height: | Size: 627 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 988 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 51 KiB |
After Width: | Height: | Size: 61 KiB |
After Width: | Height: | Size: 60 KiB |
After Width: | Height: | Size: 59 KiB |
After Width: | Height: | Size: 52 KiB |
After Width: | Height: | Size: 54 KiB |
After Width: | Height: | Size: 146 KiB |
After Width: | Height: | Size: 190 KiB |
After Width: | Height: | Size: 142 KiB |
After Width: | Height: | Size: 218 KiB |
After Width: | Height: | Size: 255 KiB |
After Width: | Height: | Size: 150 KiB |
After Width: | Height: | Size: 261 KiB |
After Width: | Height: | Size: 256 KiB |
After Width: | Height: | Size: 245 KiB |
After Width: | Height: | Size: 260 KiB |
After Width: | Height: | Size: 59 KiB |
After Width: | Height: | Size: 16 KiB |
@ -0,0 +1,698 @@ |
|||||
|
<div class="container" style="padding: 1rem !important; margin-bottom: 1rem !important;"> |
||||
|
<div class="row"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between" |
||||
|
style="border-bottom: 1px solid #d5d5d5;"> |
||||
|
<div class="my-3"> |
||||
|
<img src="./assets/icons/logo.png" style="width: auto !important; height: 40px !important;"> |
||||
|
</div> |
||||
|
<div class="my-3 d-flex align-items-center"> |
||||
|
<div |
||||
|
style="background-color: #7C7BAD !important; color: #fff !important; font-weight: 600 !important; padding: 5px 15px 8px !important; margin: 0 5px !important;"> |
||||
|
<i class="fa fa-check mr-1"></i>Community |
||||
|
</div> |
||||
|
<div |
||||
|
style="background-color: #875A7B !important; color: #fff !important; font-weight: 600 !important; padding: 5px 15px 8px !important; margin: 0 5px !important;"> |
||||
|
<i class="fa fa-check mr-1"></i>Enterprise |
||||
|
</div> |
||||
|
|
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="container" style="padding: 0rem 1.5rem 4rem !important"> |
||||
|
<div class="row" style="height: 900px !important;"> |
||||
|
<div class="col-sm-12 col-md-12 col-lg-12" |
||||
|
style="padding: 4rem 1rem !important; background-color: #714B67 !important; height: 600px !important; border-radius: 20px !important;"> |
||||
|
<h1 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #FFFFFF !important; font-size: 3.5rem !important; text-align: center !important;"> |
||||
|
Employee Orientation & Training</h1> |
||||
|
<p |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 300 !important; color: #FFFFFF !important; font-size: 1.4rem !important; text-align: center !important;"> |
||||
|
This may help reduce turnover and increase productivity |
||||
|
</p> |
||||
|
<img src="./assets/screenshots/hero.png" class="img-responsive" width="100%" height="auto" /> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="row"> |
||||
|
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin-bottom: 2rem !important"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;"> |
||||
|
<i class="fa fa-compass mr-2"></i>Explore this module |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="col-md-6"> |
||||
|
<a href="#overview" style="text-decoration: none !important;"> |
||||
|
<div class="row" |
||||
|
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;"> |
||||
|
<div class="col-8"> |
||||
|
<h3 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;"> |
||||
|
Overview</h3> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;"> |
||||
|
Learn more about this module</p> |
||||
|
</div> |
||||
|
<div class="col-4 text-right d-flex justify-content-end align-items-center"> |
||||
|
<i class="fa fa-chevron-right" style="color: #714B67 !important;"></i> |
||||
|
</div> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-md-6"> |
||||
|
<a href="#features" style="text-decoration: none !important;"> |
||||
|
<div class="row" |
||||
|
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;"> |
||||
|
<div class="col-8"> |
||||
|
<h3 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;"> |
||||
|
Features</h3> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;"> |
||||
|
View features of this module</p> |
||||
|
</div> |
||||
|
<div class="col-4 text-right d-flex justify-content-end align-items-center"> |
||||
|
<i class="fa fa-chevron-right" style="color: #714B67 !important;"></i> |
||||
|
</div> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-md-6"> |
||||
|
<a href="#screenshots" style="text-decoration: none !important;"> |
||||
|
<div class="row" |
||||
|
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;"> |
||||
|
<div class="col-8"> |
||||
|
<h3 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;"> |
||||
|
Screenshots</h3> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;"> |
||||
|
See key screenshots of this module</p> |
||||
|
</div> |
||||
|
<div class="col-4 text-right d-flex justify-content-end align-items-center"> |
||||
|
<i class="fa fa-chevron-right" style="color: #714B67 !important;"></i> |
||||
|
</div> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<!-- <div class="col-md-6"> |
||||
|
<a href="#video" style="text-decoration: none !important;"> |
||||
|
<div class="row" |
||||
|
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;"> |
||||
|
<div class="col-8"> |
||||
|
<h3 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;"> |
||||
|
Video</h3> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;"> |
||||
|
Watch tutorial video on this module</p> |
||||
|
</div> |
||||
|
<div class="col-4 text-right d-flex justify-content-end align-items-center"> |
||||
|
<i class="fa fa-chevron-right" style="color: #714B67 !important;"></i> |
||||
|
</div> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> --> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
<div class="row" id="overview"> |
||||
|
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;"> |
||||
|
<i class="fa fa-pie-chart mr-2"></i>Overview |
||||
|
</h2> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-mg-12 pl-3"> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important; line-height: 30px !important;"> |
||||
|
Employee orientation/training is the process by which an employee acquires the necessary skills, |
||||
|
knowledge, behaviors, and contacts to effectively transition into a new organization.It can enhance the |
||||
|
overall satisfaction of employees and can encourage a positive attitude about the employer. Employees |
||||
|
view companies that offer meaningful benefits as more caring and engaged with their needs. This may help |
||||
|
reduce turnover and increase productivity.</p> |
||||
|
|
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
<div class="row" id="features"> |
||||
|
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;"> |
||||
|
<i class="fa fa-star mr-2"></i>Features |
||||
|
</h2> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-md-6 pl-3 py-3 d-flex"> |
||||
|
<div> |
||||
|
<img src="assets/icons/check.png"> |
||||
|
</div> |
||||
|
<div> |
||||
|
<h4 |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Makes the Employee Orientation Program easier</h4> |
||||
|
|
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="col-md-6 pl-3 py-3 d-flex"> |
||||
|
<div> |
||||
|
<img src="assets/icons/check.png"> |
||||
|
</div> |
||||
|
<div> |
||||
|
<h4 |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Systematical Workflow</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-md-6 pl-3 py-3 d-flex"> |
||||
|
<div> |
||||
|
<img src="assets/icons/check.png"> |
||||
|
</div> |
||||
|
<div> |
||||
|
<h4 |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Allows to Create Employee Training Programs</h4> |
||||
|
|
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-md-6 pl-3 py-3 d-flex"> |
||||
|
<div> |
||||
|
<img src="assets/icons/check.png"> |
||||
|
</div> |
||||
|
<div> |
||||
|
<h4 |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Email Notification for each Responsible person</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-md-6 pl-3 py-3 d-flex"> |
||||
|
<div> |
||||
|
<img src="assets/icons/check.png"> |
||||
|
</div> |
||||
|
<div> |
||||
|
<h4 |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Certificates for training program attendees</h4> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
</div> |
||||
|
|
||||
|
<div class="row" id="screenshots"> |
||||
|
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;"> |
||||
|
<i class="fa fa-image mr-2"></i>Screenshots |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="col-lg-12 my-2"> |
||||
|
<h4 class="mt-2" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Orientation Checklist</h4> |
||||
|
|
||||
|
<img src="assets/screenshots/orientation-1.png" class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto" /> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Orientation Checklist Line</h4> |
||||
|
|
||||
|
<img src="assets/screenshots/orientation-2.png" class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto" /> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Employee Orientation</h4> |
||||
|
|
||||
|
<img src="assets/screenshots/orientation-3.png" class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto" /> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Automatic creation of checklist lines</h4> |
||||
|
|
||||
|
<img src="assets/screenshots/orientation-4.png" class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto" /> |
||||
|
|
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Orientation Request</h4> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
Confirming orientation will create orientation requests automatically. |
||||
|
</p> |
||||
|
<img src="assets/screenshots/orientation-5.png" class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto" /> |
||||
|
<br> |
||||
|
<p |
||||
|
style="margin-top: 2rem !important; font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
Orientation requests with the corresponding employee orientation are added |
||||
|
</p> |
||||
|
<img src="assets/screenshots/orientation-6.png" class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto" /> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Email Template</h4> |
||||
|
|
||||
|
<img src="assets/screenshots/orientation-7.png" class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto" /> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Employee Training</h4> |
||||
|
|
||||
|
<img src="assets/screenshots/orientation-8.png" class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto" /> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-12 my-3"> |
||||
|
<h4 class="mt-3" |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;"> |
||||
|
Print Certificates</h4> |
||||
|
<p |
||||
|
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;"> |
||||
|
Book issued history in each book. |
||||
|
</p> |
||||
|
<img src="assets/screenshots/orientation-9.png" class="img-responsive img-thumbnail border" width="100%" |
||||
|
height="auto" /> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
</div> |
||||
|
|
||||
|
<!-- <div class="row" id="video"> |
||||
|
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important"> |
||||
|
<h2 |
||||
|
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;"> |
||||
|
<i class="fa fa-image mr-2"></i>Video |
||||
|
</h2> |
||||
|
</div> |
||||
|
<div class="col-12 d-flex justify-content-center"> |
||||
|
<div class="s_panel_video" data-video-id="LOQDtQbcVS0"> |
||||
|
<img class="img-fluid s_tooltip_tabs_tooltip_image s_figure_link pb0" |
||||
|
src="assets/screenshots/library-management-youtube.png" alt="Cybrosys Cover Video" |
||||
|
style="max-width:100%"> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> --> |
||||
|
|
||||
|
<!-- SUGGESTED PRODUCTS --> |
||||
|
<div class="row"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center" |
||||
|
style="text-align: center; padding: 2.5rem 1rem !important;"> |
||||
|
<h2 style="color: #212529 !important;">Suggested Products</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" /> |
||||
|
|
||||
|
<div id="demo1" class="row carousel slide" data-ride="carousel"> |
||||
|
<!-- The slideshow --> |
||||
|
<div class="carousel-inner"> |
||||
|
<div class="carousel-item active" style="min-height:0px"> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/14.0/export_stockinfo_xls/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/export_image.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/14.0/dashboard_pos/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/pos_image.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/14.0/product_approval_management/" |
||||
|
target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/approval_image.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="carousel-item" style="min-height:0px"> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/14.0/base_account_budget/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/budget_image.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/14.0/shopify_odoo_connector/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/shopify_image.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left"> |
||||
|
<a href="https://apps.odoo.com/apps/modules/14.0/odoo11_magento2/" target="_blank"> |
||||
|
<div style="border-radius:10px"> |
||||
|
<img class="img img-responsive center-block" |
||||
|
style="border-top-left-radius:10px; border-top-right-radius:10px" |
||||
|
src="./assets/modules/magento_image.png"> |
||||
|
</div> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- Left and right controls --> |
||||
|
<a class="carousel-control-prev" href="#demo1" data-slide="prev" |
||||
|
style="left:-25px;width: 35px;color: #000;"> <span class="carousel-control-prev-icon"><i |
||||
|
class="fa fa-chevron-left" style="font-size:24px"></i></span> </a> <a |
||||
|
class="carousel-control-next" href="#demo1" data-slide="next" |
||||
|
style="right:-25px;width: 35px;color: #000;"> |
||||
|
<span class="carousel-control-next-icon"><i class="fa fa-chevron-right" |
||||
|
style="font-size:24px"></i></span> |
||||
|
</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<!-- END OF SUGGESTED PRODUCTS --> |
||||
|
|
||||
|
<!-- OUR SERVICES --> |
||||
|
<section class="container" style="margin-top: 6rem !important;"> |
||||
|
<div class="row"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center"> |
||||
|
<h2 style="color: #212529 !important;">Our Services</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" /> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/cogs.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Customization</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/wrench.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Implementation</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/lifebuoy.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Support</h6> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/user.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Hire |
||||
|
Odoo |
||||
|
Developer</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/puzzle.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Integration</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/update.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Migration</h6> |
||||
|
</div> |
||||
|
|
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/consultation.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Consultancy</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/training.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Implementation</h6> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4"> |
||||
|
<div class="d-flex justify-content-center align-items-center mx-3 my-3" |
||||
|
style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;"> |
||||
|
<img src="assets/icons/license.png" class="img-responsive" height="48px" width="48px"> |
||||
|
</div> |
||||
|
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;"> |
||||
|
Odoo |
||||
|
Licensing Consultancy</h6> |
||||
|
</div> |
||||
|
</div> |
||||
|
</section> |
||||
|
<!-- END OF END OF OUR SERVICES --> |
||||
|
|
||||
|
<!-- OUR INDUSTRIES --> |
||||
|
<section class="container" style="margin-top: 6rem !important;"> |
||||
|
<div class="row"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center"> |
||||
|
<h2 style="color: #212529 !important;">Our Industries</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" /> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/trading-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Trading |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Easily procure |
||||
|
and |
||||
|
sell your products</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/pos-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
POS |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Easy |
||||
|
configuration |
||||
|
and convivial experience</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/education-black.png" class="img-responsive mb-3" height="48px" |
||||
|
width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Education |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
A platform for |
||||
|
educational management</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/manufacturing-black.png" class="img-responsive mb-3" height="48px" |
||||
|
width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Manufacturing |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Plan, track and |
||||
|
schedule your operations</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/ecom-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
E-commerce & Website |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Mobile |
||||
|
friendly, |
||||
|
awe-inspiring product pages</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/service-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Service Management |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Keep track of |
||||
|
services and invoice</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/restaurant-black.png" class="img-responsive mb-3" height="48px" |
||||
|
width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Restaurant |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
Run your bar or |
||||
|
restaurant methodically</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<div class="col-lg-3"> |
||||
|
<div class="my-4 d-flex flex-column justify-content-center" |
||||
|
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;"> |
||||
|
<img src="./assets/icons/hotel-black.png" class="img-responsive mb-3" height="48px" width="48px"> |
||||
|
<h5 |
||||
|
style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;"> |
||||
|
Hotel Management |
||||
|
</h5> |
||||
|
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;"> |
||||
|
An |
||||
|
all-inclusive |
||||
|
hotel management application</p> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
</div> |
||||
|
</section> |
||||
|
|
||||
|
<!-- END OF END OF OUR INDUSTRIES --> |
||||
|
|
||||
|
<!-- FOOTER --> |
||||
|
<!-- Footer Section --> |
||||
|
<section class="container" style="margin: 5rem auto 2rem;"> |
||||
|
<div class="row" style="max-width:1540px;"> |
||||
|
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center"> |
||||
|
<h2 style="color: #212529 !important;">Need Help?</h2> |
||||
|
<hr |
||||
|
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" /> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
<!-- Contact Cards --> |
||||
|
<div class="row d-flex justify-content-center align-items-center" |
||||
|
style="max-width:1540px; margin: 0 auto 2rem auto;"> |
||||
|
|
||||
|
<div class="col-lg-12" style="padding: 0rem 3rem 2rem; border-radius: 10px; margin-right: 3rem; "> |
||||
|
|
||||
|
<div class="row mt-4"> |
||||
|
<div class="col-lg-6"> |
||||
|
<a href="mailto:odoo@cybrosys.com" target="_blank" class="btn btn-block mb-2 deep_hover" |
||||
|
style="text-decoration: none; background-color: #4d4d4d; color: #FFF; border-radius: 4px;"><i |
||||
|
class="fa fa-envelope mr-2"></i>odoo@cybrosys.com</a> |
||||
|
</div> |
||||
|
<div class="col-lg-6"> |
||||
|
<a href="https://api.whatsapp.com/send?phone=918606827707" target="_blank" |
||||
|
class="btn btn-block mb-2 deep_hover" |
||||
|
style="text-decoration: none; background-color: #25D366; color: #FFF; border-radius: 4px;"><i |
||||
|
class="fa fa-whatsapp mr-2"></i>WhatsApp</a> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
</div> |
||||
|
<!-- End of Contact Cards --> |
||||
|
</section> |
||||
|
<!-- Footer --> |
||||
|
<section class="oe_container" style="padding: 2rem 3rem 1rem;"> |
||||
|
<div class="row" style="max-width:1540px; margin: 0 auto; margin-right: 3rem; "> |
||||
|
<!-- Logo --> |
||||
|
<div class="col-lg-12 d-flex justify-content-center align-items-center" style="margin-top: 3rem;"> |
||||
|
<img src="https://www.cybrosys.com/images/logo.png" width="200px" height="auto" /> |
||||
|
</div> |
||||
|
<!-- End of Logo --> |
||||
|
<div class="col-lg-12"> |
||||
|
<hr |
||||
|
style="margin-top: 3rem;background: linear-gradient(90deg, rgba(2,0,36,0) 0%, rgba(229,229,229,1) 33%, rgba(229,229,229,1) 58%, rgba(0,212,255,0) 100%); height: 2px; border-style: none;"> |
||||
|
<!-- End of Footer Section --> |
||||
|
</div> |
||||
|
</div> |
||||
|
</section> |
||||
|
<!-- END OF FOOTER --> |
||||
|
|
||||
|
</div> |
@ -0,0 +1,111 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<odoo> |
||||
|
<data> |
||||
|
<record id="view_employee_orientation_tree" model="ir.ui.view"> |
||||
|
<field name="name">employee.orientation.tree</field> |
||||
|
<field name="model">employee.orientation</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree string="Employee Orientation"> |
||||
|
<field name="employee_name" /> |
||||
|
<field name="department" /> |
||||
|
<field name="responsible_user"/> |
||||
|
<field name="orientation_id"/> |
||||
|
<field name="state"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="view_employee_orientation_form" model="ir.ui.view"> |
||||
|
<field name="name">employee.orientation.form</field> |
||||
|
<field name="model">employee.orientation</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form string="Employee Orientation"> |
||||
|
<header> |
||||
|
<button name="confirm_orientation" string="Confirm" type="object" states="draft" class="btn-primary" /> |
||||
|
<button name="complete_orientation" string="Mark Done" type="object" states="confirm" class="btn-primary"/> |
||||
|
<button name="cancel_orientation" string="Cancel" type="object" states="draft,confirm"/> |
||||
|
<field name="state" widget="statusbar" statusbar_visible="draft,confirm,complete"/> |
||||
|
</header> |
||||
|
<sheet> |
||||
|
<div class="oe_title"> |
||||
|
<h1> |
||||
|
<field name="name" readonly="1"/> |
||||
|
</h1> |
||||
|
</div> |
||||
|
<group colspan="1" col="4" name="main"> |
||||
|
<field name="employee_name" attrs="{'readonly':[('state','in',('confirm','complete'))]}"/> |
||||
|
<field name="department"/> |
||||
|
<field name="date" attrs="{'readonly':[('state','in',('confirm','complete'))]}"/> |
||||
|
<field name="job_id" attrs="{'readonly':[('state','in',('confirm','complete'))]}"/> |
||||
|
<field name="responsible_user" attrs="{'readonly':[('state','in',('confirm','complete'))]}"/> |
||||
|
<field name="parent_id"/> |
||||
|
<field name="employee_company" attrs="{'readonly':[('state','in',('confirm','complete'))]}"/> |
||||
|
<field name="orientation_id" attrs="{'readonly':[('state','in',('confirm','complete'))]}"/> |
||||
|
</group> |
||||
|
<notebook colspan="4"> |
||||
|
<page name="checklist_lines" string="Orientation Checklists Lines" attrs="{'invisible': [('state', '=', 'draft')]}"> |
||||
|
<field name="orientation_request" attrs="{'readonly':[('state','=','complete')]}"> |
||||
|
<tree string="lines" editable="bottom" create="true"> |
||||
|
<field name="request_name"/> |
||||
|
<field name="partner_id"/> |
||||
|
<field name="request_expected_date"/> |
||||
|
<field name="state"/> |
||||
|
</tree> |
||||
|
<form> |
||||
|
<group colspan="1" col="4" name="main"> |
||||
|
<field name="request_name" /> |
||||
|
<field name="request_orientation"/> |
||||
|
<field name="employee_company" readonly="1"/> |
||||
|
<field name="partner_id"/> |
||||
|
<field name="request_date" readonly="1"/> |
||||
|
<field name="request_expected_date"/> |
||||
|
<field name="employee_id" invisible="1"/> |
||||
|
</group> |
||||
|
</form> |
||||
|
</field> |
||||
|
</page> |
||||
|
<page name="note_book" |
||||
|
string="Notes"> |
||||
|
<field name="note_id" colspan="4" nolabel="1" /> |
||||
|
</page> |
||||
|
</notebook> |
||||
|
</sheet> |
||||
|
<div class="oe_chatter"> |
||||
|
<field name="message_follower_ids" widget="mail_followers" groups="base.group_user"/> |
||||
|
<field name="message_ids" widget="mail_thread"/> |
||||
|
</div> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
<record id="view_employee_orientation_search" model="ir.ui.view"> |
||||
|
<field name="name">employee.orientation.search</field> |
||||
|
<field name="model">employee.orientation</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<search string="Employee Orientation"> |
||||
|
<field name="employee_name"/> |
||||
|
<field name="department"/> |
||||
|
<newline /> |
||||
|
<!-- <group expand="0" string="Group By...">--> |
||||
|
<!-- <filter string="department" domain="[]"--> |
||||
|
<!-- context="{'group_by':'department'}" />--> |
||||
|
<!-- </group>--> |
||||
|
</search> |
||||
|
</field> |
||||
|
</record> |
||||
|
<record model="ir.actions.act_window" id="action_employee_orientation"> |
||||
|
<field name="name">Employee Orientation</field> |
||||
|
<field name="type">ir.actions.act_window</field> |
||||
|
<field name="res_model">employee.orientation</field> |
||||
|
<field name="view_mode">tree,form</field> |
||||
|
<field name="search_view_id" ref="view_employee_orientation_search" /> |
||||
|
<field name="domain">[]</field> |
||||
|
<field name="context">{}</field> |
||||
|
<field name="help" type="html"> |
||||
|
<field class="oe_view_nocontent_create"> |
||||
|
Create Employee Orientation. |
||||
|
</field> |
||||
|
</field> |
||||
|
</record> |
||||
|
<menuitem action="action_employee_orientation" id="menu_employee_orientation_child" name="Employee Orientation" parent="menu_employee_orientation" sequence="1" groups="hr.group_hr_manager,hr.group_hr_user"/> |
||||
|
</data> |
||||
|
</odoo> |
@ -0,0 +1,105 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<odoo> |
||||
|
<data> |
||||
|
<record id="view_employee_training_tree" model="ir.ui.view"> |
||||
|
<field name="name">employee.training.tree</field> |
||||
|
<field name="model">employee.training</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree string="Employee Training Program"> |
||||
|
<field name="program_name"/> |
||||
|
<field name="program_department"/> |
||||
|
<field name="program_convener" domain="[('department_id.name', '=', 'program_department.name')]"/> |
||||
|
<field name="state"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
<record id="view_employee_training_form" model="ir.ui.view"> |
||||
|
<field name="name">employee.training.form</field> |
||||
|
<field name="model">employee.training</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form string="Employee Training Program"> |
||||
|
<header> |
||||
|
<button name="confirm_send_mail" string="Send by Email" type="object" class="oe_highlight" states="confirm"/> |
||||
|
<button name="confirm_event" string="Confirm Event" type="object" states="new" class="btn-primary" /> |
||||
|
<button name="complete_event" string="Event Complete" type="object" states="confirm" class="btn-primary"/> |
||||
|
<button name="cancel_event" string="Cancel Event" type="object" states="confirm"/> |
||||
|
<button name="print_event" string="Print Certificates" type="object" class="oe_highlight" attrs="{'invisible': [('state', 'not in', 'complete')]}"/> |
||||
|
<field name="state" widget="statusbar" statusbar_visible="new,confirm,complete"/> |
||||
|
</header> |
||||
|
<sheet> |
||||
|
<group colspan="1" col="4" name="main"> |
||||
|
<field name="program_name" /> |
||||
|
<field name="program_department"/> |
||||
|
<label for="date_from" string="Time Period"/> |
||||
|
<div><field name="date_from" class="oe_inline"/> to <field name="date_to" class="oe_inline"/></div> |
||||
|
<field name="program_convener"/> |
||||
|
</group> |
||||
|
<notebook colspan="4"> |
||||
|
<page name="checklist_lines" string="Employee Details"> |
||||
|
<field name="training_id"> |
||||
|
<tree editable="true"> |
||||
|
<field name="name"/> |
||||
|
<field name="job_id"/> |
||||
|
<field name="parent_id"/> |
||||
|
<field name="certificates" /> |
||||
|
</tree> |
||||
|
<!-- <field name="product_updatable" invisible="1"/>--> |
||||
|
</field> |
||||
|
</page> |
||||
|
<page name="note_book" |
||||
|
string="Notes"> |
||||
|
<field name="note_id" colspan="4" nolabel="1" /> |
||||
|
</page> |
||||
|
</notebook> |
||||
|
</sheet> |
||||
|
<div class="oe_chatter"> |
||||
|
<field name="message_follower_ids" widget="mail_followers" groups="base.group_user"/> |
||||
|
<field name="message_ids" widget="mail_thread"/> |
||||
|
</div> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
<record id="view_employee_training_search" model="ir.ui.view"> |
||||
|
<field name="name">employee.training.search</field> |
||||
|
<field name="model">employee.training</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<search string="Employee Training Program"> |
||||
|
<field name="program_name"/> |
||||
|
<newline/> |
||||
|
</search> |
||||
|
</field> |
||||
|
</record> |
||||
|
<record model="ir.actions.act_window" id="action_employee_training"> |
||||
|
<field name="name">Employee Training Program</field> |
||||
|
<field name="type">ir.actions.act_window</field> |
||||
|
<field name="res_model">employee.training</field> |
||||
|
<field name="view_mode">tree,form</field> |
||||
|
<field name="search_view_id" ref="view_employee_training_search" /> |
||||
|
<field name="domain">[]</field> |
||||
|
<field name="context">{}</field> |
||||
|
<field name="help" type="html"> |
||||
|
<field class="oe_view_nocontent_create"> |
||||
|
Create Employee Training Program. |
||||
|
</field> |
||||
|
</field> |
||||
|
</record> |
||||
|
<menuitem |
||||
|
id="menu_employee_training_child" |
||||
|
name="Training Program" |
||||
|
parent="hr.menu_hr_root" |
||||
|
action="action_employee_training" |
||||
|
sequence="91" |
||||
|
/> |
||||
|
<record id="hr_employee_view_for" model="ir.ui.view"> |
||||
|
<field name="name">hr.employee.inherit.form</field> |
||||
|
<field name="model">hr.employee</field> |
||||
|
<field name="inherit_id" ref="hr.view_employee_form" /> |
||||
|
<field name="priority">30</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<xpath expr="//field[@name='parent_id']" position="after"> |
||||
|
<field name="certificates" editable="true" /> |
||||
|
</xpath> |
||||
|
</field> |
||||
|
</record> |
||||
|
</data> |
||||
|
</odoo> |
@ -0,0 +1,85 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<odoo> |
||||
|
<data> |
||||
|
<record id="view_orientation_checklist_tree" model="ir.ui.view"> |
||||
|
<field name="name">orientation.checklist.tree</field> |
||||
|
<field name="model">orientation.checklist</field> |
||||
|
<field name="priority" eval="8" /> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree string="Orientation Checklists"> |
||||
|
<field name="checklist_name" /> |
||||
|
<field name="checklist_department" /> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="view_orientation_checklist_form" model="ir.ui.view"> |
||||
|
<field name="name">orientation.checklist.form</field> |
||||
|
<field name="model">orientation.checklist</field> |
||||
|
<field name="priority" eval="8" /> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form string="Orientation Checklists"> |
||||
|
<sheet> |
||||
|
<group colspan="1" col="4" name="main"> |
||||
|
<field name="checklist_name" /> |
||||
|
<field name="checklist_department"/> |
||||
|
<field name="active"/> |
||||
|
</group> |
||||
|
<notebook colspan="4"> |
||||
|
<page name="checklist_line" string="Checklist Lines"> |
||||
|
<field name="checklist_line_id" string="Checklist Line"> |
||||
|
<tree string="Checklist Lines" editable="bottom"> |
||||
|
<field name="line_name"/> |
||||
|
<field name="responsible_user"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</page> |
||||
|
</notebook> |
||||
|
</sheet> |
||||
|
<div class="oe_chatter"> |
||||
|
<field name="message_follower_ids" widget="mail_followers" groups="base.group_user"/> |
||||
|
<field name="message_ids" widget="mail_thread"/> |
||||
|
</div> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
<record id="view_orientation_checklist_search" model="ir.ui.view"> |
||||
|
<field name="name">orientation.checklist.search</field> |
||||
|
<field name="model">orientation.checklist</field> |
||||
|
<field name="priority" eval="8" /> |
||||
|
<field name="arch" type="xml"> |
||||
|
<search string="Orientation Checklists"> |
||||
|
<field name="checklist_name"/> |
||||
|
<field name="checklist_department"/> |
||||
|
<newline /> |
||||
|
<!-- <group expand="0" string="Group By">--> |
||||
|
<!-- <filter string="department" domain="[]"--> |
||||
|
<!-- context="{'group_by':'checklist_department'}" />--> |
||||
|
<!-- </group>--> |
||||
|
</search> |
||||
|
</field> |
||||
|
</record> |
||||
|
<record model="ir.actions.act_window" id="action_orientation_checklist"> |
||||
|
<field name="name">Orientation Checklist</field> |
||||
|
<field name="type">ir.actions.act_window</field> |
||||
|
<field name="res_model">orientation.checklist</field> |
||||
|
<field name="view_mode">tree,form</field> |
||||
|
<field name="search_view_id" ref="view_orientation_checklist_search" /> |
||||
|
<field name="domain">[]</field> |
||||
|
<field name="context">{'search_default_active': True}</field> |
||||
|
<field name="help" type="html"> |
||||
|
<field class="oe_view_nocontent_create"> |
||||
|
Create Orientation Checklists. |
||||
|
</field> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<menuitem action="action_orientation_checklist" |
||||
|
id="menu_orientation_checklist_config" |
||||
|
name="Orientation Checklist" |
||||
|
parent="menu_employee_orientation_config" |
||||
|
sequence="10" |
||||
|
groups="hr.group_hr_manager" |
||||
|
/> |
||||
|
</data> |
||||
|
</odoo> |
@ -0,0 +1,84 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<odoo> |
||||
|
<data> |
||||
|
<record id="view_checklist_line_tree" model="ir.ui.view"> |
||||
|
<field name="name">checklist.line.tree</field> |
||||
|
<field name="model">checklist.line</field> |
||||
|
<field name="priority" eval="8" /> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree string="Orientation Checklists Lines"> |
||||
|
<field name="line_name" /> |
||||
|
<field name="responsible_user" /> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
<record id="view_checklist_line_form" model="ir.ui.view"> |
||||
|
<field name="name">checklist.line.form</field> |
||||
|
<field name="model">checklist.line</field> |
||||
|
<field name="priority" eval="8" /> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form string="Orientation Checklists Lines"> |
||||
|
<sheet> |
||||
|
<group colspan="1" col="4" name="main"> |
||||
|
<field name="line_name" /> |
||||
|
<field name="responsible_user"/> |
||||
|
</group> |
||||
|
</sheet> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
<record id="checklist_line_search" model="ir.ui.view"> |
||||
|
<field name="name">checklist.line.search</field> |
||||
|
<field name="model">checklist.line</field> |
||||
|
<field name="priority" eval="8" /> |
||||
|
<field name="arch" type="xml"> |
||||
|
<search string="Orientation Checklists Lines"> |
||||
|
<field name="line_name" /> |
||||
|
<field name="responsible_user" /> |
||||
|
<newline /> |
||||
|
<!-- <group expand="0" string="Group By...">--> |
||||
|
<!-- <filter string="ResponsibleUser" domain="[]"--> |
||||
|
<!-- context="{'group_by':'responsible_user'}" />--> |
||||
|
<!-- </group>--> |
||||
|
</search> |
||||
|
</field> |
||||
|
</record> |
||||
|
<record model="ir.actions.act_window" id="action_checklist_line"> |
||||
|
<field name="name">Orientation Checklist Line</field> |
||||
|
<field name="type">ir.actions.act_window</field> |
||||
|
<field name="res_model">checklist.line</field> |
||||
|
<field name="view_mode">tree,form</field> |
||||
|
<field name="search_view_id" ref="checklist_line_search" /> |
||||
|
<field name="domain">[]</field> |
||||
|
<field name="context">{}</field> |
||||
|
<field name="help" type="html"> |
||||
|
<field class="oe_view_nocontent_create"> |
||||
|
Create Orientation Checklists Lines. |
||||
|
</field> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<menuitem |
||||
|
id="menu_employee_orientation" |
||||
|
name="Orientations" |
||||
|
parent="hr.menu_hr_root" |
||||
|
sequence="90" |
||||
|
/> |
||||
|
|
||||
|
<!-- Configuration Menu --> |
||||
|
<menuitem id="menu_employee_orientation_config" |
||||
|
name="Orientation Program" |
||||
|
parent="hr.menu_human_resources_configuration" |
||||
|
sequence="10" |
||||
|
groups="hr.group_hr_manager" |
||||
|
/> |
||||
|
|
||||
|
<menuitem action="action_checklist_line" |
||||
|
id="menu_employee_orientation_config_line" |
||||
|
name="Orientation Checklist Line" |
||||
|
parent="menu_employee_orientation_config" |
||||
|
sequence="20" |
||||
|
groups="hr.group_hr_manager" |
||||
|
/> |
||||
|
</data> |
||||
|
</odoo> |
@ -0,0 +1,14 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<data noupdate="1"> |
||||
|
|
||||
|
<!-- Sequences for employee.orientation --> |
||||
|
<record id="seq_orientation_checklist" model="ir.sequence"> |
||||
|
<field name="name">Employee Orientation</field> |
||||
|
<field name="code">employee.orientation</field> |
||||
|
<field name="prefix">OR</field> |
||||
|
<field name="padding">3</field> |
||||
|
<field name="company_id" eval="False"/> |
||||
|
</record> |
||||
|
</data> |
||||
|
</odoo> |
@ -0,0 +1,83 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<openerp> |
||||
|
<data> |
||||
|
<record id="view_orientation_request_tree" model="ir.ui.view"> |
||||
|
<field name="name">orientation.request.tree</field> |
||||
|
<field name="model">orientation.request</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<tree string="Employee Orientation" create="0"> |
||||
|
<field name="request_name" /> |
||||
|
<field name="request_orientation" /> |
||||
|
<field name="partner_id" /> |
||||
|
<field name="state"/> |
||||
|
</tree> |
||||
|
</field> |
||||
|
</record> |
||||
|
<record id="view_orientation_request_form" model="ir.ui.view"> |
||||
|
<field name="name">orientation.request.form</field> |
||||
|
<field name="model">orientation.request</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form string="Employee Orientation" create="0"> |
||||
|
<header> |
||||
|
<button name="confirm_send_mail" string="Send by Email" type="object" class="oe_highlight" attrs="{'invisible': [('state', 'in', 'complete')]}"/> |
||||
|
<button name="confirm_request" string="Complete" type="object" states="new" class="btn-primary"/> |
||||
|
<button name="cancel_request" string="Cancel" type="object" states="new"/> |
||||
|
<field name="state" widget="statusbar" statusbar_visible="new,complete"/> |
||||
|
</header> |
||||
|
<sheet> |
||||
|
<group colspan="1" col="4" name="main"> |
||||
|
<field name="request_name" readonly="1"/> |
||||
|
<field name="request_orientation" readonly="1"/> |
||||
|
<field name="employee_id" readonly="1"/> |
||||
|
<field name="partner_id" readonly="1"/> |
||||
|
<field name="request_date" readonly="1"/> |
||||
|
<field name="request_expected_date" attrs="{'readonly':[('state','=','complete')]}"/> |
||||
|
<field name="employee_company" readonly="1"/> |
||||
|
</group> |
||||
|
<notebook> |
||||
|
<page name="orientation_line_attachments" string="Documents"> |
||||
|
<field name="attachment_id_1" widget="many2many_binary" attrs="{'readonly':[('state','=','complete')]}" /> |
||||
|
</page> |
||||
|
<page name="note_book" string="Notes"> |
||||
|
<field name="note_id" nolabel="1"/> |
||||
|
</page> |
||||
|
</notebook> |
||||
|
</sheet> |
||||
|
<div class="oe_chatter"> |
||||
|
<field name="message_follower_ids" widget="mail_followers" groups="base.group_user"/> |
||||
|
<field name="message_ids" widget="mail_thread"/> |
||||
|
</div> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
<record id="view_orientation_request_search" model="ir.ui.view"> |
||||
|
<field name="name">orientation.request.search</field> |
||||
|
<field name="model">orientation.request</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<search string="Employee Orientation"> |
||||
|
<field name="request_name"/> |
||||
|
<newline /> |
||||
|
<!-- <group expand="0" string="Group By...">--> |
||||
|
<!-- <filter string="Request" domain="[]"--> |
||||
|
<!-- context="{'group_by':'request_name'}" />--> |
||||
|
<!-- </group>--> |
||||
|
</search> |
||||
|
</field> |
||||
|
</record> |
||||
|
<record model="ir.actions.act_window" id="action_orientation_request"> |
||||
|
<field name="name">Orientation Request</field> |
||||
|
<field name="type">ir.actions.act_window</field> |
||||
|
<field name="res_model">orientation.request</field> |
||||
|
<field name="view_mode">tree,form</field> |
||||
|
<field name="search_view_id" ref="view_orientation_request_search" /> |
||||
|
<field name="domain">[]</field> |
||||
|
<field name="context">{}</field> |
||||
|
<field name="help" type="html"> |
||||
|
<field class="oe_view_nocontent_create"> |
||||
|
Create Orientation Requests. |
||||
|
</field> |
||||
|
</field> |
||||
|
</record> |
||||
|
<menuitem action="action_orientation_request" id="menu_orientation_request" name="Orientation Request" parent="menu_employee_orientation" sequence="2"/> |
||||
|
</data> |
||||
|
</openerp> |
@ -0,0 +1,134 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<openerp> |
||||
|
<data noupdate="1"> |
||||
|
<record id="orientation_request_mailer" model="mail.template"> |
||||
|
<field name="name">Employee Orientation Request</field> |
||||
|
<field name="email_from">{{(object.user_id.email or object.company_id.email)}}</field> |
||||
|
<field name="email_to">{{(object.partner_id.email)}}</field> |
||||
|
<field name="subject">Employee Orientation Request</field> |
||||
|
<field name="model_id" ref="employee_orientation.model_orientation_request"/> |
||||
|
<field name="auto_delete" eval="True"/> |
||||
|
<field name="body_html" type="html"> |
||||
|
<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "> |
||||
|
<p style="margin: 0px; padding: 0px; font-size: 13px;"> |
||||
|
Hello |
||||
|
<t t-out="object.partner_id.name"/>, |
||||
|
</p> |
||||
|
<p> |
||||
|
You are requested to conduct orientation program listed below. |
||||
|
</p> |
||||
|
<p> |
||||
|
Check Line: |
||||
|
<t t-out="object.request_name"/> |
||||
|
</p> |
||||
|
<p> |
||||
|
Employee: |
||||
|
<t t-out="object.employee_id.name"/> |
||||
|
</p> |
||||
|
<t t-if=" object.request_expected_date"> |
||||
|
<p> |
||||
|
Expected Date: |
||||
|
<t t-out="object.request_expected_date"/> |
||||
|
</p> |
||||
|
</t> |
||||
|
<br/> |
||||
|
<p> |
||||
|
Thank you! |
||||
|
</p> |
||||
|
<br/> |
||||
|
<div style="width: 375px; margin: 0px; padding: 0px; background-color: #8E0000; border-top-left-radius: 5px 5px; border-top-right-radius: 5px 5px; background-repeat: repeat no-repeat;"> |
||||
|
<h3 style="margin: 0px; padding: 2px 14px; font-size: 12px; color: #DDD;"> |
||||
|
<strong style="text-transform:uppercase;"> |
||||
|
<t t-out="object.company_id.name"/> |
||||
|
</strong> |
||||
|
</h3> |
||||
|
</div> |
||||
|
<div style="width: 347px; margin: 0px; padding: 5px 14px; line-height: 16px; background-color: #F2F2F2;"> |
||||
|
<span style="color: #222; margin-bottom: 5px; display: block; "> |
||||
|
<t t-out="object.company_id.partner_id.sudo().with_context(show_address=True).name_get()[0][1]"/> |
||||
|
</span> |
||||
|
<t t-if="object.company_id.phone"> |
||||
|
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "> |
||||
|
Phone: |
||||
|
<t t-out="object.company_id.phone"/> |
||||
|
</div> |
||||
|
</t> |
||||
|
<t t-if=" object.company_id.website"> |
||||
|
<div> |
||||
|
Web : |
||||
|
<a href="'%s' % object.company_id.website"> |
||||
|
<t t-out="object.company_id.website"/> |
||||
|
</a> |
||||
|
</div> |
||||
|
|
||||
|
</t> |
||||
|
<p></p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</field> |
||||
|
</record> |
||||
|
|
||||
|
<record id="orientation_training_mailer" model="mail.template"> |
||||
|
<field name="name">Employee Training program</field> |
||||
|
<field name="email_from">{{(object.user_id.email or object.company_id.email)}}</field> |
||||
|
<field name="email_to">{{(object.program_convener.email)}}</field> |
||||
|
<field name="subject">Employee Training Request</field> |
||||
|
<field name="model_id" ref="employee_orientation.model_employee_training"/> |
||||
|
<field name="auto_delete" eval="True"/> |
||||
|
<field name="body_html" type="html"> |
||||
|
<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; "> |
||||
|
<p> |
||||
|
Hello <t t-out="object.program_convener.name"/>, |
||||
|
</p> |
||||
|
<p> |
||||
|
You are requested to conduct |
||||
|
<t t-out="object.program_name"/> |
||||
|
Training program for |
||||
|
<t t-out="object.program_department.name"/> |
||||
|
department |
||||
|
<t t-if=" object.date_from and object.date_to"> |
||||
|
from |
||||
|
<t t-out="object.date_from"/> |
||||
|
to |
||||
|
<t t-out="object.date_to"/> |
||||
|
</t> |
||||
|
. |
||||
|
</p> |
||||
|
<br/> |
||||
|
<p> |
||||
|
Thank you! |
||||
|
</p> |
||||
|
<br/> |
||||
|
<div style="width: 375px; margin: 0px; padding: 0px; background-color: #8E0000; border-top-left-radius: 5px 5px; border-top-right-radius: 5px 5px; background-repeat: repeat no-repeat;"> |
||||
|
<h3 style="margin: 0px; padding: 2px 14px; font-size: 12px; color: #DDD;"> |
||||
|
<strong style="text-transform:uppercase;"> |
||||
|
<t t-out="object.company_id.name"/> |
||||
|
</strong> |
||||
|
</h3> |
||||
|
</div> |
||||
|
<div style="width: 347px; margin: 0px; padding: 5px 14px; line-height: 16px; background-color: #F2F2F2;"> |
||||
|
<span style="color: #222; margin-bottom: 5px; display: block; "> |
||||
|
<t t-out="object.company_id.partner_id.sudo().with_context(show_address=True).name_get()[0][1]"/> |
||||
|
|
||||
|
</span> |
||||
|
<t t-if=" object.company_id.phone"> |
||||
|
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "> |
||||
|
Phone: |
||||
|
<t t-out="object.company_id.phone"/> |
||||
|
</div> |
||||
|
</t> |
||||
|
<t t-if=" object.company_id.website"> |
||||
|
<div> |
||||
|
Web : |
||||
|
<a href="'%s' % object.company_id.website"> |
||||
|
<t t-out="object.company_id.website"/> |
||||
|
</a> |
||||
|
</div> |
||||
|
</t> |
||||
|
<p></p> |
||||
|
</div> |
||||
|
</div> |
||||
|
</field> |
||||
|
</record> |
||||
|
</data> |
||||
|
</openerp> |
@ -0,0 +1,86 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<template id="certificate_layout"> |
||||
|
<t t-if="not o" t-set="o" t-value="doc"/> |
||||
|
|
||||
|
<t t-if="not company"> |
||||
|
<t t-if="company_id"> |
||||
|
<t t-set="company" t-value="company_id"/> |
||||
|
</t> |
||||
|
<t t-elif="o and 'company_id' in o and o.company_id.sudo()"> |
||||
|
<t t-set="company" t-value="o.company_id.sudo()"/> |
||||
|
</t> |
||||
|
<t t-else="else"> |
||||
|
<t t-set="company" t-value="res_company"/> |
||||
|
</t> |
||||
|
</t> |
||||
|
<div class="header"> |
||||
|
<div class="row"> |
||||
|
<div class="col-3"> |
||||
|
<span t-esc="company.name"/> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
<div class="article" t-att-data-oe-model="o" t-att-data-oe-id="o" |
||||
|
t-att-data-oe-lang="o"> |
||||
|
<t t-raw="0"/> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<template id="print_pack_template"> |
||||
|
<t t-call="web.html_container"> |
||||
|
<t t-call="employee_orientation.certificate_layout"> |
||||
|
<div class="page"> |
||||
|
<t t-foreach="data" t-as="o"> |
||||
|
<h2 align="center" style="margin-top:200px; padding-top:50px;">Certificate of Participation</h2> |
||||
|
<table align="center" style="page-break-after:always !important;"> |
||||
|
<tr> |
||||
|
<td> |
||||
|
<br/> |
||||
|
<br/> |
||||
|
<p> |
||||
|
This certificate is awarded to |
||||
|
<span> |
||||
|
<strong> |
||||
|
<t t-esc="o['name']"/> |
||||
|
</strong> |
||||
|
</span> |
||||
|
for certifying his/her participation in the training program " |
||||
|
<strong> |
||||
|
<t t-esc="o['program_name']"/> |
||||
|
</strong> |
||||
|
" conducted by |
||||
|
<strong> |
||||
|
<t t-esc="o['program_convener']"/> |
||||
|
</strong> |
||||
|
from |
||||
|
<strong> |
||||
|
<t t-esc="o['date_to']"/> |
||||
|
</strong> |
||||
|
,with duration of |
||||
|
<strong> |
||||
|
<t t-esc="o['duration']"/> |
||||
|
</strong> |
||||
|
days, |
||||
|
<strong> |
||||
|
<t t-esc="o['hours']"/> |
||||
|
</strong> |
||||
|
Hours, |
||||
|
<strong> |
||||
|
<t t-esc="o['minutes']"/> |
||||
|
</strong> |
||||
|
Minutes, at |
||||
|
<strong> |
||||
|
<t t-esc="o['company_name']"/> |
||||
|
</strong> |
||||
|
. |
||||
|
</p> |
||||
|
</td> |
||||
|
</tr> |
||||
|
</table> |
||||
|
</t> |
||||
|
</div> |
||||
|
</t> |
||||
|
</t> |
||||
|
</template> |
||||
|
</odoo> |
@ -0,0 +1,12 @@ |
|||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||
|
<odoo> |
||||
|
<data noupdate="1"> |
||||
|
<record id="print_pack_certificates" model="ir.actions.report"> |
||||
|
<field name="name">Certificates</field> |
||||
|
<field name="model">employee.training</field> |
||||
|
<field name="report_type">qweb-pdf</field> |
||||
|
<field name="report_name">employee_orientation.print_pack_template</field> |
||||
|
<field name="report_file">employee_orientation.print_pack_template</field> |
||||
|
</record> |
||||
|
</data> |
||||
|
</odoo> |
@ -0,0 +1,23 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Anusha @cybrosys(odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# 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 (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
|
||||
|
from . import orientation_complete |
@ -0,0 +1,49 @@ |
|||||
|
# -*- coding: utf-8 -*- |
||||
|
############################################################################# |
||||
|
# |
||||
|
# Cybrosys Technologies Pvt. Ltd. |
||||
|
# |
||||
|
# Copyright (C) 2019-TODAY Cybrosys Technologies(<https://www.cybrosys.com>). |
||||
|
# Author: Anusha @cybrosys(odoo@cybrosys.com) |
||||
|
# |
||||
|
# You can modify it under the terms of the GNU AFFERO |
||||
|
# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. |
||||
|
# |
||||
|
# 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 (AGPL v3) for more details. |
||||
|
# |
||||
|
# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE |
||||
|
# (AGPL v3) along with this program. |
||||
|
# If not, see <http://www.gnu.org/licenses/>. |
||||
|
# |
||||
|
############################################################################# |
||||
|
|
||||
|
from odoo import api, fields, models, _ |
||||
|
|
||||
|
|
||||
|
class OrientationForceComplete(models.TransientModel): |
||||
|
_name = 'orientation.force.complete' |
||||
|
|
||||
|
name = fields.Char() |
||||
|
orientation_id = fields.Many2one('employee.orientation', string='Orientation') |
||||
|
orientation_lines = fields.One2many('orientation.request', string='Orientation Lines', compute='pending_lines') |
||||
|
|
||||
|
@api.onchange('orientation_id') |
||||
|
def pending_lines(self): |
||||
|
pending = [] |
||||
|
|
||||
|
for data in self.orientation_id.orientation_request: |
||||
|
if data.state == 'new': |
||||
|
pending.append(data.id) |
||||
|
self.update({'orientation_lines': pending}) |
||||
|
|
||||
|
def force_complete(self): |
||||
|
for line in self.orientation_lines: |
||||
|
if line.state != 'cancel': |
||||
|
line.state = 'complete' |
||||
|
self.orientation_id.write({'state': 'complete'}) |
||||
|
|
||||
|
|
||||
|
|
@ -0,0 +1,23 @@ |
|||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||
|
<odoo> |
||||
|
<data> |
||||
|
<record id="view_orientation_force_complete_form" model="ir.ui.view"> |
||||
|
<field name="name">orientation.force.complete.form</field> |
||||
|
<field name="model">orientation.force.complete</field> |
||||
|
<field name="arch" type="xml"> |
||||
|
<form string="Complete Orientation"> |
||||
|
<p class="oe_gray"> |
||||
|
Please make sure that orientations programs are already done. |
||||
|
</p> |
||||
|
<field name="orientation_id" invisible="1"/> |
||||
|
<label for="orientation_lines" string="Pending Lines"/> |
||||
|
<field name="orientation_lines" readonly="1"/> |
||||
|
<footer> |
||||
|
<button name="force_complete" string="Force Complete" type="object" class="btn-primary"/> |
||||
|
<button string="Cancel" class="btn-default" special="cancel" /> |
||||
|
</footer> |
||||
|
</form> |
||||
|
</field> |
||||
|
</record> |
||||
|
</data> |
||||
|
</odoo> |