Browse Source

[ADD]Initial Commit

pull/81/head
SHEREEF PT 8 years ago
parent
commit
da0172a651
  1. 23
      employee_orientation/README.rst
  2. 23
      employee_orientation/__init__.py
  3. 48
      employee_orientation/__openerp__.py
  4. 27
      employee_orientation/models/__init__.py
  5. 90
      employee_orientation/models/employee_orientation.py
  6. 95
      employee_orientation/models/employee_training.py
  7. 52
      employee_orientation/models/orientation_checklist.py
  8. 34
      employee_orientation/models/orientation_checklist_line.py
  9. 93
      employee_orientation/models/orientation_checklist_request.py
  10. 15
      employee_orientation/security/ir.model.access.csv
  11. BIN
      employee_orientation/static/description/banner.jpg
  12. BIN
      employee_orientation/static/description/checklist_form.png
  13. BIN
      employee_orientation/static/description/checklist_tree.png
  14. BIN
      employee_orientation/static/description/cybro_logo.png
  15. BIN
      employee_orientation/static/description/employee_form.png
  16. BIN
      employee_orientation/static/description/employee_tree.png
  17. BIN
      employee_orientation/static/description/icon.png
  18. 129
      employee_orientation/static/description/index.html
  19. BIN
      employee_orientation/static/description/line_form.png
  20. BIN
      employee_orientation/static/description/line_tree.png
  21. BIN
      employee_orientation/static/description/request_form.png
  22. BIN
      employee_orientation/static/description/request_mail.png
  23. BIN
      employee_orientation/static/description/request_tree.png
  24. BIN
      employee_orientation/static/description/training_form.png
  25. BIN
      employee_orientation/static/description/training_mail.png
  26. BIN
      employee_orientation/static/description/training_tree.png
  27. 98
      employee_orientation/views/employee_orientation.xml
  28. 82
      employee_orientation/views/employee_training.xml
  29. 110
      employee_orientation/views/orientation_checklist.xml
  30. 72
      employee_orientation/views/orientation_checklist_line.xml
  31. 15
      employee_orientation/views/orientation_checklist_sequence.xml
  32. 86
      employee_orientation/views/orientation_checklists_request.xml
  33. 86
      employee_orientation/views/orientation_request_mail_template.xml

23
employee_orientation/README.rst

@ -0,0 +1,23 @@
Employee Orientation v9
=======================
This module developed to manage employee orientation/training programs.
Installation
============
Just select it from modules list to install, there is no need to extra installations.
Usage
=====
#.In Employee orientation form, when a Orientation Checklist selects the corresponding departments checklist lines fill automatically.
#.The system automatically create employee orientation request when employee orientation is confirmed.
#.Now when responsible person login in system, he/she will find job allocated as Orientation Checklists Requests and finish it.
Credits
=======
Developer: Anusha @ cybrosys
Guidance: Nilmar Shereef @ cybrosys, shereef@cybrosys.in

23
employee_orientation/__init__.py

@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2017-TODAY Cybrosys Technologies(<http://www.cybrosys.com>).
# Author: Nilmar Shereef(<http://www.cybrosys.com>)
# you can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# It is forbidden to publish, distribute, sublicense, or sell copies
# of the Software or modified copies of the Software.
#
# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# GENERAL PUBLIC LICENSE (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from . import models

48
employee_orientation/__openerp__.py

@ -0,0 +1,48 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2017-TODAY Cybrosys Technologies(<http://www.cybrosys.com>).
# Author: Nilmar Shereef(<http://www.cybrosys.com>)
# you can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# It is forbidden to publish, distribute, sublicense, or sell copies
# of the Software or modified copies of the Software.
#
# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# GENERAL PUBLIC LICENSE (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
{
'name': "Employee Orientation & Training",
'version': '9.0.1.0.0',
'category': 'Human Resources',
'summary': """Employee Orientation/Training Program""",
'description': """Complete Employee Orientation/Training Program""",
'author': "Cybrosys Techno Solutions",
'company': "Cybrosys Techno Solutions",
'website': "http://www.cybrosys.com",
'depends': ['base', 'hr', 'mail', ],
'data': [
'views/orientation_checklist_line.xml',
'views/orientation_checklist.xml',
'views/employee_orientation.xml',
'views/orientation_checklists_request.xml',
'views/orientation_checklist_sequence.xml',
'views/orientation_request_mail_template.xml',
'views/employee_training.xml',
'security/ir.model.access.csv',
],
'images': ['static/description/banner.jpg'],
'license': 'LGPL-3',
'installable': True,
'auto_install': False,
'application': True,
}

27
employee_orientation/models/__init__.py

@ -0,0 +1,27 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2017-TODAY Cybrosys Technologies(<http://www.cybrosys.com>).
# Author: Nilmar Shereef(<http://www.cybrosys.com>)
# you can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# It is forbidden to publish, distribute, sublicense, or sell copies
# of the Software or modified copies of the Software.
#
# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# GENERAL PUBLIC LICENSE (LGPL 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

90
employee_orientation/models/employee_orientation.py

@ -0,0 +1,90 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2017-TODAY Cybrosys Technologies(<http://www.cybrosys.com>).
# Author: Nilmar Shereef(<http://www.cybrosys.com>)
# you can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# It is forbidden to publish, distribute, sublicense, or sell copies
# of the Software or modified copies of the Software.
#
# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# GENERAL PUBLIC LICENSE (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from openerp import api, fields, models, _
class Orientation(models.Model):
_name = 'employee.orientation'
_description = "Employee Orientation"
_inherit = ['mail.thread', 'ir.needaction_mixin']
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', required=True)
date = fields.Date(string="Date", default=fields.Datetime.now)
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')
job_id = fields.Many2one('hr.job', string='Job Title')
orientation_id = fields.Many2one('orientation.checklist', string='Orientation Checklist', required=True)
note_id = fields.Text('Description')
orientation_line_id = fields.Many2many('orientation.check', string='Orientation Line')
state = fields.Selection([
('draft', 'Draft'),
('confirm', 'Confirmed'),
('complete', 'Completed'),
], string='Status', readonly=True, copy=False, index=True, track_visibility='onchange', default='draft')
@api.multi
def confirm_orientation(self):
self.write({'state': 'confirm'})
data = self.env['orientation.check'].search([('relative_field.employee_name.name', '=', self.employee_name.name)])
for values in self.orientation_line_id:
self.env['orientation.request'].create({
'request_name': values.checklist_line_name.line_name,
'request_orientation': self.id,
'partner_id': values.checklist_line_user.id,
'request_date': self.date,
'request_expected_date': values.expected_date,
'employee_id': self.employee_name.id,
})
@api.multi
def complete_orientation(self):
self.write({'state': 'complete'})
@api.model
def create(self, vals):
if vals.get('name', 'New') == 'New':
vals['name'] = self.env['ir.sequence'].next_by_code('employee.orientation') or 'New'
result = super(Orientation, self).create(vals)
return result
@api.onchange('orientation_id')
def orientation_details(self):
data = self.env['orientation.check'].search([('checklist.checklist_name', '=', self.orientation_id.checklist_name),
('checklist.checklist_department.name', '=', self.department.name)])
self.orientation_line_id = [(6, 0, [x.id for x in data])]
@api.onchange('employee_name')
def get_value(self):
self.department = self.employee_name.department_id
self.parent_id = self.employee_name.parent_id
self.job_id = self.employee_name.job_id

95
employee_orientation/models/employee_training.py

@ -0,0 +1,95 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2017-TODAY Cybrosys Technologies(<http://www.cybrosys.com>).
# Author: Nilmar Shereef(<http://www.cybrosys.com>)
# you can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# It is forbidden to publish, distribute, sublicense, or sell copies
# of the Software or modified copies of the Software.
#
# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# GENERAL PUBLIC LICENSE (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from openerp import api, fields, models, _
class Orientation(models.Model):
_name = 'employee.training'
_rec_name = 'program_name'
_description = "Employee Training"
_inherit = ['mail.thread', 'ir.needaction_mixin']
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')
company_id = fields.Many2one('res.company', string='Company', required=True,
default=lambda self: self.env.user.company_id)
user_id = fields.Many2one('res.users', string='users', default=lambda self: self.env.user)
state = fields.Selection([
('new', 'New'),
('confirm', 'Confirmed'),
('complete', 'Completed'),
], string='Status', readonly=True, copy=False, index=True, track_visibility='onchange', default='new')
@api.onchange('program_department')
def employee_details(self):
data = self.env['hr.employee'].search(
[('department_id', '=', self.program_department.id)])
self.training_id = data
@api.multi
def complete_event(self):
user_obj = self.env.user
if user_obj == self.program_convener.user_id:
self.write({'state': 'complete'})
@api.multi
def confirm_event(self):
self.write({'state': 'confirm'})
@api.multi
def confirm_send_mail(self):
self.ensure_one()
ir_model_data = self.env['ir.model.data']
try:
template_id = ir_model_data.get_object_reference('employee_orientation', 'orientation_training_mailer')[1]
except ValueError:
template_id = False
try:
compose_form_id = ir_model_data.get_object_reference('mail', 'email_compose_message_wizard_form')[1]
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,
}

52
employee_orientation/models/orientation_checklist.py

@ -0,0 +1,52 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2017-TODAY Cybrosys Technologies(<http://www.cybrosys.com>).
# Author: Nilmar Shereef(<http://www.cybrosys.com>)
# you can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# It is forbidden to publish, distribute, sublicense, or sell copies
# of the Software or modified copies of the Software.
#
# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# GENERAL PUBLIC LICENSE (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from openerp import models, fields, _
class OrientationChecklist(models.Model):
_name = 'orientation.checklist'
_description = "Checklist"
_rec_name = 'checklist_name'
_inherit = ['mail.thread', 'ir.needaction_mixin']
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.One2many('orientation.check', 'checklist', String="Checklist")
class OrientationChecklistNew(models.Model):
_name = 'orientation.check'
checklist_line_name = fields.Many2one('checklist.line', string='Name')
checklist_line_user = fields.Many2one('res.users', string='Responsible User',
related='checklist_line_name.responsible_user')
expected_date = fields.Date(string="Expected Date", default=fields.Datetime.now)
status = fields.Char(string='Status', readonly=True, default=lambda self: _('New'))
checklist = fields.Many2one('orientation.checklist', string="Checklist", ondelete='cascade')
relative_field = fields.Many2one('employee.orientation')

34
employee_orientation/models/orientation_checklist_line.py

@ -0,0 +1,34 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2017-TODAY Cybrosys Technologies(<http://www.cybrosys.com>).
# Author: Nilmar Shereef(<http://www.cybrosys.com>)
# you can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# It is forbidden to publish, distribute, sublicense, or sell copies
# of the Software or modified copies of the Software.
#
# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# GENERAL PUBLIC LICENSE (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from openerp 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)

93
employee_orientation/models/orientation_checklist_request.py

@ -0,0 +1,93 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2017-TODAY Cybrosys Technologies(<http://www.cybrosys.com>).
# Author: Nilmar Shereef(<http://www.cybrosys.com>)
# you can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL v3), Version 3.
#
# It is forbidden to publish, distribute, sublicense, or sell copies
# of the Software or modified copies of the Software.
#
# 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# GENERAL PUBLIC LICENSE (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from openerp import models, fields, api, _
from openerp.tools.translate import _
class OrientationChecklistRequest(models.Model):
_name = 'orientation.request'
_description = "Employee Orientation Request"
_rec_name = 'request_name'
_inherit = ['mail.thread', 'ir.needaction_mixin']
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)
user_id = fields.Many2one('res.users', string='Users', default=lambda self: self.env.user)
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')
company_id = fields.Many2one('res.company', string='Company', required=True,
default=lambda self: self.env.user.company_id)
state = fields.Selection([
('new', 'New'),
('complete', 'Completed'),
], string='Status', readonly=True, copy=False, index=True, track_visibility='onchange', default='new')
@api.multi
def confirm_send_mail(self):
self.ensure_one()
ir_model_data = self.env['ir.model.data']
try:
template_id = ir_model_data.get_object_reference('employee_orientation', 'orientation_request_mailer')[1]
except ValueError:
template_id = False
try:
compose_form_id = ir_model_data.get_object_reference('mail', 'email_compose_message_wizard_form')[1]
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,
}
@api.multi
def confirm_request(self):
user_obj = self.env.user
if user_obj == self.partner_id.user_id:
self.write({'state': "complete"})
data = self.env['orientation.check'].search([('checklist_line_name.line_name', '=', self.request_name),
('checklist_line_user.name', '=', self.partner_id.name)])
data.status = self.state

15
employee_orientation/security/ir.model.access.csv

@ -0,0 +1,15 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_orientation_request,orientation.request,model_orientation_request,base.group_user,1,1,1,1
access_orientation.check,orientation.check,model_orientation_check,base.group_user,1,1,1,1
access_checklist_line,checklist.line,model_checklist_line,base.group_user,1,0,0,0
access_employee_orientation,employee.orientation,model_employee_orientation,base.group_user,0,1,1,1
access_employee_training,employee.training,model_employee_training,base.group_user,1,1,1,1
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_orientation_request orientation.request model_orientation_request base.group_user 1 1 1 1
3 access_orientation.check orientation.check model_orientation_check base.group_user 1 1 1 1
4 access_checklist_line checklist.line model_checklist_line base.group_user 1 0 0 0
5 access_employee_orientation employee.orientation model_employee_orientation base.group_user 0 1 1 1
6 access_employee_training employee.training model_employee_training base.group_user 1 1 1 1

BIN
employee_orientation/static/description/banner.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

BIN
employee_orientation/static/description/checklist_form.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

BIN
employee_orientation/static/description/checklist_tree.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
employee_orientation/static/description/cybro_logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
employee_orientation/static/description/employee_form.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

BIN
employee_orientation/static/description/employee_tree.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
employee_orientation/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

129
employee_orientation/static/description/index.html

@ -0,0 +1,129 @@
<section class="oe_container">
<div class="oe_row oe_spaced">
<h2 class="oe_slogan">Employee Orientation/Training Program</h2>
<br>
<br>
<h4>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.</h4>
<br>
<h4>Benefits of Employee Orientation</h4>
<div>
<ul>
<li>&nbsp;&nbsp;It can enhance the overall satisfaction of employees and can encourage a positive attitude about the employer.</li>
<li>&nbsp;&nbsp;Employees view companies that offer meaningful benefits as more caring and engaged with their needs.
This may help reduce turnover and increase productivity</li>
</ul>
</div>
<h4>Major Features</h4>
<ul>
<li style="list-style:none !important;"><span style="color:green;"> &#9745;</span>&nbsp;&nbsp; Makes the Employee Orientation Program easier.</li>
<li style="list-style:none !important;"><span style="color:green;"> &#9745;</span>&nbsp;&nbsp; Systematical Workflow.</li>
<li style="list-style:none !important;"><span style="color:green;"> &#9745;</span>&nbsp;&nbsp; Allows to Create Employee Training Programs.</li>
<li style="list-style:none !important;"><span style="color:green;"> &#9745;</span>&nbsp;&nbsp; Email Notification for each Responsible person.</li>
</ul>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_space">
<h2 class="oe_slogan">Employee Orientation</h2>
<p></p>
<div class="oe_span12">
<div class="oe_demo oe_picture oe_screenshot">
<img src="employee_form.png">
</div>
<div class="oe_demo oe_picture oe_screenshot">
<img src="employee_tree.png">
</div>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_space">
<h2 class="oe_slogan">Orientation Request</h2>
<div class="oe_span12">
<div class="oe_demo oe_picture oe_screenshot">
<img src="request_form.png">
</div>
<div class="oe_demo oe_picture oe_screenshot">
<img src="request_mail.png">
</div>
<div class="oe_demo oe_picture oe_screenshot">
<img src="request_tree.png">
</div>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_space">
<h2 class="oe_slogan">Employee Training </h2>
<div class="oe_span12">
<div class="oe_demo oe_picture oe_screenshot">
<img src="training_form.png">
</div>
<div class="oe_demo oe_picture oe_screenshot">
<img src="training_mail.png">
</div>
<div class="oe_demo oe_picture oe_screenshot">
<img src="training_tree.png">
</div>
</div>
</div>
</section>
<section class="oe_container">
<div class="oe_row oe_space">
<h2 class="oe_slogan">Orientation Checklist</h2>
<div class="oe_span12">
<div class="oe_demo oe_picture oe_screenshot">
<img src="checklist_form.png">
</div>
<div class="oe_demo oe_picture oe_screenshot">
<img src="checklist_tree.png">
</div>
</div>
</div>
</section>
<section class="oe_container oe_dark">
<div class="oe_row oe_space">
<h2 class="oe_slogan">Orientation Checklist Line</h2>
<div class="oe_span12">
<div class="oe_demo oe_picture oe_screenshot">
<img src="line_form.png">
</div>
<div class="oe_demo oe_picture oe_screenshot">
<img src="line_tree.png">
</div>
</div>
</div>
</section>
<section class="oe_container">
<h2 class="oe_slogan" style="margin-top:20px;" >Need Any Help?</h2>
<div class="oe_slogan" style="margin-top:10px !important;">
<div>
<a class="btn btn-primary btn-lg mt8"
style="color: #FFFFFF !important;border-radius: 0;" href="http://www.cybrosys.com"><i
class="fa fa-envelope"></i> Email </a> <a
class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;border-radius: 0;"
href="http://www.cybrosys.com/contact/"><i
class="fa fa-phone"></i> Contact Us </a> <a
class="btn btn-primary btn-lg mt8" style="color: #FFFFFF !important;border-radius: 0;"
href="http://www.cybrosys.com/odoo-customization-and-installation/"><i
class="fa fa-check-square"></i> Request Customization </a>
</div>
<br>
<img src="/website_trading/static/description/cybro_logo.png" style="width: 190px; margin-bottom: 20px;" class="center-block">
<div>
<a href="https://twitter.com/cybrosys" target="_blank"><i class="fa fa-2x fa-twitter" style="color:white;background: #00a0d1;width:35px;"></i></a></td>
<a href="https://www.linkedin.com/company/cybrosys-technologies-pvt-ltd" target="_blank"><i class="fa fa-2x fa-linkedin" style="color:white;background: #31a3d6;width:35px;padding-left: 3px;"></i></a></td>
<a href="https://www.facebook.com/cybrosystechnologies" target="_blank"><i class="fa fa-2x fa-facebook" style="color:white;background: #3b5998;width:35px;padding-left: 8px;"></i></a></td>
<a href="https://plus.google.com/106641282743045431892/about" target="_blank"><i class="fa fa-2x fa-google-plus" style="color:white;background: #c53c2c;width:35px;padding-left: 3px;"></i></a></td>
<a href="https://in.pinterest.com/cybrosys" target="_blank"><i class="fa fa-2x fa-pinterest" style="color:white;background: #ac0f18;width:35px;padding-left: 3px;"></i></a></td>
</div>
</div>
</section>

BIN
employee_orientation/static/description/line_form.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

BIN
employee_orientation/static/description/line_tree.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
employee_orientation/static/description/request_form.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

BIN
employee_orientation/static/description/request_mail.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

BIN
employee_orientation/static/description/request_tree.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

BIN
employee_orientation/static/description/training_form.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

BIN
employee_orientation/static/description/training_mail.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

BIN
employee_orientation/static/description/training_tree.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

98
employee_orientation/views/employee_orientation.xml

@ -0,0 +1,98 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<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" />
</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"/>
<!--attrs="{'visible': [('state', '==', '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" />
<field name="department"/>
<field name="date"/>
<field name="job_id"/>
<field name="responsible_user"/>
<field name="parent_id"/>
<field name="employee_company"/>
<field name="orientation_id" domain="[('checklist_department', '=', department)]"/>
</group>
<notebook colspan="4">
<page name="checklist_lines" string="Orientation Checklists Lines">
<field name="orientation_line_id">
<tree string="lines" editable="bottom">
<field name="checklist_line_name"/>
<field name="checklist_line_user"/>
<field name="expected_date"/>
<field name="status"/>
</tree>
</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_type">form</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">
<p class="oe_view_nocontent_create">
Create Employee Orientation.
</p>
</field>
</record>
<menuitem action="action_employee_orientation" id="menu_employee_orientation_child" name="Employee Orientation" parent="menu_employee_orientation" sequence="1" />
</data>
</openerp>

82
employee_orientation/views/employee_training.xml

@ -0,0 +1,82 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<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"/>
<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"/>
<field name="program_convener"/>
</group>
<notebook colspan="4">
<page name="checklist_lines" string="Employee Details">
<field name="training_id">
</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 />
<group expand="0" string="Group By...">
<filter string="name" domain="[]"
context="{'group_by':'program_name'}" />
</group>
</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_type">form</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">
<p class="oe_view_nocontent_create">
Create Employee Training Program.
</p>
</field>
</record>
<menuitem action="action_employee_training" id="menu_employee_training_child" name="Employee Training Program" parent="menu_employee_training" sequence="1" />
</data>
</openerp>

110
employee_orientation/views/orientation_checklist.xml

@ -0,0 +1,110 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<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">
<tree string="lines" editable="bottom">
<field name="checklist_line_name"/>
<field name="checklist_line_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_type">form</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">
<p class="oe_view_nocontent_create">
Create Orientation Checklists.
</p>
</field>
</record>
<menuitem id="menu_employee_orientation_config" name="Configuration" parent="menu_employee_orientation_root" />
<menuitem action="action_orientation_checklist" id="menu_orientation_checklist_config" name="Orientation Checklist" parent="menu_employee_orientation_config" sequence="10"/>
<record id="view_orientation_check_tree" model="ir.ui.view">
<field name="name">orientation.check.tree</field>
<field name="model">orientation.check</field>
<field name="priority" eval="8" />
<field name="arch" type="xml">
<tree string="Orientation Checklists">
<field name="checklist_line_name" />
<field name="checklist_line_user" />
<field name="expected_date"/>
<field name="status"/>
</tree>
</field>
</record>
<record id="view_orientation_check_form" model="ir.ui.view">
<field name="name">orientation.check.form</field>
<field name="model">orientation.check</field>
<field name="priority" eval="8" />
<field name="arch" type="xml">
<form>
<sheet>
<group colspan="1" col="4" name="main">
<field name="checklist_line_name" />
<field name="checklist_line_user"/>
<field name="expected_date"/>
<field name="status"/>
</group>
</sheet>
</form>
</field>
</record>
</data>
</openerp>

72
employee_orientation/views/orientation_checklist_line.xml

@ -0,0 +1,72 @@
<?xml version="1.0" encoding="UTF-8"?>
<openerp>
<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>
<!--<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="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_type">form</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">
<p class="oe_view_nocontent_create">
Create Orientation Checklists Lines.
</p>
</field>
</record>
<menuitem id="menu_employee_orientation_root" name="Orientation"/>
<menuitem id="menu_employee_orientation" parent="menu_employee_orientation_root" name="Orientations"/>
<menuitem id="menu_employee_training" parent="menu_employee_orientation_root" name="Employee Training Program" sequence="10"/>
<!-- Configuration Menu -->
<menuitem id="menu_employee_orientation_config" name="Configuration" parent="menu_employee_orientation_root" sequence="15" />
<menuitem action="action_checklist_line" id="menu_employee_orientation_config_line" name="Orientation Checklist Line" parent="menu_employee_orientation_config" sequence="20"/>
</data>
</openerp>

15
employee_orientation/views/orientation_checklist_sequence.xml

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<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 eval="1" name="1"/>
<field name="company_id" eval="False"/>
</record>
</data>
</openerp>

86
employee_orientation/views/orientation_checklists_request.xml

@ -0,0 +1,86 @@
<?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">
<field name="request_name" />
<field name="request_orientation" />
<field name="partner_id" />
</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">
<header>
<button name="confirm_send_mail" string="Send by Email" type="object" class="oe_highlight"/>
<button name="confirm_request" string="Complete" type="object" states="new" class="btn-primary" groups="base.group_user"/>
<field name="state" widget="statusbar" statusbar_visible="new,complete"/>
</header>
<sheet>
<group colspan="1" col="4" name="main">
<field name="request_name" />
<field name="request_orientation"/>
<field name="employee_company"/>
<field name="partner_id"/>
<field name="request_date"/>
<field name="request_expected_date"/>
<field name="employee_id" invisible="1"/>
</group>
<notebook colspan="4">
<page name="checklist_lines" string="Orientation Checklists Lines">
<group>
<field name="attachment_id_1" widget="many2many_binary" />
</group>
</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_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_type">form</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">
<p class="oe_view_nocontent_create">
Create Orientation Requests.
</p>
</field>
</record>
<menuitem action="action_orientation_request" id="menu_orientation_request" name="Orientation Request" parent="menu_employee_orientation" sequence="2"/>
</data>
</openerp>

86
employee_orientation/views/orientation_request_mail_template.xml

@ -0,0 +1,86 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="orientation_request_mailer" model="mail.template">
<field name="name">Employee Orientation Request</field>
<field name="email_from">${(object.user_id.email)}</field>
<field name="email_to">${object.partner_id.email}</field>
<!--<field name="partner_to">${object.partner_id.work_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"><![CDATA[
<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; ">
<p>Hello, ${object.partner_id.name}</p>
<p>Your are request to prepare below checklist.</p>
<p>Check_Line: ${object.request_name}</p>
<p>Employee: ${object.employee_id.name}</p>
<p>Expected Date: ${object.request_expected_date}</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;">${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; ">
${object.company_id.partner_id.sudo().with_context(show_address=True, html_format=True).name_get()[0][1] | safe}
</span>
% 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:&nbsp; ${object.company_id.phone}
</div>
% endif
% if object.company_id.website:
<div>
Web :&nbsp;<a href="${object.company_id.website}">${object.company_id.website}</a>
</div>
%endif
<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)}</field>
<field name="email_to">${object.program_convener.work_email}</field>
<!--<field name="partner_to">${object.partner_id.work_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"><![CDATA[
<div style="font-family: 'Lucica Grande', Ubuntu, Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: #FFF; ">
<p>Hello, ${object.program_convener.name}</p>
<p>Your are request to conduct ${object.program_name} Training program for ${object.program_department.name} department</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;">${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; ">
${object.company_id.partner_id.sudo().with_context(show_address=True, html_format=True).name_get()[0][1] | safe}
</span>
% 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:&nbsp; ${object.company_id.phone}
</div>
% endif
% if object.company_id.website:
<div>
Web :&nbsp;<a href="${object.company_id.website}">${object.company_id.website}</a>
</div>
%endif
<p></p>
</div>
</div>
]]>
</field>
</record>
</data>
</openerp>
Loading…
Cancel
Save