Browse Source

May 08 : [ADD] Initial Commit 'equipment_request_it_operations'

dependabot/npm_and_yarn/odoo_website_helpdesk/static/src/cdn/minimist-1.2.8
Sayooj 2 years ago
parent
commit
d69756195e
  1. 38
      equipment_request_it_operations/README.rst
  2. 22
      equipment_request_it_operations/__init__.py
  3. 52
      equipment_request_it_operations/__manifest__.py
  4. 8
      equipment_request_it_operations/doc/RELEASE_NOTES.md
  5. 26
      equipment_request_it_operations/models/__init__.py
  6. 61
      equipment_request_it_operations/models/damage_detail.py
  7. 55
      equipment_request_it_operations/models/equipment_detail.py
  8. 247
      equipment_request_it_operations/models/equipment_request.py
  9. 35
      equipment_request_it_operations/models/hr_expense.py
  10. 36
      equipment_request_it_operations/models/stock_picking.py
  11. 14
      equipment_request_it_operations/report/equipment_report.xml
  12. 254
      equipment_request_it_operations/report/equipment_report_template.xml
  13. 4
      equipment_request_it_operations/security/ir.model.access.csv
  14. 30
      equipment_request_it_operations/security/user_groups.xml
  15. BIN
      equipment_request_it_operations/static/description/assets/icons/check.png
  16. BIN
      equipment_request_it_operations/static/description/assets/icons/chevron.png
  17. BIN
      equipment_request_it_operations/static/description/assets/icons/cogs.png
  18. BIN
      equipment_request_it_operations/static/description/assets/icons/consultation.png
  19. BIN
      equipment_request_it_operations/static/description/assets/icons/ecom-black.png
  20. BIN
      equipment_request_it_operations/static/description/assets/icons/education-black.png
  21. BIN
      equipment_request_it_operations/static/description/assets/icons/hotel-black.png
  22. BIN
      equipment_request_it_operations/static/description/assets/icons/license.png
  23. BIN
      equipment_request_it_operations/static/description/assets/icons/lifebuoy.png
  24. BIN
      equipment_request_it_operations/static/description/assets/icons/manufacturing-black.png
  25. BIN
      equipment_request_it_operations/static/description/assets/icons/pos-black.png
  26. BIN
      equipment_request_it_operations/static/description/assets/icons/puzzle.png
  27. BIN
      equipment_request_it_operations/static/description/assets/icons/restaurant-black.png
  28. BIN
      equipment_request_it_operations/static/description/assets/icons/service-black.png
  29. BIN
      equipment_request_it_operations/static/description/assets/icons/trading-black.png
  30. BIN
      equipment_request_it_operations/static/description/assets/icons/training.png
  31. BIN
      equipment_request_it_operations/static/description/assets/icons/update.png
  32. BIN
      equipment_request_it_operations/static/description/assets/icons/user.png
  33. BIN
      equipment_request_it_operations/static/description/assets/icons/wrench.png
  34. BIN
      equipment_request_it_operations/static/description/assets/misc/categories.png
  35. BIN
      equipment_request_it_operations/static/description/assets/misc/check-box.png
  36. BIN
      equipment_request_it_operations/static/description/assets/misc/compass.png
  37. BIN
      equipment_request_it_operations/static/description/assets/misc/corporate.png
  38. BIN
      equipment_request_it_operations/static/description/assets/misc/customer-support.png
  39. BIN
      equipment_request_it_operations/static/description/assets/misc/cybrosys-logo.png
  40. BIN
      equipment_request_it_operations/static/description/assets/misc/features.png
  41. BIN
      equipment_request_it_operations/static/description/assets/misc/logo.png
  42. BIN
      equipment_request_it_operations/static/description/assets/misc/pictures.png
  43. BIN
      equipment_request_it_operations/static/description/assets/misc/pie-chart.png
  44. BIN
      equipment_request_it_operations/static/description/assets/misc/right-arrow.png
  45. BIN
      equipment_request_it_operations/static/description/assets/misc/star.png
  46. BIN
      equipment_request_it_operations/static/description/assets/misc/support.png
  47. BIN
      equipment_request_it_operations/static/description/assets/misc/whatsapp.png
  48. BIN
      equipment_request_it_operations/static/description/assets/modules/1.png
  49. BIN
      equipment_request_it_operations/static/description/assets/modules/2.png
  50. BIN
      equipment_request_it_operations/static/description/assets/modules/3.png
  51. BIN
      equipment_request_it_operations/static/description/assets/modules/4.png
  52. BIN
      equipment_request_it_operations/static/description/assets/modules/5.png
  53. BIN
      equipment_request_it_operations/static/description/assets/modules/6.png
  54. BIN
      equipment_request_it_operations/static/description/assets/screenshots/1.png
  55. BIN
      equipment_request_it_operations/static/description/assets/screenshots/2.png
  56. BIN
      equipment_request_it_operations/static/description/assets/screenshots/Dept_form_view_greneate_expense_and approve.png
  57. BIN
      equipment_request_it_operations/static/description/assets/screenshots/Dept_tree_view_menu.png
  58. BIN
      equipment_request_it_operations/static/description/assets/screenshots/Stock_manager_form_view_internal_tranfer.png
  59. BIN
      equipment_request_it_operations/static/description/assets/screenshots/can_create_equipment_report.png
  60. BIN
      equipment_request_it_operations/static/description/assets/screenshots/dept_apprvoed_and_generated Expense.png
  61. BIN
      equipment_request_it_operations/static/description/assets/screenshots/equipment_user_groups.png
  62. BIN
      equipment_request_it_operations/static/description/assets/screenshots/expense_smart_button_view.png
  63. BIN
      equipment_request_it_operations/static/description/assets/screenshots/hr_officer_form_view.png
  64. BIN
      equipment_request_it_operations/static/description/assets/screenshots/hr_tree_view_menu.png
  65. BIN
      equipment_request_it_operations/static/description/assets/screenshots/once_hr_approved_he_can generate_expense.png
  66. BIN
      equipment_request_it_operations/static/description/assets/screenshots/pdf_report_view.png
  67. BIN
      equipment_request_it_operations/static/description/assets/screenshots/stock_manager_tree_view_menu.png
  68. BIN
      equipment_request_it_operations/static/description/assets/screenshots/user_can_sent_repair_request.png
  69. BIN
      equipment_request_it_operations/static/description/assets/screenshots/v16-hero.gif
  70. BIN
      equipment_request_it_operations/static/description/assets/screenshots/view_internal_tranfer and approve.png
  71. BIN
      equipment_request_it_operations/static/description/banner.png
  72. BIN
      equipment_request_it_operations/static/description/icon.png
  73. 637
      equipment_request_it_operations/static/description/index.html
  74. 208
      equipment_request_it_operations/views/equipment_request_views.xml
  75. 36
      equipment_request_it_operations/views/menu_action.xml

38
equipment_request_it_operations/README.rst

@ -0,0 +1,38 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
Equipment Request & IT Operations
====================================
* Equipment Request & IT Operations For Odoo 16 community
Company
-------
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__
Credits
-------
Developer: anfas @ Cybrosys, Contact: 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>`__

22
equipment_request_it_operations/__init__.py

@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Anfas Faisal K (odoo@cybrosys.info)
#
# 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

52
equipment_request_it_operations/__manifest__.py

@ -0,0 +1,52 @@
# -*- coding: utf-8 -*-
################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Anfas Faisal K (odoo@cybrosys.info)
#
# 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': "Equipment Request & IT Operations",
'version': "16.0.1.0.0",
'category': 'Human Resources',
'description': "This module allows your employees to send requests to "
"the Department Manager of Equipment for"
"equipment type as equipment requests and equipment "
"damage expense reimbursement requests Followed"
"by Department manager approval and HR Officer approval "
"workflow for equipment request and"
"equipment damage request",
'summary': 'Create Equipment Requests',
'author': 'Cybrosys Techno Solutions',
'company': 'Cybrosys Techno Solutions',
'maintainer': 'Cybrosys Techno Solutions',
'images': ['static/description/banner.png'],
'website': 'https://www.cybrosys.com',
'depends': ['base', 'hr_expense', 'hr', 'stock', 'account'],
'data': [
'security/ir.model.access.csv',
'security/user_groups.xml',
'views/equipment_request_views.xml',
'report/equipment_report.xml',
'report/equipment_report_template.xml',
'views/menu_action.xml',
],
'license': 'AGPL-3',
'installable': True,
'auto_install': False,
'application': False,
}

8
equipment_request_it_operations/doc/RELEASE_NOTES.md

@ -0,0 +1,8 @@
## Module <equipment_request_it_operations>
#### 06.03.2023
#### Version 16.0.1.0.0
#### ADD
- Initial commit for Equipment Request & IT Operations

26
equipment_request_it_operations/models/__init__.py

@ -0,0 +1,26 @@
# -*- coding: utf-8 -*-
################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Anfas Faisal K (odoo@cybrosys.info)
#
# 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 equipment_request
from . import damage_detail
from . import equipment_detail
from . import hr_expense
from . import stock_picking

61
equipment_request_it_operations/models/damage_detail.py

@ -0,0 +1,61 @@
# -*- coding: utf-8 -*-
################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Anfas Faisal K (odoo@cybrosys.info)
#
# 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 DamageDetail(models.Model):
"""Model to manage damage details associated with expense items."""
_name = "damage.detail"
_description = "Details of expenses related to equipment damage."
_rec_name = 'product_id'
product_id = fields.Many2one('product.product', string='Product',
help='A reference to the specific product '
'associated with this expense item.')
unit_price = fields.Float(string='Unit Price',
help='The cost per unit of the associated '
'product.')
quantity = fields.Float(string='Quantity', default=1,
help='The number of units of the associated product'
'that were purchased.')
expense_note = fields.Char(string='Description',
help='A brief description or'
'note about the expense item.')
equipment_damage_id = fields.Many2one('equipment.request', string='Damage',
help='A reference to the equipment '
'request that led to this '
'expense'
'item (if applicable).')
@api.onchange('product_id')
def _onchange_product_id(self):
"""Changing the Product Field will give Product's Unit Price and also
resets to Quantity to 1"""
self.unit_price = self.product_id.lst_price
self.quantity = 1
@api.onchange('quantity')
def _onchange_quantity(self):
"""Changing Quantity causes the Unit Price of Product to Change"""
self.unit_price = self.product_id.lst_price * self.quantity

55
equipment_request_it_operations/models/equipment_detail.py

@ -0,0 +1,55 @@
# -*- coding: utf-8 -*-
################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Anfas Faisal K (odoo@cybrosys.info)
#
# 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 EquipmentDetail(models.Model):
"""Model to manage equipment details associated with request items."""
_name = "equipment.detail"
_description = "Details of equipment associated with request items."
_rec_name = 'product_id'
product_id = fields.Many2one('product.product', string='Product',
help='A reference to the specific product '
'associated with this item.')
description = fields.Char(string='Description',
help='A brief description of the item.')
quantity = fields.Float(string='Quantity', default=1,
help='The number of units of the associated product'
'that were requested or used.')
product_uom_id = fields.Many2one('uom.uom',
string='Product Unit of Measure',
help='The unit of measure for the '
'associated'
'product.')
equipment_detail_id = fields.Many2one('equipment.request',
string='Request Equipments',
help='A reference to the equipment '
'request that led to this item '
'(if'
'applicable).')
@api.onchange('product_id')
def _onchange_product_id(self):
"""Changing the Product Field will reset the Quantity to 1"""
self.quantity = 1
self.product_uom_id = self.product_id.uom_id

247
equipment_request_it_operations/models/equipment_request.py

@ -0,0 +1,247 @@
# -*- coding: utf-8 -*-
################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Anfas Faisal K (odoo@cybrosys.info)
#
# 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
from odoo.exceptions import UserError
class EquipmentRequest(models.Model):
""" Model representing equipment request records.
This model stores information about equipment requests made by employees,
including details such as the type of request (software or hardware), the
employee making the request, the department, job position, user who created
the request, and other related information.
The model also includes fields to track the approval status of the request,
any damages associated with the equipment, expenses related to the request,
and internal orders associated with the request."""
_name = "equipment.request"
_description = "Model representing equipment requests made by employees"
name = fields.Char(compute='_compute_name',
help="Auto-generated field based on record's ID")
request_for = fields.Selection([
('software', 'Software'),
('hardware', 'Hardware')], string='Request For',
copy=False, default='software', required=True,
help="Type of Equipment Request")
employee_name_id = fields.Many2one('hr.employee', string='Employee',
required=True,
help="Employee requesting the equipment")
department_name_id = fields.Many2one('hr.department', string='Department',
help="Department of the employee")
job_position_id = fields.Many2one('hr.job', string='Job Position',
help="Job position of the employee")
user_login_id = fields.Many2one('res.users', string='User',
default=lambda self: self.env.user,
help="User who created the equipment "
"request")
damage_check = fields.Boolean(string='Damage',
help="Whether the equipment"
" is damaged or not")
company_name_id = fields.Many2one('res.company', string='Company',
default=lambda self: self.env.company,
help="Company of the employee")
source_location_id = fields.Many2one('stock.location',
string='Source Location',
help="Location from where the "
"equipment"
"will be sourced")
destination_location_id = fields.Many2one('stock.location',
string='Destination Location',
help="Location where the "
"equipment"
"will be sent")
created_user_id = fields.Many2one('res.users', string='Created By',
default=lambda self: self.env.user,
help="User who created the equipment "
"request")
create_date = fields.Date(string='Created Date',
help="Date when the equipment "
"request was created")
validate_user_id = fields.Many2one('res.users', string='Department Manager',
help="Manager who approves the equipment"
"request")
validate_date = fields.Date(string='Department Approved Date',
help="Date when the department manager approved"
"the equipment request")
hr_user_id = fields.Many2one('res.users', string='HR Manager',
help="HR Manager who approves the equipment "
"request")
hr_date = fields.Date(string='HR Approved Date',
help="Date when the HR Manager approved the equipment"
"request")
stock_user_id = fields.Many2one('res.users', string='Stock Manager',
help="Stock Manager who approves the "
"equipment"
"request")
stock_date = fields.Date(string='Stock Approved Date',
help="Date when the Stock Manager approved the "
"equipment request")
status = fields.Selection([
('draft', 'Draft'),
('waiting', 'Waiting for Approval of Department'),
('approval', 'Waiting For Approval of HR'),
('approved', 'Approved'),
('assigned', 'Equipment Assigned'),
('reject', 'Rejected')],
string='State', copy=False, default='draft',
help="Status of the equipment request")
is_expensed = fields.Boolean(default=False,
help="Whether the equipment request has been "
"expensed or not")
equipment_request_ids = fields.One2many('equipment.detail',
'equipment_detail_id',
String='Request Equipments',
help="Equipment details for the "
"equipment request")
equipment_damage_ids = fields.One2many('damage.detail',
'equipment_damage_id',
String='Damage Details',
help="Details of damages (if any) "
"for"
"the equipment")
equipment_expense_ids = fields.One2many('hr.expense',
'equipment_expense_id',
String='Expenses',
help="Expenses (if any) associated "
"with the equipment request")
equipment_internal_ids = fields.One2many('stock.picking',
'equipment_transfer_id',
String='Internal Orders',
help="The internal orders "
"related to"
"this equipment request.")
@api.onchange('employee_name_id')
def _onchange_employee_name_id(self):
"""Changing the Employee will also write the Department he belongs to
and also Job Position"""
if self.employee_name_id:
self.department_name_id = self.employee_name_id.department_id
self.job_position_id = self.employee_name_id.job_id
@api.depends('request_for', 'employee_name_id')
def _compute_name(self):
""" _rec_name = Employee Name + Request Type + Creation Date"""
for record in self:
record.name = str(record.employee_name_id.name) + ' - ' + str(
record.request_for) + ' - ' + str(
fields.date.today())
def action_confirm(self):
"""Confirm Button"""
self.write({'status': 'waiting'})
def action_reject(self):
"""Reject Button"""
self.write({'status': 'reject'})
def action_waiting_approval_dept(self):
"""Department Approval Button also write the user who Approved this
button and Date he approved"""
self.write({'status': 'approval', 'validate_user_id': self.env.user.id,
'validate_date': fields.Date.today()})
def action_waiting_approval_hr(self):
"""HR Approval Button also write the user who Approved this button
and Date he approved"""
self.write({'status': 'approved', 'hr_user_id': self.env.user.id,
'hr_date': fields.Date.today()})
def action_internal_transfer(self):
"""Create Internal Transfer and Go the Final Status if no source
location and destination location User Error Shows"""
if not self.source_location_id:
raise UserError('Source Location is not defined')
if not self.destination_location_id:
raise UserError('Destination Location is not defined')
picking_type_id = self.env['stock.picking.type'].search(
[('code', '=', 'internal')])
if not picking_type_id:
picking_type_id = self.env['stock.picking.type'].create({
'name': 'Internal Transfers',
'code': 'internal',
'sequence_code': 'INT',
})
move_vals = {
'picking_type_id': picking_type_id.id,
'location_id': self.source_location_id.id,
'location_dest_id': self.destination_location_id.id,
'equipment_transfer_id': self.id,
}
picking = self.env['stock.picking'].create(move_vals)
for value in self.equipment_request_ids:
self.env['stock.move'].create({
'picking_id': picking.id,
'name': value.product_id.name,
'product_id': value.product_id.id,
'product_uom_qty': value.quantity,
'product_uom': value.product_id.uom_id.id,
'location_id': self.source_location_id.id,
'location_dest_id': self.destination_location_id.id,
})
picking.action_confirm()
picking.action_assign()
self.write({'status': 'assigned', 'stock_user_id': self.env.user.id,
'stock_date': fields.Date.today()})
def action_expense(self):
"""Button of Create Expense And will Create Expense in Expense Module"""
if self.equipment_damage_ids:
for value in self.equipment_damage_ids:
self.env['hr.expense'].create({
'unit_amount': value.unit_price,
'name': self.name,
'employee_id': self.employee_name_id.id,
'product_id': value.product_id.id,
'equipment_expense_id': self.id,
})
self.is_expensed = True
def action_smart_expense(self):
"""View the Expense in the Smart Tab and also can Approve it from the
Smart Tab"""
return {
'type': 'ir.actions.act_window',
'name': 'Expense',
'res_model': 'hr.expense',
'target': 'current',
'domain': [('name', '=', self.name),
('employee_id', '=', self.employee_name_id.id)],
'view_mode': 'tree,form',
}
def action_view_internal_transfer(self):
"""View Current Record of the Internal Transfer Button"""
picking_id = self.env['stock.picking'].search([
('picking_type_id.code', '=', 'internal'),
('location_id', '=', self.source_location_id.id),
('location_dest_id', '=', self.destination_location_id.id),
], limit=1, order='create_date desc')
return {
'type': 'ir.actions.act_window',
'name': 'Internal Transfer',
'view_mode': 'form',
'target': 'current',
'res_model': 'stock.picking',
'res_id': picking_id.id
}

35
equipment_request_it_operations/models/hr_expense.py

@ -0,0 +1,35 @@
# -*- coding: utf-8 -*-
################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Anfas Faisal K (odoo@cybrosys.info)
#
# 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 fields, models
class HrExpense(models.Model):
"""
Model representing expenses associated with equipment requests.
This model inherits from the `hr.expense` model and adds a Many2one field
`equipment_expense_id` to link expenses with equipment requests. This field
is used to associate expenses with the corresponding equipment request.
"""
_inherit = "hr.expense"
equipment_expense_id = fields.Many2one('equipment.request',
string='Equipment')

36
equipment_request_it_operations/models/stock_picking.py

@ -0,0 +1,36 @@
# -*- coding: utf-8 -*-
################################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>).
# Author: Anfas Faisal K (odoo@cybrosys.info)
#
# 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 fields, models
class StockPicking(models.Model):
"""
Model representing internal transfers related to equipment requests.
This model inherits from the `stock.picking` model and adds a Many2one field
`equipment_transfer_id` to link internal transfers with equipment requests.
This field is used to associate internal transfers with the corresponding
equipment request.
"""
_inherit = 'stock.picking'
equipment_transfer_id = fields.Many2one('equipment.request',
string='Equipment')

14
equipment_request_it_operations/report/equipment_report.xml

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<!-- Report Function inside Equipment Request Form-->
<record id="equipment_request_report" model="ir.actions.report">
<field name="name">Equipment Report</field>
<field name="model">equipment.request</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">equipment_request_it_operations.report_equipment_request_details</field>
<field name="report_file">equipment_request_it_operations.report_equipment_request_details</field>
<field name="binding_model_id" ref="model_equipment_request"/>
<field name="binding_type">report</field>
</record>
</odoo>

254
equipment_request_it_operations/report/equipment_report_template.xml

@ -0,0 +1,254 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- Report Template-->
<template id="report_equipment_request_details">
<t t-call="web.html_container">
<t t-foreach="docs" t-as="data">
<t t-call="web.external_layout">
<div class="page">
<div class="oe_structure"/>
<div class="text-center">
<h1>
<u>Equipment Report</u>
</h1>
</div>
<br>
</br>
<h3>Equipment Assigns</h3>
<table class="table table-sm"
style="border: 1px solid black;">
<tr>
<td>
<strong>Created By:</strong>
</td>
<td>
<t t-esc="data.created_user_id.name"/>
</td>
<td>
<strong>Created Date:</strong>
</td>
<td>
<t t-esc="data.create_date"/>
</td>
</tr>
<tr>
<td>
<strong>Dept Manager:</strong>
</td>
<td>
<t t-esc="data.validate_user_id.name"/>
</td>
<td>
<strong>Dept Manager Approved Date:
</strong>
</td>
<td>
<t t-esc="data.validate_date"/>
</td>
</tr>
<tr>
<td>
<strong>HR Manager:</strong>
</td>
<td>
<t t-esc="data.hr_user_id.name"/>
</td>
<td>
<strong>HR Manager Approved Date:</strong>
</td>
<td>
<t t-esc="data.hr_date"/>
</td>
</tr>
<tr>
<td>
<strong>Stock Manager:</strong>
</td>
<td>
<t t-esc="data.stock_user_id.name"/>
</td>
<td>
<strong>Stock Manager Approved Date:
</strong>
</td>
<td>
<t t-esc="data.stock_date"/>
</td>
</tr>
</table>
<br>
</br>
<h3>Request Equipment Details</h3>
<style>
table, thead, th, td, tr, tbody {
border: 1px solid black;
border-collapse: collapse;
padding: 5px;
}
</style>
<table class="table table-sm"
style="border: 2px solid black;">
<thead>
<tr>
<strong>
<th>Sl.No</th>
<th>Product</th>
<th>Description</th>
<th>Quantity</th>
<th>Unit of Measure</th>
</strong>
</tr>
</thead>
<tbody>
<t t-set="i" t-value="1"/>
<t t-foreach="data.equipment_request_ids"
t-as="request">
<tr>
<th scope="row">
<t t-esc="i"/>
</th>
<td>
<t t-esc="request.product_id.name"/>
</td>
<td>
<t t-esc="request.description"/>
</td>
<td>
<t t-esc="request.quantity"/>
</td>
<td>
<t t-esc="request.product_uom_id.name"/>
</td>
</tr>
<t t-set="i" t-value="i+1"/>
</t>
</tbody>
</table>
<br>
</br>
<t t-if="data.equipment_damage_ids">
<h3>Damage Details</h3>
<style>
table, thead, th, td, tr, tbody {
border: 1px solid black;
border-collapse: collapse;
padding: 5px;
}
</style>
<table class="table table-sm"
style="border: 2px solid black;">
<thead>
<tr>
<strong>
<th>Sl.No</th>
<th>Product</th>
<th>Quantity</th>
<th>Unit Price</th>
<th>Description</th>
</strong>
</tr>
</thead>
<tbody>
<t t-set="i" t-value="1"/>
<t t-foreach="data.equipment_damage_ids"
t-as="damage">
<tr>
<th scope="row">
<t t-esc="i"/>
</th>
<td>
<t t-esc="damage.product_id.name"/>
</td>
<td>
<t t-esc="damage.quantity"/>
</td>
<td>
<t t-esc="damage.unit_price"/>
</td>
<td>
<t t-esc="damage.expense_note"/>
</td>
</tr>
<t t-set="i" t-value="i+1"/>
</t>
</tbody>
</table>
</t>
<br>
</br>
<t t-if="data.equipment_damage_ids">
<h3>Expense List</h3>
<style>
table, thead, th, td, tr, tbody {
border: 1px solid black;
border-collapse: collapse;
padding: 5px;
}
</style>
<table class="table table-sm"
style="border: 2px solid black;">
<thead>
<tr>
<strong>
<th>Sl.No</th>
<th>Expense Date</th>
<th>Description</th>
<th>Employee</th>
<th>Category</th>
<th>Total</th>
<th>Status</th>
</strong>
</tr>
</thead>
<tbody>
<t t-set="i" t-value="1"/>
<t t-foreach="data.equipment_expense_ids"
t-as="expense">
<tr>
<th scope="row">
<t t-esc="i"/>
</th>
<td>
<t t-esc="expense.date.strftime('%d/%m/%Y')"/>
</td>
<td>
<t t-esc="expense.name"/>
</td>
<td>
<t t-esc="expense.employee_id.name"/>
</td>
<td>
<t t-esc="expense.product_id.name"/>
</td>
<td>
<t t-esc="expense.total_amount_company"/>
</td>
<td>
<t t-esc="expense.state"/>
</td>
</tr>
<t t-set="i" t-value="i+1"/>
</t>
</tbody>
</table>
</t>
</div>
</t>
</t>
</t>
</template>
</odoo>

4
equipment_request_it_operations/security/ir.model.access.csv

@ -0,0 +1,4 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_equipment_request,equipment.request,model_equipment_request,base.group_user,1,1,1,1
access_equipment_detail,equipment.detail,model_equipment_detail,base.group_user,1,1,1,1
access_damage_detail,damage.detail,model_damage_detail,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_equipment_request equipment.request model_equipment_request base.group_user 1 1 1 1
3 access_equipment_detail equipment.detail model_equipment_detail base.group_user 1 1 1 1
4 access_damage_detail damage.detail model_damage_detail base.group_user 1 1 1 1

30
equipment_request_it_operations/security/user_groups.xml

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Access Levels-->
<record model="ir.module.category" id="module_equipment_request_it_operations">
<field name="name">Equipments</field>
<field name="description">Access Levels</field>
</record>
<!--equipment_department_manager_res_group-->
<record id="group_equipment_department_manager" model="res.groups">
<field name="name">Department Manager</field>
<field name="category_id" ref="module_equipment_request_it_operations"/>
</record>
<!-- equipment_hr_officer_res_group-->
<record id="group_equipment_hr_officer" model="res.groups">
<field name="name">HR Officer</field>
<field name="category_id" ref="module_equipment_request_it_operations"/>
</record>
<!-- equipment_stock_manager_res_group-->
<record id="group_equipment_stock_manager" model="res.groups">
<field name="name">Stock Manager</field>
<field name="category_id" ref="module_equipment_request_it_operations"/>
</record>
<!-- admin_res_group-->
<record id="group_equipment_admin" model="res.groups">
<field name="name">Manager</field>
<field name="category_id" ref="module_equipment_request_it_operations"/>
<field name="implied_ids"
eval="[(4, ref('group_equipment_department_manager')),(4, ref('group_equipment_stock_manager')), (4, ref('group_equipment_hr_officer'))]"/>
</record>
</odoo>

BIN
equipment_request_it_operations/static/description/assets/icons/check.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
equipment_request_it_operations/static/description/assets/icons/chevron.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

BIN
equipment_request_it_operations/static/description/assets/icons/cogs.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
equipment_request_it_operations/static/description/assets/icons/consultation.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
equipment_request_it_operations/static/description/assets/icons/ecom-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

BIN
equipment_request_it_operations/static/description/assets/icons/education-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

BIN
equipment_request_it_operations/static/description/assets/icons/hotel-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

BIN
equipment_request_it_operations/static/description/assets/icons/license.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
equipment_request_it_operations/static/description/assets/icons/lifebuoy.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
equipment_request_it_operations/static/description/assets/icons/manufacturing-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

BIN
equipment_request_it_operations/static/description/assets/icons/pos-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

BIN
equipment_request_it_operations/static/description/assets/icons/puzzle.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

BIN
equipment_request_it_operations/static/description/assets/icons/restaurant-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

BIN
equipment_request_it_operations/static/description/assets/icons/service-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

BIN
equipment_request_it_operations/static/description/assets/icons/trading-black.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

BIN
equipment_request_it_operations/static/description/assets/icons/training.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

BIN
equipment_request_it_operations/static/description/assets/icons/update.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
equipment_request_it_operations/static/description/assets/icons/user.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

BIN
equipment_request_it_operations/static/description/assets/icons/wrench.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
equipment_request_it_operations/static/description/assets/misc/categories.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
equipment_request_it_operations/static/description/assets/misc/check-box.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
equipment_request_it_operations/static/description/assets/misc/compass.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
equipment_request_it_operations/static/description/assets/misc/corporate.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
equipment_request_it_operations/static/description/assets/misc/customer-support.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
equipment_request_it_operations/static/description/assets/misc/cybrosys-logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
equipment_request_it_operations/static/description/assets/misc/features.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

BIN
equipment_request_it_operations/static/description/assets/misc/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
equipment_request_it_operations/static/description/assets/misc/pictures.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
equipment_request_it_operations/static/description/assets/misc/pie-chart.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
equipment_request_it_operations/static/description/assets/misc/right-arrow.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

BIN
equipment_request_it_operations/static/description/assets/misc/star.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
equipment_request_it_operations/static/description/assets/misc/support.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
equipment_request_it_operations/static/description/assets/misc/whatsapp.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
equipment_request_it_operations/static/description/assets/modules/1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

BIN
equipment_request_it_operations/static/description/assets/modules/2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB

BIN
equipment_request_it_operations/static/description/assets/modules/3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

BIN
equipment_request_it_operations/static/description/assets/modules/4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

BIN
equipment_request_it_operations/static/description/assets/modules/5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

BIN
equipment_request_it_operations/static/description/assets/modules/6.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

BIN
equipment_request_it_operations/static/description/assets/screenshots/1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

BIN
equipment_request_it_operations/static/description/assets/screenshots/2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

BIN
equipment_request_it_operations/static/description/assets/screenshots/Dept_form_view_greneate_expense_and approve.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

BIN
equipment_request_it_operations/static/description/assets/screenshots/Dept_tree_view_menu.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

BIN
equipment_request_it_operations/static/description/assets/screenshots/Stock_manager_form_view_internal_tranfer.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

BIN
equipment_request_it_operations/static/description/assets/screenshots/can_create_equipment_report.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

BIN
equipment_request_it_operations/static/description/assets/screenshots/dept_apprvoed_and_generated Expense.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

BIN
equipment_request_it_operations/static/description/assets/screenshots/equipment_user_groups.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

BIN
equipment_request_it_operations/static/description/assets/screenshots/expense_smart_button_view.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
equipment_request_it_operations/static/description/assets/screenshots/hr_officer_form_view.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

BIN
equipment_request_it_operations/static/description/assets/screenshots/hr_tree_view_menu.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

BIN
equipment_request_it_operations/static/description/assets/screenshots/once_hr_approved_he_can generate_expense.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

BIN
equipment_request_it_operations/static/description/assets/screenshots/pdf_report_view.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

BIN
equipment_request_it_operations/static/description/assets/screenshots/stock_manager_tree_view_menu.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

BIN
equipment_request_it_operations/static/description/assets/screenshots/user_can_sent_repair_request.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

BIN
equipment_request_it_operations/static/description/assets/screenshots/v16-hero.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 KiB

BIN
equipment_request_it_operations/static/description/assets/screenshots/view_internal_tranfer and approve.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

BIN
equipment_request_it_operations/static/description/banner.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

BIN
equipment_request_it_operations/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

637
equipment_request_it_operations/static/description/index.html

@ -0,0 +1,637 @@
<div style="background-color: #714B67; height: 810px; width: 100%; padding: 15px; position: relative;">
<!-- TITLE BAR -->
<div class="d-flex align-items-center justify-content-between"
style="border-bottom: 1px solid #875A7B; padding: 15px; display: flex; justify-content: space-between; align-items: center;">
<img src="assets/misc/cybrosys-logo.png" width="42" height="42" style="width: 42px; height: 42px;"/>
<div>
<div
style="color: #7C7BAD; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2">
<i class="fa fa-check mr-1"></i>Community
</div>
<div
style="color: #017E84; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: bold; background-color: white; display: inline-block; padding: 3px 10px; border-radius: 50px;"
class="mr-2">
<i class="fa fa-check mr-1"></i>Odoo.sh
</div>
</div>
</div>
<!-- END OF TITLE BAR -->
<div class="container">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12">
<!-- APP HERO -->
<h1 style="color: #FFFFFF; font-weight: bolder; font-size: 50px; text-align: center; margin-top: 50px;">
Equipment Request & IT Operations
</h1>
<p style="color:#FFFFFF; padding: 8px 15px; text-align: center; font-size: 24px;">This module allows
your employees to send requests to the Department Manager of Equipment for equipment type as
equipment requests and equipment damage expense reimbursement requests.</p>
<!-- END OF APP HERO -->
<img src="assets/screenshots/v16-hero.gif" class="img-responsive"
style="width: 100%; margin-left: auto; margin-right: auto;"/>
</div>
</div>
</div>
</div>
<!-- NAVIGATION SECTION -->
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px; margin-top: 300px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/compass.png"/>
</div>
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Explore This
Module</h2>
</div>
<div class="row my-4" style="font-family: 'Montserrat', sans-serif;">
<div class="col-sm-12 col-md-6 my-3">
<a href="#overview">
<div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Overview</span>
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">Learn
more about this
module</span>
</div>
<img src="assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
<div class="col-sm-12 col-md-6 my-3">
<a href="#features">
<div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Features</span>
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View
features of this
module</span>
</div>
<img src="assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
<div class="col-sm-12 col-md-6 my-3">
<a href="#screenshots">
<div class="d-flex justify-content-between align-items-center"
style="background-color: #f5f5f5; padding: 30px; width: 100%;">
<div>
<span style="color: #714B67; font-size: 24px; font-weight: 500; display: block;">Screenshots</span>
<span style="color: #714B67; font-size: 16px; font-weight: 400; color:#282F33; display: block;">View
screenshots for this
module</span>
</div>
<img src="assets/misc/right-arrow.png" width="36" height="36"/>
</div>
</a>
</div>
</div>
<!-- END OF NAVIGATION SECTION -->
<!-- OVERVIEW SECTION -->
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="overview">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/pie-chart.png"/>
</div>
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Overview
</h2>
</div>
<div class="row" style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;">
<div class="col-sm-12 py-4">
This module allows your employees to send requests to the Department Manager of Equipment for equipment type as
equipment requests and equipment damage expense reimbursement requests.Followed by Department manager approval
and HR Officer approval workflow for equipment request and equipment damage request.
</div>
</div>
<!-- END OF OVERVIEW SECTION -->
<!-- FEATURES SECTION -->
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="features">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/features.png"/>
</div>
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Features
</h2>
</div>
<div class="row" style="font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 14px; line-height: 200%;">
<div class="col-sm-12 col-md-6">
<div class="d-flex align-items-center" style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Allow your employees to request for any equipment resources from your Equipment Department Manager</span>
</div>
<div class="d-flex align-items-center" style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Allow your employees to request for repair damage of any type and reimbursement of expenses for that damage repair.</span>
</div>
</div>
<div class="col-sm-12 col-md-6">
<div class="d-flex align-items-center" style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Department manager can create expense requests for their employees.</span>
</div>
<div class="d-flex align-items-center" style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">HR Officer can approve as HR approval and Approve equipment expense requests from the smart Tab of Expenses.</span>
</div>
<div class="d-flex align-items-center" style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Stock Manager can create internal transfer for equipment requests to transfer requested equipment/product to employee location.</span>
</div>
<div class="d-flex align-items-center" style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Integrated with stock inventory to allocate equipment/products to your employee.</span>
</div>
<div class="d-flex align-items-center" style="margin-top: 30px; margin-bottom: 30px">
<img src="assets/misc/check-box.png" class="mr-2"/>
<span style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Allow you to print PDF report of equipment requests as shown in the below sample.</span>
</div>
</div>
</div>
<!-- END OF FEATURES SECTION -->
<!-- SCREENSHOTS SECTION -->
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;" id="screenshots">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/pictures.png"/>
</div>
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Screenshots
</h2>
</div>
<div class="row">
<div class="col-sm-12">
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> Equipment Request User Groups
</h3>
<img src="assets/screenshots/equipment_user_groups.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;"> Equipment Request Form View
</h3>
<img src="assets/screenshots/1.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">If the Damage Field is Checked.User can add Damage Details.
</h3>
<img src="assets/screenshots/user_can_sent_repair_request.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Equipment Request - Waiting For Approval Of Department Manager
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">After Confirming Equipment Request users should wait for Approval of Department Manager
.</p>
<img src="assets/screenshots/2.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Department Manager Tree View</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">The Dept Manager Has a Menu Which he can Review All Dept Approval Equipment Request.
.</p>
<img src="assets/screenshots/Dept_tree_view_menu.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Department Manager Form View</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">If the user has checked the "damage" field, the department manager will have two buttons: one for approval and the other for generating expenses.
</p>
<img src="assets/screenshots/Dept_form_view_greneate_expense_and approve.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">After approval and generation of expenses, the next step is for HR to review and approve the request.</h3>
<!-- <p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">After approval and generation of expenses, the next step is for HR to review and approve the request. -->
<!-- .
</p> -->
<img src="assets/screenshots/dept_apprvoed_and_generated Expense.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">HR Manager Tree View.</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">The HR Manager Has a Menu Which he can Review All HR Approval Equipment Request.
</p>
<img src="assets/screenshots/hr_tree_view_menu.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">HR Manager Form View</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">The HR manager will have only one button, which is the approval button.
</p>
<img src="assets/screenshots/hr_officer_form_view.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">After Approval of HR</h3>
Once HR approves the request, they can approve the associated expenses, and the next step is for the stock manager to create internal transfer.
<img src="assets/screenshots/once_hr_approved_he_can generate_expense.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Expense Smart Button View.</h3>
<!-- <p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">Expense Smart Button View</p> -->
<img src="assets/screenshots/expense_smart_button_view.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Stock Manager Tree View..</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">The Stock Manager Has a Menu Which he can Review All Stock Approval Equipment Request..
</p>
<img src="assets/screenshots/stock_manager_tree_view_menu.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Stock Manage Form View.</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">The stock manager can create an internal transfer from the button for the stock/warehouse user, which will then generate an internal picking request.</p>
<img src="assets/screenshots/Stock_manager_form_view_internal_tranfer.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Once the internal transfer is created, they can view it from the button.
.</h3>
<!-- <p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">John cannot alter the configuration for the sales module because he needs administrator access to the Chicago company. -->
</p>
<img src="assets/screenshots/view_internal_tranfer and approve.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">After Completeing All the Process User can Print Equipment Request</h3>
<!-- <p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">The stock manager can create an internal transfer from the button for the stock/warehouse user, which will then generate an internal picking request.</p> -->
<img src="assets/screenshots/pdf_report_view.png" class="img-thumbnail">
</div>
</div>
</div>
<!-- END OF SCREENSHOTS SECTION -->
<!-- RELATED PRODUCTS -->
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/categories.png"/>
</div>
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Related
Products
</h2>
</div>
<div class="row">
<div class="col-sm-12">
<div id="demo1" class="row carousel slide" data-ride="carousel">
<!-- The slideshow -->
<div class="carousel-inner" style="padding: 30px;">
<div class="carousel-item" style="min-height: 198.656px;">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/pos_delete_orderline/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block" style="border-radius: 0px;"
src="assets/modules/1.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/16.0/invoice_multi_approval/#" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block" style="border-radius: 0px;"
src="assets/modules/2.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/16.0/pos_numpad_show_hide/#" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block" style="border-radius: 0px;"
src="assets/modules/3.png">
</div>
</a>
</div>
</div>
<div class="carousel-item active" style="min-height: 198.656px;">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/16.0/website_hide_variants/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block" style="border-radius: 0px;"
src="assets/modules/4.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/16.0/developer_mode/#" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block" style="border-radius: 0px;"
src="assets/modules/5.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/16.0/inventory_barcode_scanning/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block" style="border-radius: 0px;"
src="assets/modules/6.png">
</div>
</a>
</div>
</div>
</div>
<!-- Left and right controls -->
<a class="carousel-control-prev" href="#demo1" data-slide="prev" style="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="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 RELATED PRODUCTS -->
<!-- OUR SERVICES -->
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/star.png"/>
</div>
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Our Services
</h2>
</div>
<div class="container my-5">
<div class="row">
<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>
</div>
<!-- END OF END OF OUR SERVICES -->
<!-- OUR INDUSTRIES -->
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/corporate.png"/>
</div>
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Our
Industries
</h2>
</div>
<div class="container my-5">
<div class="row">
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 0px; 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: 0px; 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: 0px; 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: 0px; 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: 0px; 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 &amp; 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: 0px; 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: 0px; 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: 0px; 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>
</div>
<!-- END OF END OF OUR INDUSTRIES -->
<!-- SUPPORT -->
<div class="d-flex align-items-center" style="border-bottom: 2px solid #714B67; padding: 15px 0px;">
<div class="d-flex justify-content-center align-items-center mr-2"
style="background-color: #F5F5F5; border-radius: 0px; width: 40px; height: 40px;">
<img src="assets/misc/customer-support.png"/>
</div>
<h2 class="mt-2" style="font-family: 'Montserrat', sans-serif; font-size: 24px; font-weight: bold;">Support
</h2>
</div>
<div class="container mt-5">
<div class="row">
<div class="col-sm-12 col-md-6">
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;">
<div class="mr-4 d-flex justify-content-center align-items-center"
style="background-color: #714B67; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;">
<img src="assets/misc/support.png" height="48" width="48" style="width: 42px; height: 42px;"/>
</div>
<div>
<h4>Need Help?</h4>
<p style="line-height: 100%;">Got questions or need help? Get in touch.</p>
<a href="mailto:odoo@cybrosys.com">
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;">
odoo@cybrosys.com</p>
</a>
</div>
</div>
</div>
<div class="col-sm-12 col-md-6">
<div style="background-color: #F6F8F9; padding: 30px; display: flex; align-items: center;">
<div class="mr-4 d-flex justify-content-center align-items-center"
style="background-color: #2AC44D; display: inline-block; height: 70px; width: 70px; display: flex; align-items: center; justify-content: center;">
<img src="assets/misc/whatsapp.png" height="52" width="52" style="width: 52px; height: 52px;"/>
</div>
<div>
<h4>WhatsApp</h4>
<p style="line-height: 100%;">Say hi to us on WhatsApp!</p>
<a href="https://api.whatsapp.com/send?phone=918606827707">
<p style="font-weight: 400; font-size: 28px; line-height: 80%; color: #714B67;">+91 86068
27707</p>
</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 my-5 d-flex justify-content-center align-items-center">
<img src="assets/misc/logo.png" width="144" height="31"
style="width:144px; height: 31px; margin-top: 40px;"/>
</div>
</div>
</div>
<!-- END OF SUPPORT -->

208
equipment_request_it_operations/views/equipment_request_views.xml

@ -0,0 +1,208 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Search Filter in Tree View-->
<record id="equipment_request_view_search" model="ir.ui.view">
<field name="name">equipment.request.view.search</field>
<field name="model">equipment.request</field>
<field name="arch" type="xml">
<search>
<filter name="my_equipment_request" string="My Equipment Requests" domain="[('user_login_id', '=', uid)]"/>
<separator/>
<filter name="Draft" domain="[('status', '=', ('draft'))]"/>
<filter name="waiting_for_approval_of_department" string="Waiting For Approval of Department"
domain="[('status', '=', ('waiting'))]"/>
<filter name="waiting_for_approval_of_hr" string="Waiting for Approval of HR"
domain="[('status', '=', ('approval'))]"/>
<filter name="waiting_for_approval_of_stock" string="Waiting for Approval of Stock"
domain="[('status', '=', ('approved'))]"/>
<group expand="1" string="Group By">
<filter name="Employees" context="{'group_by':'employee_name_id', 'residual_visible':True}"/>
<filter name="Department" context="{'group_by':'department_name_id', 'residual_visible':True}"/>
<filter name="Job Position" context="{'group_by':'job_position_id', 'residual_visible':True}"/>
<filter name="Status" context="{'group_by':'status','residual_visible':True}"/>
</group>
</search>
</field>
</record>
<!-- FORM VIEW-->
<record id="equipment_request_view_form" model="ir.ui.view">
<field name="name">equipment.request.view.form</field>
<field name="model">equipment.request</field>
<field name="arch" type="xml">
<form>
<header>
<button name="action_confirm" type="object" string="Confirm" class="oe_highlight"
attrs="{'invisible': [('status','!=','draft')]}"/>
<button name="action_waiting_approval_dept" type="object" string="Department Approve"
class="oe_highlight"
groups="equipment_request_it_operations.group_equipment_department_manager"
attrs="{'invisible':[('status','!=','waiting')]}"/>
<button name="action_waiting_approval_hr" type="object" string="HR Approve" class="oe_highlight"
groups="equipment_request_it_operations.group_equipment_hr_officer"
attrs="{'invisible':[('status','!=','approval')]}"/>
<button name="action_expense" type="object" string="Generate Expense" class="oe_highlight"
groups="equipment_request_it_operations.group_equipment_department_manager"
attrs="{'invisible': ['|','|',('status','!=','waiting'),('is_expensed','!=',False),('damage_check', '=', False)]}"/>
<button name="action_internal_transfer" type="object" string="Create Internal Transfer"
class="oe_highlight" groups="equipment_request_it_operations.group_equipment_stock_manager"
attrs="{'invisible': [('status','!=','approved')]}"/>
<button name="action_view_internal_transfer" type="object" string="View Internal Transfer"
class="oe_highlight" groups="equipment_request_it_operations.group_equipment_stock_manager"
attrs="{'invisible': [('status','!=','assigned')]}"/>
<button name="action_reject" type="object" string="Reject" class="oe_highlight"
attrs="{'invisible':[('status','==','reject')]}"/>
<field name="status" widget="statusbar"/>
</header>
<sheet>
<div class="oe_button_box" name="button_box">
<button name="action_smart_expense" string="Expense" type="object" icon="fa-pencil-square-o"
class="oe_stat_button"
attrs="{'invisible': [('status','not in',('approved','assigned'))]}">
</button>
</div>
<h1>
Type of Request
</h1>
<br/>
<group>
<field name="request_for"/>
<br/>
</group>
<h1>
Employee Details
</h1>
<group>
<group>
<field name="employee_name_id"/>
<field name="department_name_id"/>
<field name="job_position_id"/>
<field name="user_login_id"/>
<field name="damage_check"/>
<field name="company_name_id"/>
<field name="source_location_id"
groups="equipment_request_it_operations.group_equipment_stock_manager"
/>
<field name="destination_location_id" groups="equipment_request_it_operations.group_equipment_stock_manager"/>
<field name="is_expensed" invisible="1"/>
</group>
<notebook>
<page string="Request Equipments">
<field name='equipment_request_ids'>
<tree editable="bottom">
<field name="product_id"/>
<field name="description"/>
<field name="quantity"/>
<field name="product_uom_id"/>
</tree>
</field>
</page>
<page string="Damage Details" attrs="{'invisible': [('damage_check', '=', False)]}">
<field name='equipment_damage_ids'>
<tree editable="bottom">
<field name="product_id"/>
<field name="expense_note"/>
<field name="quantity"/>
<field name="unit_price"/>
</tree>
</field>
</page>
<page string="Expenses" attrs="{'invisible': [('damage_check', '=', False)]}">
<field name='equipment_expense_ids'>
<tree create="False">
<field name="date"/>
<field name="name"/>
<field name="employee_id"/>
<field name="product_id"/>
<field name="company_id"/>
<field name="total_amount_company"/>
<field name="state"/>
</tree>
</field>
</page>
<page string="Internal Orders">
<field name='equipment_internal_ids'>
<tree create="False">
<field name="name"/>
<field name="location_id"/>
<field name="location_dest_id"/>
<field name="partner_id"/>
<field name="company_id"/>
<field name="state"/>
</tree>
</field>
</page>
<page string="Extra Info">
<group>
<group>
<field name="created_user_id"/>
<field name="validate_user_id"/>
<field name="hr_user_id"/>
<field name="stock_user_id"/>
</group>
<group>
<field name="create_date"/>
<field name="validate_date"/>
<field name="hr_date"/>
<field name="stock_date"/>
</group>
</group>
</page>
</notebook>
</group>
</sheet>
</form>
</field>
</record>
<!-- Tree View-->
<record id="equipment_request_view_tree" model="ir.ui.view">
<field name="name">equipment.request.view.tree</field>
<field name="model">equipment.request</field>
<field name="arch" type="xml">
<tree>
<field name="request_for"/>
<field name="employee_name_id"/>
<field name="department_name_id"/>
<field name="job_position_id"/>
<field name="user_login_id"/>
<field name="company_name_id"/>
<field name="status"/>
</tree>
</field>
</record>
<!-- Actions-->
<record id="equipment_request_action" model="ir.actions.act_window">
<field name="name">Equipment Request</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">equipment.request</field>
<field name="view_mode">tree,form</field>
<field name="context">{"search_default_my_equipment_request":1}</field>
</record>
<record id="equipment_request_approval_dept_action" model="ir.actions.act_window">
<field name="name">Equipment Request</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">equipment.request</field>
<field name="view_mode">tree,form</field>
<field name="context">{"search_default_waiting_for_approval_of_department":1}</field>
</record>
<record id="equipment_request_approval_hr_action" model="ir.actions.act_window">
<field name="name">Equipment Request</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">equipment.request</field>
<field name="view_mode">tree,form</field>
<field name="context">{"search_default_waiting_for_approval_of_hr":1}</field>
</record>
<record id="equipment_request_approved_stock_manager_action" model="ir.actions.act_window">
<field name="name">Equipment Request</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">equipment.request</field>
<field name="view_mode">tree,form</field>
<field name="context">{"search_default_waiting_for_approval_of_stock":1}</field>
</record>
</odoo>

36
equipment_request_it_operations/views/menu_action.xml

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- ALL MENUS-->
<menuitem id="menu_equipment" name="Equipments"
action="equipment_request_action"/>
<menuitem id="menu_equipment_equipment"
parent="menu_equipment"
name="Equipments"
sequence="1"/>
<menuitem id="menu_equipment_submenu_equipment_request"
parent="menu_equipment_equipment"
name="Equipment Request"
action="equipment_request_action"
sequence="1"/>
<menuitem id="menu_equipment_submenu_equipment_request_approval"
parent="menu_equipment_equipment"
name="Equipment Request Department Approval"
action="equipment_request_approval_dept_action"
groups="equipment_request_it_operations.group_equipment_department_manager"
sequence="2"/>
<menuitem id="menu_equipment_submenu_equipment_request_hr_approval"
parent="menu_equipment_equipment"
name="Equipment Request HR Approval"
action="equipment_request_approval_hr_action"
groups="equipment_request_it_operations.group_equipment_hr_officer"
sequence="3"/>
<menuitem id="menu_equipment_submenu_equipment_request_stock_approval"
parent="menu_equipment_equipment"
name="Equipment Request Stock Approval"
action="equipment_request_approved_stock_manager_action"
groups="equipment_request_it_operations.group_equipment_stock_manager"
sequence="4"/>
</odoo>
Loading…
Cancel
Save