Browse Source

Nov 1 [ADD] Initial Commit 'job_card_management'

pull/232/head
AjmalCybro 3 years ago
parent
commit
f3ad7591e9
  1. 17
      job_card_management/README.rst
  2. 24
      job_card_management/__init__.py
  3. 51
      job_card_management/__manifest__.py
  4. 25
      job_card_management/data/job_card_data.xml
  5. 8
      job_card_management/doc/RELEASE_NOTES.md
  6. 27
      job_card_management/models/__init__.py
  7. 37
      job_card_management/models/hr_employee.py
  8. 367
      job_card_management/models/job_card.py
  9. 92
      job_card_management/models/material_requisition.py
  10. 41
      job_card_management/models/workshop.py
  11. 114
      job_card_management/report/cost_sheet.xml
  12. 197
      job_card_management/report/job_card_report.xml
  13. 9
      job_card_management/security/ir.model.access.csv
  14. BIN
      job_card_management/static/description/assets/icons/check.png
  15. BIN
      job_card_management/static/description/assets/icons/chevron.png
  16. BIN
      job_card_management/static/description/assets/icons/cogs.png
  17. BIN
      job_card_management/static/description/assets/icons/consultation.png
  18. BIN
      job_card_management/static/description/assets/icons/ecom-black.png
  19. BIN
      job_card_management/static/description/assets/icons/education-black.png
  20. BIN
      job_card_management/static/description/assets/icons/hotel-black.png
  21. BIN
      job_card_management/static/description/assets/icons/license.png
  22. BIN
      job_card_management/static/description/assets/icons/lifebuoy.png
  23. BIN
      job_card_management/static/description/assets/icons/logo.png
  24. BIN
      job_card_management/static/description/assets/icons/manufacturing-black.png
  25. BIN
      job_card_management/static/description/assets/icons/pos-black.png
  26. BIN
      job_card_management/static/description/assets/icons/puzzle.png
  27. BIN
      job_card_management/static/description/assets/icons/restaurant-black.png
  28. BIN
      job_card_management/static/description/assets/icons/service-black.png
  29. BIN
      job_card_management/static/description/assets/icons/trading-black.png
  30. BIN
      job_card_management/static/description/assets/icons/training.png
  31. BIN
      job_card_management/static/description/assets/icons/update.png
  32. BIN
      job_card_management/static/description/assets/icons/user.png
  33. BIN
      job_card_management/static/description/assets/icons/wrench.png
  34. BIN
      job_card_management/static/description/assets/modules/budget_image.png
  35. BIN
      job_card_management/static/description/assets/modules/credit_image.png
  36. BIN
      job_card_management/static/description/assets/modules/employee_image.png
  37. BIN
      job_card_management/static/description/assets/modules/export_image.png
  38. BIN
      job_card_management/static/description/assets/modules/gantt_image.png
  39. BIN
      job_card_management/static/description/assets/modules/quotation_image.png
  40. BIN
      job_card_management/static/description/assets/screenshots/hero.gif
  41. BIN
      job_card_management/static/description/assets/screenshots/job1.png
  42. BIN
      job_card_management/static/description/assets/screenshots/job10.png
  43. BIN
      job_card_management/static/description/assets/screenshots/job11.png
  44. BIN
      job_card_management/static/description/assets/screenshots/job12.png
  45. BIN
      job_card_management/static/description/assets/screenshots/job13.png
  46. BIN
      job_card_management/static/description/assets/screenshots/job14.png
  47. BIN
      job_card_management/static/description/assets/screenshots/job15.png
  48. BIN
      job_card_management/static/description/assets/screenshots/job16.png
  49. BIN
      job_card_management/static/description/assets/screenshots/job17.png
  50. BIN
      job_card_management/static/description/assets/screenshots/job18.png
  51. BIN
      job_card_management/static/description/assets/screenshots/job2.png
  52. BIN
      job_card_management/static/description/assets/screenshots/job3.png
  53. BIN
      job_card_management/static/description/assets/screenshots/job4.png
  54. BIN
      job_card_management/static/description/assets/screenshots/job5.png
  55. BIN
      job_card_management/static/description/assets/screenshots/job6.png
  56. BIN
      job_card_management/static/description/assets/screenshots/job7.png
  57. BIN
      job_card_management/static/description/assets/screenshots/job8.png
  58. BIN
      job_card_management/static/description/assets/screenshots/job9.png
  59. BIN
      job_card_management/static/description/banner.png
  60. BIN
      job_card_management/static/description/icon.png
  61. 757
      job_card_management/static/description/index.html
  62. 27
      job_card_management/views/hr_employee.xml
  63. 169
      job_card_management/views/job_card.xml
  64. 25
      job_card_management/views/job_card_menu.xml
  65. 72
      job_card_management/views/material_requisition.xml
  66. 68
      job_card_management/views/workshop.xml

17
job_card_management/README.rst

@ -0,0 +1,17 @@
Job Card Management v15
=======================
Job Card Management
Installation
============
- www.odoo.com/documentation/15.0/setup/install.html
- Install our custom addon
Configuration
=============
No additional configurations needed
Credits
=======
Developer: Megha v15 @ cybrosys, Contact: odoo@cybrosys.com

24
job_card_management/__init__.py

@ -0,0 +1,24 @@
# -*- coding: utf-8 -*-
###################################################################################
# Job Card
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2022-TODAY Cybrosys Technologies (<https://www.cybrosys.com>).
# Author: Megha K (<https://www.cybrosys.com>)
#
# This program is free software: you can modify
# it under the terms of the GNU Affero General Public License (AGPL) as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# 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 for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
###################################################################################
from . import models

51
job_card_management/__manifest__.py

@ -0,0 +1,51 @@
# -*- coding: utf-8 -*-
###################################################################################
# Job Card Management
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2022-TODAY Cybrosys Technologies (<https://www.cybrosys.com>).
# Author: Megha K (<https://www.cybrosys.com>)
#
# This program is free software: you can modify
# it under the terms of the GNU Affero General Public License (AGPL) as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# 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 for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
###################################################################################
{
'name': 'Job Card Management',
'version': '15.0.1.0.0',
'category': 'Job Card Management',
'summary': 'Job Card Management',
'author': 'Cybrosys Techno Solutions',
'maintainer': 'Cybrosys Techno Solutions',
'company': 'Cybrosys Techno Solutions',
'website': 'https://www.cybrosys.com',
'description': "Job Card Management",
'depends': ['hr', 'project', 'purchase', 'account', 'hr_timesheet'],
'images': ['static/description/banner.png'],
'data': [
'security/ir.model.access.csv',
'views/job_card.xml',
'views/workshop.xml',
'views/hr_employee.xml',
'views/material_requisition.xml',
'views/job_card_menu.xml',
'data/job_card_data.xml',
'report/job_card_report.xml',
'report/cost_sheet.xml'
],
'installable': True,
'application': True,
'auto_install': False,
'license': 'AGPL-3',
}

25
job_card_management/data/job_card_data.xml

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<data>
<record id="job_card_sequence" model="ir.sequence">
<field name="name">Job Card Sequence</field>
<field name="code">job.card.sequence</field>
<field name="prefix">JC</field>
<field eval="1" name="number_next" />
<field eval="1" name="number_increment" />
<field eval="True" name="use_date_range" />
<field name="padding">6</field>
</record>
<record id="material_requisition_sequence" model="ir.sequence">
<field name="name">Job Card Sequence</field>
<field name="code">material.requisition.sequence</field>
<field name="prefix">PMR</field>
<field eval="1" name="number_next" />
<field eval="1" name="number_increment" />
<field eval="True" name="use_date_range" />
<field name="padding">6</field>
</record>
</data>
</odoo>

8
job_card_management/doc/RELEASE_NOTES.md

@ -0,0 +1,8 @@
## Module <job_card_management>
#### 28.10.2022
#### Version 16.0.1.0.0
#### ADD
- Initial Commit job_card_management

27
job_card_management/models/__init__.py

@ -0,0 +1,27 @@
# -*- coding: utf-8 -*-
###################################################################################
# Job Card
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2022-TODAY Cybrosys Technologies (<https://www.cybrosys.com>).
# Author: Megha K (<https://www.cybrosys.com>)
#
# This program is free software: you can modify
# it under the terms of the GNU Affero General Public License (AGPL) as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# 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 for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
###################################################################################
from . import workshop
from . import hr_employee
from . import job_card
from . import material_requisition

37
job_card_management/models/hr_employee.py

@ -0,0 +1,37 @@
# -*- coding: utf-8 -*-
###################################################################################
# Job Card
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2022-TODAY Cybrosys Technologies (<https://www.cybrosys.com>).
# Author: Megha K (<https://www.cybrosys.com>)
#
# This program is free software: you can modify
# it under the terms of the GNU Affero General Public License (AGPL) as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# 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 for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
###################################################################################
from odoo import models, fields
class HrEmployee(models.Model):
_inherit = "hr.employee"
workshop_position = fields.Selection([('leader', 'Leader'), ('worker', 'Worker')])
class ProjectTask(models.Model):
_inherit = 'project.task'
job_card_id = fields.Many2one('job.card')

367
job_card_management/models/job_card.py

@ -0,0 +1,367 @@
# -*- coding: utf-8 -*-
###################################################################################
# Job Card
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2022-TODAY Cybrosys Technologies (<https://www.cybrosys.com>).
# Author: Megha K (<https://www.cybrosys.com>)
#
# This program is free software: you can modify
# it under the terms of the GNU Affero General Public License (AGPL) as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# 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 for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
###################################################################################
from werkzeug import urls
from odoo import models, fields, api, _
from odoo.exceptions import ValidationError
class JobCard(models.Model):
_name = "job.card"
_description = 'Job Cards'
def _default_currency_id(self):
"""get currency id"""
return self.env.user.company_id.currency_id
card_name = fields.Char('Name', required=True, store=True)
sequence = fields.Char('Name', store=True)
name = fields.Char('Name', store=True)
start_date = fields.Date('Starting Date', required=True)
end_date = fields.Date('Ending Date', required=False)
project_id = fields.Many2one('project.project', required=True)
user_id = fields.Many2one('res.users', string='Assigned To', required=True)
quality_checklist_id = fields.Many2many('quality.check.list')
deadline = fields.Date()
team_id = fields.Many2one('workshop.team')
currency_id = fields.Many2one('res.currency', string='Currency',
required=True, default=lambda
self: self._default_currency_id())
description = fields.Text('Description')
instruction_ids = fields.One2many('job.card.instruction', 'job_card_id')
instruction_count = fields.Integer(default=1)
job_cost_sheet_ids = fields.One2many('job.cost.sheet', 'job_card_id')
cost_sheet_amount = fields.Monetary(compute='_compute_cost_sheet_amount',
store=True)
job_cost_sheet_untaxed_amount = fields.Monetary(
compute='_compute_cost_sheet_amount', store=True)
job_card_timesheet_ids = fields.One2many('job.card.timesheet',
'job_card_id')
state = fields.Selection(
[('draft', 'Draft'), ('submit', 'Submitted'), ('approve', 'Approved'),
('complete', 'Completed'), ('invoice', 'Invoiced')], default='draft')
partner_id = fields.Many2one('res.partner', string="Customer",
required=True)
email = fields.Char('Mail', help="for share this job card")
total_hours = fields.Float('Total Working Hour', store=True,
compute="_compute_hour")
hours = fields.Float('Total working hour', store=True,
compute="_compute_hour")
planned_hours = fields.Float('Planned Hours', required=True,
help="Planned hour for this task")
mpr_count = fields.Integer(compute='compute_count')
progress = fields.Float(help="progress of this task")
invoice_name = fields.Char('Name', help="reference of invoice")
def action_submit(self):
"""submit"""
for rec in self:
if not rec.instruction_ids.ids:
raise ValidationError(
'You cant submit the job card without instruction lines')
else:
rec.state = 'submit'
def action_approve(self):
"""approve, Creating task"""
for rec in self:
if not rec.job_cost_sheet_ids.ids:
raise ValidationError(
'You cant approve the job card without Cost sheet information')
else:
rec.state = 'approve'
task = rec.env['project.task'].create({
'name': rec.name,
'project_id': rec.project_id.id,
'user_ids': (4, rec.user_id.id),
'planned_hours': rec.planned_hours,
'job_card_id': rec.id
})
def action_completed(self):
for rec in self:
rec.state = 'complete'
@api.depends('job_card_timesheet_ids.time')
def _compute_hour(self):
"""calculate time cost amount"""
for rec in self:
rec.cost_sheet_amount = sum(
rec.job_card_timesheet_ids.mapped('time'))
rec.total_hours = sum(
rec.job_card_timesheet_ids.mapped('time'))
rec.hours = rec.planned_hours - rec.total_hours
@api.depends('job_cost_sheet_ids.amount')
def _compute_cost_sheet_amount(self):
"""calculate time cost amount"""
for rec in self:
rec.cost_sheet_amount = sum(rec.job_cost_sheet_ids.mapped('amount'))
rec.job_cost_sheet_untaxed_amount = sum(
rec.job_cost_sheet_ids.mapped('untaxed_amount'))
@api.onchange('card_name', 'sequence')
def _onchange_card_name(self):
"""create the sequence"""
for rec in self:
if not self.sequence:
sequence_code = 'job.card.sequence'
self.sequence = self.env['ir.sequence'].next_by_code(
sequence_code)
if rec.card_name and rec.sequence:
self.name = self.sequence + ':' + self.card_name
@api.onchange('job_card_timesheet_ids.time')
def _onchange_time(self):
for rec in self:
rec.hours = sum(rec.job_cost_sheet_ids.mapped('time'))
rec.days = rec.hours / 60
def create_pmr(self):
"""create purchase material request"""
self.ensure_one()
return {
'type': 'ir.actions.act_window',
'name': 'PMR',
'view_mode': 'form',
'target': 'new',
'res_model': 'material.requisition',
'context': {
'default_job_card_id': self.id
}
}
def get_pmr(self):
"""create purchase material request"""
self.ensure_one()
return {
'type': 'ir.actions.act_window',
'name': 'PMR',
'view_mode': 'tree,form',
'res_model': 'material.requisition',
'domain': [('job_card_id', '=', self.id)],
'context': "{'create': False}"
}
@api.depends('name')
def compute_count(self):
"""Compute mr count"""
for rec in self:
if rec.env['material.requisition'].search(
[('job_card_id', '=', rec.id)]):
rec.mpr_count = rec.env['material.requisition'].search_count(
[('job_card_id', '=', rec.id)])
else:
rec.mpr_count = 0
def create_invoice(self):
"""Create invoice"""
lines = []
for rec in self:
if rec.job_cost_sheet_ids:
for job in rec.job_cost_sheet_ids:
value = (0, 0, {
'product_id': job.product_id.id,
'price_unit': job.amount,
'quantity': job.quantity,
})
lines.append(value)
invoice_line = {
'move_type': 'out_invoice',
'partner_id': rec.partner_id.id,
'invoice_user_id': rec.env.user.id,
'invoice_origin': rec.name,
'ref': rec.name,
'invoice_line_ids': lines,
}
inv = self.env['account.move'].create(invoice_line)
rec.state = 'invoice'
rec.invoice_name = inv.name
def get_invoice(self):
"""View the invoice"""
self.ensure_one()
return {
'type': 'ir.actions.act_window',
'name': 'Invoice',
'view_mode': 'tree,form',
'res_model': 'account.move',
'domain': [('ref', '=', self.name)],
'context': "{'create': False}"
}
@api.onchange('planned_hours', 'total_hours')
def _onchange_progress(self):
if self.planned_hours and self.total_hours:
self.progress = round(100.0 * self.total_hours / self.planned_hours,
2)
else:
self.progress = 0.0
def share(self):
for rec in self:
base_url = self.env['ir.config_parameter'].sudo().get_param(
'web.base.url')
Urls = urls.url_join(base_url,
'web#id=%(id)s&model=job.card&view_type=form' % {
'id': self.id})
mail_content = _('Hi %s,<br>'
'Job Card'
'<div style = "text-align: center; margin-top: 16px;"><a href = "%s"'
'style = "padding: 5px 10px; font-size: 12px; line-height: 18px; color: #FFFFFF; '
'border-color:#875A7B;text-decoration: none; display: inline-block; '
'margin-bottom: 0px; font-weight: 400;text-align: center; vertical-align: middle; '
'cursor: pointer; white-space: nowrap; background-image: none; '
'background-color: #875A7B; border: 1px solid #875A7B; border-radius:3px;">'
'View %s</a></div>'
) % \
(rec.name, Urls, rec.name)
main_content = {
'subject': _('Job Card: %s') % self.name,
'author_id': self.env.user.partner_id.id,
'body_html': mail_content,
'email_to': rec.partner_id.email
}
mail_id = self.env['mail.mail'].create(main_content)
mail_id.mail_message_id.body = mail_content
mail_id.send()
class JobCardInstruction(models.Model):
_name = "job.card.instruction"
_description = 'Job Cards Instruction'
_rec_name = 'instruction'
@api.depends('job_card_id')
def _compute_name(self):
for rec in self:
name = rec.job_card_id.name + '/' + str(
rec.job_card_id.instruction_count)
if not rec.name:
rec.job_card_id.instruction_count += 1
rec.name = name
job_card_id = fields.Many2one('job.card')
name = fields.Char('Name', compute='_compute_name', store=True)
start_date = fields.Datetime('Starting Date', required=True)
end_date = fields.Datetime('Ending Date', required=False)
user_id = fields.Many2one('res.users', string='Assigned To', required=True)
instruction = fields.Char(help='Instructions', required=True)
notes = fields.Char(help='notes for this instruction')
state = fields.Selection(
[('to_do', 'To Do'), ('in_progress', 'In progress'), ('done', 'Done')],
default='to_do')
class CostSheet(models.Model):
_name = 'job.cost.sheet'
_description = 'Cost Sheet'
type = fields.Selection([('material', 'Material'), ('labour', 'Labour'),
('overhead', 'Overhead')], required=True,
help='Type of product')
job_card_id = fields.Many2one('job.card')
product_id = fields.Many2one('product.product', required=True)
quantity = fields.Float('Quantity', default=1)
unit_price = fields.Float('Unit Price')
discount = fields.Float('Discount %')
tax = fields.Many2one('account.tax')
amount = fields.Float('Amount')
untaxed_amount = fields.Float('Untaxed Amount')
@api.onchange('product_id', 'discount', 'tax')
def _onchange_product_id(self):
"""calculate the amount"""
for rec in self:
rec.unit_price = rec.product_id.list_price
rec.amount = rec.unit_price * rec.quantity
rec.untaxed_amount = rec.unit_price * rec.quantity
if rec.tax:
taxes = rec.tax.compute_all(**rec._prepare_compute_all_values())
rec.amount = taxes['total_included']
rec.untaxed_amount = taxes['total_excluded']
if rec.discount:
rec.amount = rec.amount - (rec.amount * rec.discount / 100)
rec.untaxed_amount = rec.untaxed_amount - (
rec.untaxed_amount * rec.discount / 100)
def _prepare_compute_all_values(self):
"""prepare values"""
self.ensure_one()
return {
'price_unit': self.unit_price,
'currency': self.job_card_id.currency_id,
'quantity': self.quantity,
'product': self.product_id,
'partner': self.job_card_id.user_id.partner_id,
}
class JobCardTimesheet(models.Model):
_name = 'job.card.timesheet'
_description = 'Job Card TimeSheet'
job_card_id = fields.Many2one('job.card', default=lambda
self: self._default_job_card_id())
name = fields.Char('Instruction Name', store=True)
instruction_id = fields.Many2one('job.card.instruction', required=True, )
description = fields.Char('Description')
leader_id = fields.Many2one('hr.employee', required=True,
domain=[('workshop_position', '=', 'leader')],
help="leader for this instruction")
worker_id = fields.Many2one('hr.employee', required=True,
help="workers for this instruction",
string="Workers")
date = fields.Date('Date', default=fields.Date.today())
time = fields.Float('Time')
@api.onchange('instruction_id')
def _onchange_instruction_id(self):
for rec in self:
if rec.instruction_id:
rec.name = rec.instruction_id.name + ':' + rec.instruction_id.instruction
@api.model
def create(self, vals_list):
res = super(JobCardTimesheet, self).create(vals_list)
job_card = self.env['job.card'].browse(vals_list['job_card_id'])
task = self.env['project.task'].search(
[('job_card_id', '=', job_card.id)])
attendance = self.env['account.analytic.line'].create({
'date': vals_list['date'],
'project_id': job_card.project_id.id,
'employee_id': vals_list['worker_id'],
'name': vals_list['description'],
'unit_amount': vals_list['time'],
'task_id': task.id
})
return res

92
job_card_management/models/material_requisition.py

@ -0,0 +1,92 @@
# -*- coding: utf-8 -*-
###################################################################################
# Job Card
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2022-TODAY Cybrosys Technologies (<https://www.cybrosys.com>).
# Author: Megha K (<https://www.cybrosys.com>)
#
# This program is free software: you can modify
# it under the terms of the GNU Affero General Public License (AGPL) as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# 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 for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
###############################################################################
from odoo.exceptions import ValidationError
from odoo import models, fields, api
class MaterialRequisition(models.Model):
_name = "material.requisition"
_description = "Material Requisition"
name = fields.Char()
employee_id = fields.Many2one('hr.employee', required=True)
department_id = fields.Many2one('hr.department', required=True)
date = fields.Date('Requisition Date')
job_card_id = fields.Many2one('job.card')
line_ids = fields.One2many('material.requisition.line', 'line_id')
state = fields.Selection(
[('draft', 'Draft'), ('submit', 'Submit'), ('approve', 'Approve'),
('po', 'Purchase Order')], default='draft')
@api.model
def create(self, vals_list):
"""create sequence"""
sequence_code = 'material.requisition.sequence'
vals_list['name'] = self.env['ir.sequence'].next_by_code(sequence_code)
res = super(MaterialRequisition, self).create(vals_list)
return res
def action_submit(self):
"""submit button"""
for rec in self:
if not rec.line_ids.ids:
raise ValidationError(
'You cant submit the job card without instruction lines')
else:
rec.state = 'submit'
def action_approve(self):
"""approve button"""
for rec in self:
rec.state = 'approve'
def create_purchase_order(self):
"""create purchase order"""
for rec in self:
lines = []
for line in rec.line_ids:
value = (0, 0, {
'name': line.product_id.name,
'product_id': line.product_id.id,
'price_unit': line.product_id.standard_price,
'product_qty': line.quantity
})
lines.append(value)
self.env['purchase.order'].create({
'partner_id': line.vendor_id.id,
'order_line': lines
})
rec.state = 'po'
class MaterialRequisitionLine(models.Model):
_name = "material.requisition.line"
_description = 'Material Requisition Line'
line_id = fields.Many2one("material.requisition")
name = fields.Char()
product_id = fields.Many2one('product.product', required=True)
quantity = fields.Float(required=True)
uom = fields.Many2one('uom.uom')
vendor_id = fields.Many2one('res.partner', required=True)

41
job_card_management/models/workshop.py

@ -0,0 +1,41 @@
# -*- coding: utf-8 -*-
###################################################################################
# Job Card
#
# Cybrosys Technologies Pvt. Ltd.
# Copyright (C) 2022-TODAY Cybrosys Technologies (<https://www.cybrosys.com>).
# Author: Megha K (<https://www.cybrosys.com>)
#
# This program is free software: you can modify
# it under the terms of the GNU Affero General Public License (AGPL) as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# 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 for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
###################################################################################
from odoo import models, fields
class WorkshopTeam(models.Model):
_name = 'workshop.team'
_description = 'Workshop Team'
name = fields.Char('Team Name', help='name of the workshop team',
required=True)
active = fields.Boolean('Active', default=True)
class QualityCheckList(models.Model):
_name = 'quality.check.list'
_description = 'Quality Check List'
name = fields.Char(help='Name for the Quality Check List', required=True)
description = fields.Text('Description')

114
job_card_management/report/cost_sheet.xml

@ -0,0 +1,114 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<data>
<record id="report_cost" model="ir.actions.report">
<field name="name">Cost Sheet</field>
<field name="model">job.card</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">job_card_management.report_cost_sheet</field>
<field name="report_file">job_card_management.report_cost_sheet</field>
<field name="print_report_name">'Cost Sheet - %s' % object.name
</field>
<field name="binding_model_id" ref="model_job_card"/>
<field name="binding_type">report</field>
</record>
<template id="report_cost_sheet">
<t t-call="web.html_container">
<t t-foreach="docs" t-as="doc">
<t t-call="web.external_layout">
<center>
<b>
<h3>Cost Sheet</h3>
</b>
</center>
<b>
<h3>
<t t-esc="doc.name"/>
</h3>
</b>
<br/>
<table class="table">
<tbody class="order_body">
<tr>
<td>
<strong>Customer:</strong>
</td>
<td>
<span t-field="doc.partner_id.name"/>
</td>
<td>
<strong>Project:</strong>
</td>
<td>
<span t-field="doc.project_id.name"/>
</td>
</tr>
<tr>
<td>
<strong>Start Date:</strong>
</td>
<td>
<span t-field="doc.start_date"/>
</td>
<td>
<strong>End Date:</strong>
</td>
<td>
<span t-field="doc.end_date"/>
</td>
</tr>
</tbody>
</table>
<br/>
<div>
<strong>
<h3>Cost Sheet</h3>
</strong>
</div>
<table class="table o_main_table">
<thead style="display: table-row-group">
<tr>
<th class="text-left">Type</th>
<th class="text-left">Product</th>
<th class="text-left">Quantity</th>
<th class="text-left">Unit Price</th>
<th class="text-left">Discount</th>
<th class="text-left">Tax</th>
<th class="text-left">amount</th>
</tr>
</thead>
<tbody>
<tr t-att-class="'bg-200 font-weight-bold'"
t-foreach="doc.job_cost_sheet_ids"
t-as="cost">
<td>
<span t-field="cost.type"/>
</td>
<td t-esc="cost.product_id.name or '' "/>
<td t-esc="cost.quantity or '' "/>
<td t-esc="cost.unit_price or '' "/>
<td t-esc="cost.discount or '' "/>
<td t-esc="cost.tax.name or '' "/>
<td t-esc="cost.amount or '' "/>
</tr>
</tbody>
</table>
<table class="table">
<tbody>
<tr>
<td>Total Amount</td>
<td t-esc="doc.cost_sheet_amount"/>
<td>Total Untaxed Amount</td>
<td t-esc="doc.job_cost_sheet_untaxed_amount"/>
</tr>
</tbody>
</table>
</t>
</t>
</t>
</template>
</data>
</odoo>

197
job_card_management/report/job_card_report.xml

@ -0,0 +1,197 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<data>
<record id="report_job" model="ir.actions.report">
<field name="name">Job Card</field>
<field name="model">job.card</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">job_card_management.report_job_card</field>
<field name="report_file">job_card_management.report_job_card</field>
<field name="print_report_name">'Job card - %s' % object.name
</field>
<field name="binding_model_id" ref="model_job_card"/>
<field name="binding_type">report</field>
</record>
<template id="report_job_card">
<t t-call="web.html_container">
<t t-foreach="docs" t-as="doc">
<t t-call="web.external_layout">
<center>
<b>
<h3>Job Card</h3>
</b>
</center>
<b>
<h3>
<t t-esc="doc.name"/>
</h3>
</b>
<br/>
<table class="table">
<tbody class="order_body">
<tr>
<td>
<strong>Customer:</strong>
</td>
<td>
<span t-field="doc.partner_id.name"/>
</td>
<td>
<strong>Project:</strong>
</td>
<td>
<span t-field="doc.project_id.name"/>
</td>
</tr>
<tr>
<td>
<strong>Start Date:</strong>
</td>
<td>
<span t-field="doc.start_date"/>
</td>
<td>
<strong>End Date:</strong>
</td>
<td>
<span t-field="doc.end_date"/>
</td>
</tr>
<tr>
<td>
<strong>Assign To:</strong>
</td>
<td>
<span t-field="doc.user_id.name"/>
</td>
<td>
<strong>workshop Team:</strong>
</td>
<td>
<span t-field="doc.team_id"/>
</td>
</tr>
</tbody>
</table>
<br/>
<div>
<strong>
<h3>Instruction</h3>
</strong>
</div>
<table class="table o_main_table">
<thead style="display: table-row-group">
<tr>
<th class="text-left">Name</th>
<th class="text-left">Start Date</th>
<th class="text-left">End Date</th>
<th class="text-left">Assigned To</th>
<th class="text-left">Instruction</th>
<th class="text-left">Notes</th>
<th class="text-left">Status</th>
</tr>
</thead>
<tbody>
<tr t-att-class="'bg-200 font-weight-bold'"
t-foreach="doc.instruction_ids"
t-as="instruction">
<td t-esc="instruction.name"/>
<td t-esc="instruction.start_date"/>
<td t-esc="instruction.end_date or ''"/>
<td t-esc="instruction.user_id.name"/>
<td t-esc="instruction.instruction"/>
<td t-esc="instruction.notes or '' "/>
<td>
<span t-field="instruction.state"/>
</td>
</tr>
</tbody>
</table>
<br/>
<div>
<strong>
<h3>Cost Sheet</h3>
</strong>
</div>
<table class="table o_main_table">
<thead style="display: table-row-group">
<tr>
<th class="text-left">Type</th>
<th class="text-left">Product</th>
<th class="text-left">Quantity</th>
<th class="text-left">Unit Price</th>
<th class="text-left">Discount</th>
<th class="text-left">Tax</th>
<th class="text-left">amount</th>
</tr>
</thead>
<tbody>
<tr t-att-class="'bg-200 font-weight-bold'"
t-foreach="doc.job_cost_sheet_ids"
t-as="cost">
<td>
<span t-field="cost.type"/>
</td>
<td t-esc="cost.product_id.name or '' "/>
<td t-esc="cost.quantity or '' "/>
<td t-esc="cost.unit_price or '' "/>
<td t-esc="cost.discount or '' "/>
<td t-esc="cost.tax.name or '' "/>
<td t-esc="cost.amount or '' "/>
</tr>
</tbody>
</table>
<table class="table">
<tbody>
<tr>
<td>Total Amount</td>
<td t-esc="doc.cost_sheet_amount"/>
<td>Total Untaxed Amount</td>
<td t-esc="doc.job_cost_sheet_untaxed_amount"/>
</tr>
</tbody>
</table>
<div>
<strong>
<h3>Time Sheet</h3>
</strong>
</div>
<table class="table o_main_table">
<thead style="display: table-row-group">
<tr>
<th class="text-left">Instruction Name</th>
<th class="text-left">Description</th>
<th class="text-left">Leader</th>
<th class="text-left">Worker</th>
<th class="text-left">Date</th>
<th class="text-left">time</th>
</tr>
</thead>
<tbody>
<tr t-att-class="'bg-200 font-weight-bold'"
t-foreach="doc.job_card_timesheet_ids"
t-as="time">
<td t-esc="time.name or '' "/>
<td t-esc="time.description or '' "/>
<td t-esc="time.leader_id.name or '' "/>
<td t-esc="time.worker_id.name or '' "/>
<td t-esc="time.date or '' "/>
<td t-esc="time.time or '' "/>
</tr>
<tr>
<td>Total working Hour to close</td>
<td>In Hours:</td>
<td t-esc="doc.hours"/>
</tr>
</tbody>
</table>
</t>
</t>
</t>
</template>
</data>
</odoo>

9
job_card_management/security/ir.model.access.csv

@ -0,0 +1,9 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_workshop_team,workshop.team,model_workshop_team,,1,1,1,1
access_quality_check_list,quality.check.list,model_quality_check_list,,1,1,1,1
access_job_card,job.card,model_job_card,,1,1,1,1
access_job_card_instruction,job.card.instruction,model_job_card_instruction,,1,1,1,1
access_job_cost_sheet,job.cost.sheet,model_job_cost_sheet,,1,1,1,1
access_job_card_timesheet,job.card.timesheet,model_job_card_timesheet,,1,1,1,0
access_material_requisition,material.requisition,model_material_requisition,,1,1,1,1
access_material_requisition_line,material.requisition.line,model_material_requisition_line,,1,1,1,1
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_workshop_team workshop.team model_workshop_team 1 1 1 1
3 access_quality_check_list quality.check.list model_quality_check_list 1 1 1 1
4 access_job_card job.card model_job_card 1 1 1 1
5 access_job_card_instruction job.card.instruction model_job_card_instruction 1 1 1 1
6 access_job_cost_sheet job.cost.sheet model_job_cost_sheet 1 1 1 1
7 access_job_card_timesheet job.card.timesheet model_job_card_timesheet 1 1 1 0
8 access_material_requisition material.requisition model_material_requisition 1 1 1 1
9 access_material_requisition_line material.requisition.line model_material_requisition_line 1 1 1 1

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
job_card_management/static/description/assets/icons/logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
job_card_management/static/description/assets/modules/budget_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

BIN
job_card_management/static/description/assets/modules/credit_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

BIN
job_card_management/static/description/assets/modules/employee_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

BIN
job_card_management/static/description/assets/modules/export_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

BIN
job_card_management/static/description/assets/modules/gantt_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

BIN
job_card_management/static/description/assets/modules/quotation_image.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

BIN
job_card_management/static/description/assets/screenshots/hero.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 KiB

BIN
job_card_management/static/description/assets/screenshots/job1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

BIN
job_card_management/static/description/assets/screenshots/job10.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

BIN
job_card_management/static/description/assets/screenshots/job11.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
job_card_management/static/description/assets/screenshots/job12.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
job_card_management/static/description/assets/screenshots/job13.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

BIN
job_card_management/static/description/assets/screenshots/job14.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

BIN
job_card_management/static/description/assets/screenshots/job15.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

BIN
job_card_management/static/description/assets/screenshots/job16.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
job_card_management/static/description/assets/screenshots/job17.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
job_card_management/static/description/assets/screenshots/job18.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

BIN
job_card_management/static/description/assets/screenshots/job2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

BIN
job_card_management/static/description/assets/screenshots/job3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

BIN
job_card_management/static/description/assets/screenshots/job4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

BIN
job_card_management/static/description/assets/screenshots/job5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

BIN
job_card_management/static/description/assets/screenshots/job6.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

BIN
job_card_management/static/description/assets/screenshots/job7.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

BIN
job_card_management/static/description/assets/screenshots/job8.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

BIN
job_card_management/static/description/assets/screenshots/job9.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

BIN
job_card_management/static/description/banner.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

BIN
job_card_management/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

757
job_card_management/static/description/index.html

@ -0,0 +1,757 @@
<div class="container" style="padding: 1rem !important; margin-bottom: 1rem !important;">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12 d-flex justify-content-between" style="border-bottom: 1px solid #d5d5d5;">
<div class="my-3">
<img src="./assets/icons/logo.png" style="width: auto !important; height: 40px !important;">
</div>
<div class="my-3 d-flex align-items-center">
<div
style="background-color: #7C7BAD !important; color: #fff !important; font-weight: 600 !important; padding: 5px 15px 8px !important; margin: 0 5px !important;">
<i class="fa fa-check mr-1"></i>Community
</div>
<div
style="background-color: #875A7B !important; color: #fff !important; font-weight: 600 !important; padding: 5px 15px 8px !important; margin: 0 5px !important;">
<i class="fa fa-check mr-1"></i>Enterprise
</div>
</div>
</div>
</div>
</div>
<div class="container" style="padding: 0rem 1.5rem 4rem !important">
<div class="row" style="height: 900px !important;">
<div class="col-sm-12 col-md-12 col-lg-12"
style="padding: 4rem 1rem !important; background-color: #714B67 !important; height: 600px !important; border-radius: 20px !important;">
<h1
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #FFFFFF !important; font-size: 3.5rem !important; text-align: center !important;">
Job Card Management</h1>
<p
style="font-family: 'Montserrat', sans-serif !important; font-weight: 300 !important; color: #FFFFFF !important; font-size: 1.4rem !important; text-align: center !important;">
A Module For Managing All Job orders
</p>
<img src="./assets/screenshots/hero.gif" class="img-responsive" width="100%" height="auto" />
</div>
</div>
<div class="row">
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin-bottom: 2rem !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-compass mr-2"></i>Explore this module
</h2>
<div class="row">
<div class="col-md-6">
<a href="#overview" style="text-decoration: none !important;">
<div class="row"
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;">
<div class="col-8">
<h3
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;">
Overview</h3>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;">
Learn more about this module</p>
</div>
<div class="col-4 text-right d-flex justify-content-end align-items-center">
<i class="fa fa-chevron-right" style="color: #714B67 !important;"></i>
</div>
</div>
</a>
</div>
<div class="col-md-6">
<a href="#features" style="text-decoration: none !important;">
<div class="row"
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;">
<div class="col-8">
<h3
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;">
Features</h3>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;">
View features of this module</p>
</div>
<div class="col-4 text-right d-flex justify-content-end align-items-center">
<i class="fa fa-chevron-right" style="color: #714B67 !important;"></i>
</div>
</div>
</a>
</div>
<div class="col-md-6">
<a href="#screenshots" style="text-decoration: none !important;">
<div class="row"
style="background-color: #f5f2f5 !important; border-radius: 10px !important; margin: 1rem !important; padding: 1.5em !important; height: 100px !important;">
<div class="col-8">
<h3
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.2rem !important;">
Screenshots</h3>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #714B67 !important; font-size: 0.9rem !important;">
See key screenshots of this module</p>
</div>
<div class="col-4 text-right d-flex justify-content-end align-items-center">
<i class="fa fa-chevron-right" style="color: #714B67 !important;"></i>
</div>
</div>
</a>
</div>
</div>
</div>
</div>
<div class="row" id="overview">
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-pie-chart mr-2"></i>Overview
</h2>
</div>
<div class="col-mg-12 pl-3">
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important; line-height: 30px !important;">
This module helps you to manage all job orders Workshops, Factory, Any Technical, Repair Shops, Industry.It is a used to manage all
aspects of your job card operations.
</p>
</div>
</p>
</div>
<div class="row" id="features">
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-star mr-2"></i>Features
</h2>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Configure Job cards</h4>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Configure the workshop team</h4>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Configure workshop positions</h4>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Manage project and task</h4>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Product material request</h4>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Job Card Reports</h4>
</div>
</div>
<div class="col-md-6 pl-3 py-3 d-flex">
<div>
<img src="assets/icons/check.png">
</div>
<div>
<h4
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Cash Sheet report</h4>
</div>
</div>
</div>
<div class="row" id="screenshots">
<div class="col-md-12" style="border-bottom: 1px solid #d5d5d5 !important; margin: 2rem 0 !important">
<h2
style="font-family: 'Montserrat', sans-serif !important; font-weight: 600 !important; color: #714B67 !important; font-size: 1.5rem !important;">
<i class="fa fa-image mr-2"></i>Screenshots
</h2>
</div>
<div class="col-lg-12 my-2">
<h4 class="mt-2"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Job Card</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
After installation open freight management go to job card, then create the job cards. </p>
<img src="assets/screenshots/job1.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-3">
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Instructions</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Add the instruction lines.
</p>
<img src="assets/screenshots/job2.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-3">
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Cost Sheet</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Add the cost sheet for this job card.
</p>
<img src="assets/screenshots/job3.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-3">
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
job Card Timesheet</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
To submit and approve those job card we have some buttons. After approve this job card we can create the timesheet for this job card.
</p>
<img src="assets/screenshots/job4.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-3">
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Timesheet</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Create the timesheet, and also we can set view the total worked hour and progress.
</p>
<img src="assets/screenshots/job5.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-3">
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Extra information</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Customer details and the pending work hours.
</p>
<img src="assets/screenshots/job6.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-3">
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Purchase Material Request</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
Create the PMR by clicking this button
</p>
<img src="assets/screenshots/job8.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
<img src="assets/screenshots/job7.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-3">
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Create Invoice</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
By click the complete button the state changed to 'Completed'. Then we can see the button to create Invoice. View the Invoice from the smart button
</p>
<img src="assets/screenshots/job9.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-3">
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Share The Job Card</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
By click the share button we can share this job card with our customer.
</p>
<img src="assets/screenshots/job10.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
<br/>
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1rem !important;">
Job Card report</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
By click this button we get the job card report.
</p>
<img src="assets/screenshots/job11.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
<br/>
<img src="assets/screenshots/job12.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
<br/>
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1rem !important;">
Cost Sheet report</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
By click this button we get the cost sheet report.
</p>
<img src="assets/screenshots/job13.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
<br/>
<img src="assets/screenshots/job14.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1rem !important;">
Task</h4>
<p
style="font-family: 'Roboto', sans-serif !important; font-weight: 400 !important; color: #282F33 !important; font-size: 1rem !important;">
When we approve our job card it automatically create a task.
</p>
<img src="assets/screenshots/job15.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-3">
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
workshop Team</h4>
<img src="assets/screenshots/job16.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-3">
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
workshop position</h4>
<img src="assets/screenshots/job18.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
<div class="col-lg-12 my-3">
<h4 class="mt-3"
style="font-family: 'Roboto', sans-serif !important; font-weight: 600 !important; color: #282F33 !important; font-size: 1.3rem !important;">
Quality CheckList</h4>
<img src="assets/screenshots/job17.png" class="img-responsive img-thumbnail border" width="100%"
height="auto" />
</div>
</div>
<!-- SUGGESTED PRODUCTS -->
<div class="row">
<div class="col-lg-12 d-flex flex-column justify-content-center"
style="text-align: center; padding: 2.5rem 1rem !important;">
<h2 style="color: #212529 !important;">Suggested Products</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" />
<div id="demo1" class="row carousel slide" data-ride="carousel">
<!-- The slideshow -->
<div class="carousel-inner">
<div class="carousel-item active" style="min-height:0px">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/15.0/export_stockinfo_xls/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/export_image.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/15.0/custom_gantt_view/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/gantt_image.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/15.0/sales_credit_limit/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/credit_image.png">
</div>
</a>
</div>
</div>
<div class="carousel-item" style="min-height:0px">
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/15.0/base_account_budget/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/budget_image.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/15.0/product_to_quotation/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/quotation_image.png">
</div>
</a>
</div>
<div class="col-xs-12 col-sm-4 col-md-4 mb16 mt16" style="float:left">
<a href="https://apps.odoo.com/apps/modules/15.0/employee_documents_expiry/" target="_blank">
<div style="border-radius:10px">
<img class="img img-responsive center-block"
style="border-top-left-radius:10px; border-top-right-radius:10px"
src="./assets/modules/employee_image.png">
</div>
</a>
</div>
</div>
</div>
<!-- Left and right controls -->
<a class="carousel-control-prev" href="#demo1" data-slide="prev" style="left:-25px;width: 35px;color: #000;">
<span class="carousel-control-prev-icon"><i class="fa fa-chevron-left" style="font-size:24px"></i></span> </a>
<a class="carousel-control-next" href="#demo1" data-slide="next" style="right:-25px;width: 35px;color: #000;">
<span class="carousel-control-next-icon"><i class="fa fa-chevron-right" style="font-size:24px"></i></span>
</a>
</div>
</div>
</div>
<!-- END OF SUGGESTED PRODUCTS -->
<!-- OUR SERVICES -->
<section class="container" style="margin-top: 6rem !important;">
<div class="row">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center">
<h2 style="color: #212529 !important;">Our Services</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" />
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #1dd1a1 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/cogs.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Customization</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #ff6b6b !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/wrench.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Implementation</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #6462CD !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/lifebuoy.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Support</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #ffa801 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/user.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Hire
Odoo
Developer</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #54a0ff !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/puzzle.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Integration</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #6d7680 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/update.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Migration</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #786fa6 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/consultation.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Consultancy</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #f8a5c2 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/training.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Implementation</h6>
</div>
<div class="col-lg-4 d-flex flex-column justify-content-center align-items-center my-4">
<div class="d-flex justify-content-center align-items-center mx-3 my-3"
style="background-color: #e6be26 !important; border-radius: 15px !important; height: 80px; width: 80px;">
<img src="assets/icons/license.png" class="img-responsive" height="48px" width="48px">
</div>
<h6 class="text-center" style="font-family: Montserrat, 'sans-serif' !important; font-weight: bold;">
Odoo
Licensing Consultancy</h6>
</div>
</div>
</section>
<!-- END OF END OF OUR SERVICES -->
<!-- OUR INDUSTRIES -->
<section class="container" style="margin-top: 6rem !important;">
<div class="row">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center">
<h2 style="color: #212529 !important;">Our Industries</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" />
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/trading-black.png" class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Trading
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Easily procure
and
sell your products</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/pos-black.png" class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
POS
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Easy
configuration
and convivial experience</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/education-black.png" class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Education
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
A platform for
educational management</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/manufacturing-black.png" class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Manufacturing
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Plan, track and
schedule your operations</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/ecom-black.png" class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
E-commerce &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: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/service-black.png" class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Service Management
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Keep track of
services and invoice</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/restaurant-black.png" class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Restaurant
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
Run your bar or
restaurant methodically</p>
</div>
</div>
<div class="col-lg-3">
<div class="my-4 d-flex flex-column justify-content-center"
style="background-color: #f6f8f9 !important; border-radius: 10px; padding: 2rem !important; height: 250px !important;">
<img src="./assets/icons/hotel-black.png" class="img-responsive mb-3" height="48px" width="48px">
<h5 style="font-family: Montserrat, sans-serif !important; color: #000 !important; font-weight: bold;">
Hotel Management
</h5>
<p style="font-family: Montserrat, sans-serif !important; font-size: 0.9rem !important;">
An
all-inclusive
hotel management application</p>
</div>
</div>
</div>
</section>
<!-- END OF END OF OUR INDUSTRIES -->
<!-- FOOTER -->
<!-- Footer Section -->
<section class="container" style="margin: 5rem auto 2rem;">
<div class="row" style="max-width:1540px;">
<div class="col-lg-12 d-flex flex-column justify-content-center align-items-center">
<h2 style="color: #212529 !important;">Need Help?</h2>
<hr
style="border: 3px solid #714B67 !important; background-color: #714B67 !important; width: 80px !important; margin-bottom: 2rem !important;" />
</div>
</div>
<!-- Contact Cards -->
<div class="row d-flex justify-content-center align-items-center"
style="max-width:1540px; margin: 0 auto 2rem auto;">
<div class="col-lg-12" style="padding: 0rem 3rem 2rem; border-radius: 10px; margin-right: 3rem; ">
<div class="row mt-4">
<div class="col-lg-6">
<a href="mailto:odoo@cybrosys.com" target="_blank" class="btn btn-block mb-2 deep_hover"
style="text-decoration: none; background-color: #4d4d4d; color: #FFF; border-radius: 4px;"><i
class="fa fa-envelope mr-2"></i>odoo@cybrosys.com</a>
</div>
<div class="col-lg-6">
<a href="https://api.whatsapp.com/send?phone=918606827707" target="_blank"
class="btn btn-block mb-2 deep_hover"
style="text-decoration: none; background-color: #25D366; color: #FFF; border-radius: 4px;"><i
class="fa fa-whatsapp mr-2"></i>+91 86068 27707</a>
</div>
</div>
</div>
</div>
<!-- End of Contact Cards -->
</section>
<!-- Footer -->
<section class="oe_container" style="padding: 2rem 3rem 1rem;">
<div class="row" style="max-width:1540px; margin: 0 auto; margin-right: 3rem; ">
<!-- Logo -->
<div class="col-lg-12 d-flex justify-content-center align-items-center" style="margin-top: 3rem;">
<img src="https://www.cybrosys.com/images/logo.png" width="200px" height="auto" />
</div>
<!-- End of Logo -->
<div class="col-lg-12">
<hr
style="margin-top: 3rem;background: linear-gradient(90deg, rgba(2,0,36,0) 0%, rgba(229,229,229,1) 33%, rgba(229,229,229,1) 58%, rgba(0,212,255,0) 100%); height: 2px; border-style: none;">
<!-- End of Footer Section -->
</div>
</div>
</section>
<!-- END OF FOOTER -->
</div>

27
job_card_management/views/hr_employee.xml

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<data>
<record id="view_employee_form" model="ir.ui.view">
<field name="name">hr.employee.form</field>
<field name="model">hr.employee</field>
<field name="inherit_id" ref="hr.view_employee_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='coach_id']" position="after">
<field name="workshop_position"/>
</xpath>
</field>
</record>
<record id="view_project_task_form" model="ir.ui.view">
<field name="name">project.task.form</field>
<field name="model">project.task</field>
<field name="inherit_id" ref="project.view_task_form2"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='parent_id']" position="after">
<field name="job_card_id"/>
</xpath>
</field>
</record>
</data>
</odoo>

169
job_card_management/views/job_card.xml

@ -0,0 +1,169 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<data>
<record id="job_card_tree_view" model="ir.ui.view">
<field name="name">Job Card</field>
<field name="model">job.card</field>
<field name="arch" type="xml">
<tree>
<field name="name"/>
<field name="start_date"/>
</tree>
</field>
</record>
<record id="job_card_form_view" model="ir.ui.view">
<field name="name">Job Card</field>
<field name="model">job.card</field>
<field name="arch" type="xml">
<form>
<header>
<button string="Submit" name="action_submit" type="object" class="btn-primary" attrs="{'invisible': [('state', '!=', 'draft')]}"/>
<button string="Approve" name="action_approve" type="object" class="btn-primary" attrs="{'invisible': [('state', '!=', 'submit')]}"/>
<button string="Create Purchase Material Request" name="create_pmr" type="object" class="btn-primary" attrs="{'invisible': [('state', '!=', 'approve')]}"/>
<button string="Create Invoice" name="create_invoice" type="object" class="btn-primary" attrs="{'invisible': [('state', '!=', 'complete')]}"/>
<button string="Share" name="share" type="object" class="btn-primary"/>
<button string="Complete" name="action_completed" type="object" class="btn-primary" attrs="{'invisible': [('state', '!=', 'approve')]}"/>
<field name="state" widget="statusbar" />
</header>
<sheet>
<div class="oe_button_box" name="button_box">
<button class="oe_stat_button" type="object" name="get_pmr"
icon="fa-id-card-o">
<field string="Material Request" name="mpr_count" widget="statinfo"/>
</button>
<button class="oe_stat_button" type="object" name="get_invoice"
icon="fa-pencil-square-o">
<field string="Invoice" name="invoice_name" widget="statinfo"/>
</button>
</div>
<div class="oe_title">
<h1 class="d-flex">
<field name="name" attrs="{'readonly': [('state', 'not in', ['draft'])]}"/>
<field name="sequence" invisible="1"/>
</h1>
<h2>
<field name="card_name" placeholder="Job Card Name"/>
</h2>
</div>
<group>
<group>
<field name="start_date" options="{'format': 'DD/MM/YYYY'}"/>
<field name="end_date"/>
<field name="project_id"/>
<field name="user_id"/>
</group>
<group>
<field name="quality_checklist_id" widget="many2many_tags"/>
<field name="deadline"/>
<field name="team_id"/>
<field name="currency_id"/>
<field name="instruction_count" invisible="1"/>
</group>
</group>
<notebook>
<page string="Description">
<field name="description" widget="html"/>
</page>
<page string="Instructions">
<field name="instruction_ids">
<tree editable="bottom">
<field name="name"/>
<field name="start_date"/>
<field name="end_date"/>
<field name="user_id"/>
<field name="instruction"/>
<field name="notes"/>
<field name="state"/>
</tree>
</field>
</page>
<page string="Cost Sheet">
<field name="job_cost_sheet_ids" attrs="{'readonly': [('state', 'not in', ['draft', 'submit'])]}">
<tree editable="bottom">
<field name="type"/>
<field name="product_id"/>
<field name="quantity"/>
<field name="unit_price"/>
<field name="discount"/>
<field name="tax"/>
<field name="untaxed_amount"/>
<field name="amount"/>
</tree>
</field>
<group class="oe_subtotal_footer oe_right" colspan="2">
<div class="oe_inline o_td_label">
<label for="cost_sheet_amount"/>
</div>
<field name="cost_sheet_amount" nolabel="1"/>
<div class="oe_inline o_td_label">
<label for="job_cost_sheet_untaxed_amount"/>
</div>
<field name="job_cost_sheet_untaxed_amount" nolabel="1"/>
</group>
</page>
<page string="Timesheet">
<group>
<group>
<field name="planned_hours"/>
</group>
<group>
<field name="progress" widget="progressbar"/>
</group>
</group>
<field name="job_card_timesheet_ids" attrs="{'invisible': [('state', 'in', ['draft', 'submit'])]}">
<tree editable="bottom">
<field name="name"/>
<field name="instruction_id"/>
<field name="description"/>
<field name="leader_id"/>
<field name="worker_id"/>
<field name="date"/>
<field name="time"/>
</tree>
</field>
<group class="oe_subtotal_footer oe_right" colspan="2" attrs="{'invisible': [('state', 'in', ['draft', 'submit'])]}">
<div class="oe_inline o_td_label">
<label for="total_hours"/>
</div>
<field name="total_hours" nolabel="1"/>
</group>
</page>
<page string="Extra Information">
<group>
<field name="partner_id"/>
<field name="email"/>
</group>
<group string="Working Time to Close">
<group>
<field name="hours"/>
</group>
</group>
</page>
</notebook>
</sheet>
</form>
</field>
</record>
<record id="action_job_card" model="ir.actions.act_window">
<field name="name">Job Card</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">job.card</field>
<field name="view_mode">tree,form</field>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
Define a new Job Card
</p>
</field>
</record>
</data>
</odoo>

25
job_card_management/views/job_card_menu.xml

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<data>
<menuitem id="menu_job_card_root" name="Job Card" sequence="4"/>
<menuitem id="menu_job_card" name="Job Card" parent="menu_job_card_root"
sequence="2" action="action_job_card"/>
<menuitem id="menu_material_requisition" name="Material Requisition" parent="menu_job_card_root"
sequence="20" action="action_material_requisition"/>
<menuitem id="menu_configuration" name="Configuration"
parent="menu_job_card_root" sequence="100"/>
<menuitem id="menu_workshop_team" name="Workshop Team"
parent="menu_configuration" sequence="2"
action="action_workshop_team"/>
<menuitem id="menu_quality_check_list" name="Quality Checklist"
parent="menu_configuration" sequence="4"
action="action_quality_check_list"/>
</data>
</odoo>

72
job_card_management/views/material_requisition.xml

@ -0,0 +1,72 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<data>
<record id="material_requisition_tree_view" model="ir.ui.view">
<field name="name">Material Requisition</field>
<field name="model">material.requisition</field>
<field name="arch" type="xml">
<tree>
<field name="name"/>
</tree>
</field>
</record>
<record id="material_requisition_form_view" model="ir.ui.view">
<field name="name">Material Requisition</field>
<field name="model">material.requisition</field>
<field name="arch" type="xml">
<form>
<header>
<button string="Submit" name="action_submit" type="object" class="btn-primary" attrs="{'invisible': [('state', '!=', 'draft')]}"/>
<button string="Approve" name="action_approve" type="object" class="btn-primary" attrs="{'invisible': [('state', '!=', 'submit')]}"/>
<button string="Approve" name="create_purchase_order" type="object" class="btn-primary" attrs="{'invisible': [('state', '!=', 'approve')]}"/>
<field name="state" widget="statusbar" statusbar_visible="draft,submit,approve"/>
</header>
<sheet>
<div class="oe_title">
<h1 class="d-flex">
<field name="name" readonly="1"/>
</h1>
</div>
<group>
<group>
<field name="employee_id"/>
<field name="department_id"/>
</group>
<group>
<field name="date"/>
<field name="job_card_id"/>
</group>
</group>
<notebook>
<page string="Requisition lines">
<field name="line_ids">
<tree editable="bottom">
<field name="product_id"/>
<field name="name"/>
<field name="quantity"/>
<field name="uom"/>
<field name="vendor_id"/>
</tree>
</field>
</page>
</notebook>
</sheet>
</form>
</field>
</record>
<record id="action_material_requisition" model="ir.actions.act_window">
<field name="name">Material Requisition</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">material.requisition</field>
<field name="view_mode">tree,form</field>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
Define a new Material Requisition
</p>
</field>
</record>
</data>
</odoo>

68
job_card_management/views/workshop.xml

@ -0,0 +1,68 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<data>
<record id="workshop_team_tree_view" model="ir.ui.view">
<field name="name">Team</field>
<field name="model">workshop.team</field>
<field name="arch" type="xml">
<tree editable="bottom">
<field name="name"/>
<field name="active"/>
</tree>
</field>
</record>
<record id="action_workshop_team" model="ir.actions.act_window">
<field name="name">Team</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">workshop.team</field>
<field name="view_mode">tree</field>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
Define a new Team
</p>
</field>
</record>
<record id="quality_check_list_tree_view" model="ir.ui.view">
<field name="name">Quality Check List</field>
<field name="model">quality.check.list</field>
<field name="arch" type="xml">
<tree>
<field name="name"/>
<field name="description"/>
</tree>
</field>
</record>
<record id="quality_check_list_form_view" model="ir.ui.view">
<field name="name">Quality Check List</field>
<field name="model">quality.check.list</field>
<field name="arch" type="xml">
<form>
<sheet>
<group>
<field name="name"/>
<field name="description"/>
</group>
</sheet>
</form>
</field>
</record>
<record id="action_quality_check_list" model="ir.actions.act_window">
<field name="name">Quality CheckList</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">quality.check.list</field>
<field name="view_mode">tree,form</field>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
Define a new Quality CheckList
</p>
</field>
</record>
</data>
</odoo>
Loading…
Cancel
Save