Browse Source

Dec 19 [MRG] : Merged

pull/295/head
AjmalCybro 1 year ago
parent
commit
13a84c7464
  1. 46
      manufacture_process_costing/README.rst
  2. 22
      manufacture_process_costing/__init__.py
  3. 59
      manufacture_process_costing/__manifest__.py
  4. 6
      manufacture_process_costing/doc/RELEASE_NOTES.md
  5. 30
      manufacture_process_costing/models/__init__.py
  6. 64
      manufacture_process_costing/models/direct_labour_cost.py
  7. 64
      manufacture_process_costing/models/direct_material_cost.py
  8. 64
      manufacture_process_costing/models/direct_overhead_cost.py
  9. 146
      manufacture_process_costing/models/mrp_bom.py
  10. 50
      manufacture_process_costing/models/mrp_cancel_reason.py
  11. 183
      manufacture_process_costing/models/mrp_production.py
  12. 33
      manufacture_process_costing/models/mrp_workcenter.py
  13. 65
      manufacture_process_costing/models/mrp_workorder.py
  14. 35
      manufacture_process_costing/models/res_config_settings.py
  15. 219
      manufacture_process_costing/report/mrp_bom_cost_report_templates.xml
  16. 14
      manufacture_process_costing/report/mrp_bom_cost_reports.xml
  17. 295
      manufacture_process_costing/report/mrp_production_cost_report_templates.xml
  18. 14
      manufacture_process_costing/report/mrp_production_cost_reports.xml
  19. 5
      manufacture_process_costing/security/ir.model.access.csv
  20. BIN
      manufacture_process_costing/static/description/assets/icons/check.png
  21. BIN
      manufacture_process_costing/static/description/assets/icons/chevron.png
  22. BIN
      manufacture_process_costing/static/description/assets/icons/cogs.png
  23. BIN
      manufacture_process_costing/static/description/assets/icons/consultation.png
  24. BIN
      manufacture_process_costing/static/description/assets/icons/ecom-black.png
  25. BIN
      manufacture_process_costing/static/description/assets/icons/education-black.png
  26. BIN
      manufacture_process_costing/static/description/assets/icons/hotel-black.png
  27. BIN
      manufacture_process_costing/static/description/assets/icons/license.png
  28. BIN
      manufacture_process_costing/static/description/assets/icons/lifebuoy.png
  29. BIN
      manufacture_process_costing/static/description/assets/icons/manufacturing-black.png
  30. BIN
      manufacture_process_costing/static/description/assets/icons/pos-black.png
  31. BIN
      manufacture_process_costing/static/description/assets/icons/puzzle.png
  32. BIN
      manufacture_process_costing/static/description/assets/icons/restaurant-black.png
  33. BIN
      manufacture_process_costing/static/description/assets/icons/service-black.png
  34. BIN
      manufacture_process_costing/static/description/assets/icons/trading-black.png
  35. BIN
      manufacture_process_costing/static/description/assets/icons/training.png
  36. BIN
      manufacture_process_costing/static/description/assets/icons/update.png
  37. BIN
      manufacture_process_costing/static/description/assets/icons/user.png
  38. BIN
      manufacture_process_costing/static/description/assets/icons/wrench.png
  39. BIN
      manufacture_process_costing/static/description/assets/misc/categories.png
  40. BIN
      manufacture_process_costing/static/description/assets/misc/check-box.png
  41. BIN
      manufacture_process_costing/static/description/assets/misc/compass.png
  42. BIN
      manufacture_process_costing/static/description/assets/misc/corporate.png
  43. BIN
      manufacture_process_costing/static/description/assets/misc/customer-support.png
  44. BIN
      manufacture_process_costing/static/description/assets/misc/cybrosys-logo.png
  45. BIN
      manufacture_process_costing/static/description/assets/misc/features.png
  46. BIN
      manufacture_process_costing/static/description/assets/misc/logo.png
  47. BIN
      manufacture_process_costing/static/description/assets/misc/pictures.png
  48. BIN
      manufacture_process_costing/static/description/assets/misc/pie-chart.png
  49. BIN
      manufacture_process_costing/static/description/assets/misc/right-arrow.png
  50. BIN
      manufacture_process_costing/static/description/assets/misc/star.png
  51. BIN
      manufacture_process_costing/static/description/assets/misc/support.png
  52. BIN
      manufacture_process_costing/static/description/assets/misc/whatsapp.png
  53. BIN
      manufacture_process_costing/static/description/assets/modules/1.png
  54. BIN
      manufacture_process_costing/static/description/assets/modules/2.png
  55. BIN
      manufacture_process_costing/static/description/assets/modules/3.png
  56. BIN
      manufacture_process_costing/static/description/assets/modules/4.png
  57. BIN
      manufacture_process_costing/static/description/assets/modules/5.png
  58. BIN
      manufacture_process_costing/static/description/assets/modules/6.png
  59. BIN
      manufacture_process_costing/static/description/assets/screenshots/hero__1.gif
  60. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_1.png
  61. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_10.png
  62. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_11.png
  63. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_12.png
  64. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_13.png
  65. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_14.png
  66. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_15.png
  67. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_16.png
  68. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_17.png
  69. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_18.png
  70. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_19.png
  71. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_20.png
  72. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_21.png
  73. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_22.png
  74. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_23.png
  75. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_24.png
  76. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_25.png
  77. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_26.png
  78. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_27.png
  79. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_28.png
  80. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_29.png
  81. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_3.png
  82. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_30.png
  83. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_31.png
  84. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_32.png
  85. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_33.png
  86. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_34.png
  87. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_35.png
  88. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_36.png
  89. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_4.png
  90. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_5.png
  91. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_6.png
  92. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_7.png
  93. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_8.png
  94. BIN
      manufacture_process_costing/static/description/assets/screenshots/work_9.png
  95. BIN
      manufacture_process_costing/static/description/banner.jpg
  96. BIN
      manufacture_process_costing/static/description/icon.png
  97. 719
      manufacture_process_costing/static/description/index.html
  98. 74
      manufacture_process_costing/views/mrp_bom_views.xml
  99. 66
      manufacture_process_costing/views/mrp_cancel_reason_views.xml
  100. 107
      manufacture_process_costing/views/mrp_production_views.xml

46
manufacture_process_costing/README.rst

@ -0,0 +1,46 @@
.. image:: https://img.shields.io/badge/licence-LGPL--3-green.svg
:target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
Process Cost of Manufacturing Orders
====================================
* This module allow to manage process cost of manufacturing orders.
Configuration
=============
- www.odoo.com/documentation/16.0/setup/install.html
- Install our custom addon
License
-------
General Public License, Version 3 (LGPL v3).
(https://www.gnu.org/licenses/lgpl-3.0-standalone.html)
Company
-------
* `Cybrosys Techno Solutions <https://cybrosys.com/>`__
Credits
-------
* Developer: (V16) Javid A, 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 https://www.cybrosys.com
Further information
===================
HTML Description: `<static/description/index.html>`__

22
manufacture_process_costing/__init__.py

@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from . import models

59
manufacture_process_costing/__manifest__.py

@ -0,0 +1,59 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
{
'name': 'Process Cost of Manufacturing Orders',
'version': '16.0.1.0.0',
'category': 'Manufacturing',
'summary': """Manufacture Process Costing By Material Cost, Labour Cost and
Overhead Cost""",
'description': """This module helps to calculate process cost of
manufacturing order and workorder with material cost, labour cost and
overhead cost from components and work center. It calculates both
estimated costing and real costing. Estimated costing is done on Bill of
Material-BOM and real costing calculated on manufacturing order based on
real-time consumption and quantity consumption. You can also provide a
cancel reason for canceling the manufacture order.You can also see the
reports for BOM and Manufacture order. Also, you can add cancel
reasons.""",
'author': 'Cybrosys Techno Solutions',
'company': 'Cybrosys Techno Solutions',
'maintainer': 'Cybrosys Techno Solutions',
'website': 'https://cybrosys.com',
'depends': ['base', 'mrp'],
'data': [
'security/ir.model.access.csv',
'views/res_config_settings_views.xml',
'views/mrp_bom_views.xml',
'views/mrp_production_views.xml',
'views/mrp_workcenter_views.xml',
'views/mrp_cancel_reason_views.xml',
'report/mrp_bom_cost_reports.xml',
'report/mrp_bom_cost_report_templates.xml',
'report/mrp_production_cost_reports.xml',
'report/mrp_production_cost_report_templates.xml',
],
'images': ['/static/description/banner.jpg'],
'license': 'LGPL-3',
'installable': True,
'auto_install': False,
'application': False,
}

6
manufacture_process_costing/doc/RELEASE_NOTES.md

@ -0,0 +1,6 @@
## Module <manufacture_process_costing>
#### 2.12.2023
#### Version 16.0.1.0.0
#### ADD
- Initial commit for Process Cost of Manufacturing Orders

30
manufacture_process_costing/models/__init__.py

@ -0,0 +1,30 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from . import direct_labour_cost
from . import direct_material_cost
from . import direct_overhead_cost
from . import mrp_bom
from . import mrp_cancel_reason
from . import mrp_production
from . import mrp_workorder
from . import mrp_workcenter
from . import res_config_settings

64
manufacture_process_costing/models/direct_labour_cost.py

@ -0,0 +1,64 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from odoo import api, fields, models
class DirectLabourCost(models.Model):
"""This class creates a new model with the name direct.labour.cost"""
_name = 'direct.labour.cost'
_description = 'Direct Labour Cost'
labour_cost_id = fields.Many2one('mrp.bom',
string='Labour Cost',
help='Corresponding bill of materials')
operation = fields.Char(string='Operation',
help='Operation required for the work')
work_center_id = fields.Many2one('mrp.workcenter',
string='Work Center',
help='Corresponding work center')
planned_minute = fields.Float(string='Planned Minute',
help='Planned minutes for the work')
cost_minute = fields.Float(string='Cost/Minute',
help='Cost per minute for the work')
total_cost = fields.Float(compute='_compute_total_cost', store=True,
string='Total Cost', help='Total labour cost')
production_labour_id = fields.Many2one('mrp.production',
string='Production Labour',
help='corresponding manufacturing '
'order')
actual_minute = fields.Float(string='Actual Minute',
help='Actual minutes taken for the work')
total_actual_cost = fields.Float(compute='_compute_total_actual_cost',
string='Total Actual Cost',
help='Total Actual labour cost')
@api.depends('planned_minute', 'cost_minute')
def _compute_total_cost(self):
"""Calculate total_cost based on planned_minute and cost_minute"""
for rec in self:
rec.total_cost = rec.planned_minute * rec.cost_minute
@api.depends('actual_minute', 'cost_minute')
def _compute_total_actual_cost(self):
"""Calculate total_actual_cost based on actual_minute and cost_minute"""
for rec in self:
rec.total_actual_cost = rec.actual_minute * rec.cost_minute

64
manufacture_process_costing/models/direct_material_cost.py

@ -0,0 +1,64 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from odoo import api, fields, models
class DirectMaterialCost(models.Model):
"""This class creates a new model with the name direct.material.cost"""
_name = 'direct.material.cost'
_description = 'Direct Material Cost'
material_cost_id = fields.Many2one('mrp.bom',
string='Material Cost',
help='Corresponding bill of materials')
product_id = fields.Many2one('product.product',
string='Product',
help='Product required for the work')
planned_qty = fields.Integer(string='Planned Qty',
help='Planned minutes for the work')
uom_id = fields.Many2one('uom.uom', string='UoM',
help="Unit of measure")
cost_unit = fields.Float(string='Cost/Unit',
help='Cost per unit for the work')
total_cost = fields.Float(compute='_compute_total_cost', store=True,
string='Total Cost', help='Total material cost')
production_material_id = fields.Many2one('mrp.production',
string='Production Material',
help='Corresponding manufacturing '
'order')
actual_quantity = fields.Integer(string='Actual Quantity',
help='Actual quantity taken for the work')
total_actual_cost = fields.Float(compute='_compute_total_actual_cost',
string='Total Actual Cost',
help='Total actual material cost')
@api.depends('planned_qty', 'cost_unit')
def _compute_total_cost(self):
"""Calculate total_cost based on planned_qty and cost_unit"""
for rec in self:
rec.total_cost = rec.planned_qty * rec.cost_unit
@api.depends('actual_quantity', 'cost_unit')
def _compute_total_actual_cost(self):
"""Calculate total_actual_cost based on actual_quantity and cost_unit"""
for rec in self:
rec.total_actual_cost = rec.actual_quantity * rec.cost_unit

64
manufacture_process_costing/models/direct_overhead_cost.py

@ -0,0 +1,64 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from odoo import api, fields, models
class DirectOverheadCost(models.Model):
"""This class creates a new model with the name direct.overhead.cost"""
_name = 'direct.overhead.cost'
_description = 'Direct Overhead Cost'
overhead_cost_id = fields.Many2one('mrp.bom',
string='Overhead Cost',
help='Corresponding bill of materials')
operation = fields.Char(string='Operation',
help='Operation required for the work')
work_center_id = fields.Many2one('mrp.workcenter',
string='Work Center',
help='Corresponding work center')
planned_minute = fields.Float(string='Planned Minute',
help='Planned minutes for the work')
cost_minute = fields.Float(string='Cost/Minute',
help='Cost per minute for the work')
total_cost = fields.Float(compute='_compute_total_cost', store=True,
string='Total Cost',
help='Total overhead cost')
production_overhead_id = fields.Many2one('mrp.production',
string='Production Overhead',
help='corresponding manufacturing '
'order')
actual_minute = fields.Float(string='Actual Minute',
help='Actual minutes taken for the work')
total_actual_cost = fields.Float(compute='_compute_total_actual_cost',
help='Total Actual overhead cost')
@api.depends('planned_minute', 'cost_minute')
def _compute_total_cost(self):
"""Calculate total_cost based on planned_minute and cost_minute"""
for rec in self:
rec.total_cost = rec.planned_minute * rec.cost_minute
@api.depends('actual_minute', 'cost_minute')
def _compute_total_actual_cost(self):
"""Calculate total_actual_cost based on actual_minute and cost_minute"""
for rec in self:
rec.total_actual_cost = rec.actual_minute * rec.cost_minute

146
manufacture_process_costing/models/mrp_bom.py

@ -0,0 +1,146 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from odoo import api, fields, models
class MrpBom(models.Model):
"""This class inherits the existing class mrp.bom to add the
additional features of the costing"""
_inherit = 'mrp.bom'
material_cost_ids = fields.One2many('direct.material.cost',
'material_cost_id',
string='Material Cost',
help="Material cost")
labour_cost_ids = fields.One2many('direct.labour.cost',
'labour_cost_id',
string='Labour Cost', help="Labour cost")
overhead_cost_ids = fields.One2many('direct.overhead.cost',
'overhead_cost_id',
string='Overhead Cost', help="Overhead "
"cost")
total_material_cost = fields.Float(compute='_compute_total_material_cost',
string='Total Material Cost',
store=True, help='Total Material Cost')
total_labour_cost = fields.Float(compute='_compute_total_labour_cost',
string='Total Labour Cost',
store=True, help='Total Labour Cost')
total_overhead_cost = fields.Float(compute='_compute_total_overhead_cost',
string='Total Overhead Cost',
store=True, help='Total Overhead Cost')
@api.onchange('bom_line_ids')
def _onchange_bom_line_ids(self):
"""write into material_cost_ids when bom_line_ids is changed"""
self.write({'material_cost_ids': [(5, 0)]})
self.write({
'material_cost_ids': [
(0, 0, {
'material_cost_id': self.id,
'product_id': rec.product_id.id,
'planned_qty': rec.product_qty,
'uom_id': rec.product_id.uom_id.id,
'cost_unit': rec.product_id.lst_price,
}) for rec in self.bom_line_ids]
})
@api.onchange('operation_ids')
def _onchange_operation_ids(self):
"""write into labour_cost_ids and overhead_cost_ids when
operation_ids is changed"""
process = self.env['ir.config_parameter'].sudo()
process_value = process.get_param(
'manufacture_process_costing.process_costing_method')
if process_value == 'work-center':
self.write({'labour_cost_ids': [(5, 0)]})
self.write({
'labour_cost_ids': [
(0, 0, {
'labour_cost_id': self.id,
'operation': rec.name,
'work_center_id': rec.workcenter_id.id,
'planned_minute': rec.time_cycle,
'cost_minute': rec.workcenter_id.labour_cost,
}) for rec in self.operation_ids]
})
self.write({'overhead_cost_ids': [(5, 0)]})
self.write({
'overhead_cost_ids': [
(0, 0, {
'overhead_cost_id': self.id,
'operation': rec.name,
'work_center_id': rec.workcenter_id.id,
'planned_minute': rec.time_cycle,
'cost_minute': rec.workcenter_id.overhead_cost,
}) for rec in self.operation_ids]
})
else:
self.write({'labour_cost_ids': [(5, 0)]})
self.write({
'labour_cost_ids': [
(0, 0, {
'labour_cost_id': self.id,
'operation': rec.name,
'work_center_id': rec.workcenter_id.id,
'planned_minute': rec.time_cycle,
}) for rec in self.operation_ids]
})
self.write({'overhead_cost_ids': [(5, 0)]})
self.write({
'overhead_cost_ids': [
(0, 0, {
'overhead_cost_id': self.id,
'operation': rec.name,
'work_center_id': rec.workcenter_id.id,
'planned_minute': rec.time_cycle,
}) for rec in self.operation_ids]
})
@api.depends('material_cost_ids.total_cost')
def _compute_total_material_cost(self):
"""Calculates Total material costs"""
for result in self:
result.ensure_one()
result.total_material_cost = 0.00
if result.material_cost_ids:
result.total_material_cost = sum(
result.material_cost_ids.mapped('total_cost'))
@api.depends('labour_cost_ids.total_cost')
def _compute_total_labour_cost(self):
"""Calculate total labour costs"""
for result in self:
result.ensure_one()
result.total_labour_cost = 0.00
if result.labour_cost_ids:
result.total_labour_cost = sum(
result.labour_cost_ids.mapped('total_cost'))
@api.depends('overhead_cost_ids.total_cost')
def _compute_total_overhead_cost(self):
"""Calculate total overhead costs"""
for result in self:
result.ensure_one()
result.total_overhead_cost = 0.00
if result.overhead_cost_ids:
result.total_overhead_cost = sum(
result.overhead_cost_ids.mapped('total_cost'))

50
manufacture_process_costing/models/mrp_cancel_reason.py

@ -0,0 +1,50 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from odoo import fields, models
class MrpCancelReason(models.Model):
"""The class represents a new model mrp.cancel.reason"""
_name = 'mrp.cancel.reason'
_description = 'Mrp Cancel Reason'
_rec_name = 'manufacturing_id'
_order = "id desc"
reason_for_cancel = fields.Text(
string='Reason For Cancel',
help='Provide a reason for the cancellation of the manufacturing order')
manufacturing_id = fields.Many2one('mrp.production',
required=True,
string='Manufacture Order',
help='Corresponding manufacturing order')
date = fields.Datetime(
string='Cancel Date', default=fields.Datetime.now(),
help='The date and time of cancelling the manufacturing order')
cancelled_by_id = fields.Many2one(
'res.users',
string='Cancelled By',
default=lambda self: self.env.user.id,
help='The corresponding user who is cancelling the order')
def action_button_cancel(self):
"""Calls the function action_cancel() from mrp production"""
self.manufacturing_id.action_cancel()

183
manufacture_process_costing/models/mrp_production.py

@ -0,0 +1,183 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from odoo import api, fields, models
class MrpProduction(models.Model):
"""This class inherits the existing class mrp production to add the
additional feature of the costing methods"""
_inherit = 'mrp.production'
material_cost_ids = fields.One2many('direct.material.cost',
'production_material_id',
string='Material Costs')
labour_cost_ids = fields.One2many('direct.labour.cost',
'production_labour_id',
string='Labour Costs')
overhead_cost_ids = fields.One2many('direct.overhead.cost',
'production_overhead_id',
string='Overhead Costs')
total_material_cost = fields.Float(compute='_compute_total_material_cost',
store=True,
string='Total Material Cost',
help='Total Material Cost of production')
total_labour_cost = fields.Float(compute='_compute_total_labour_cost',
store=True, string='Total Labour Cost',
help='Total Labour Cost of production')
total_overhead_cost = fields.Float(compute='_compute_total_overhead_cost',
store=True,
string='Total Overhead Cost',
help='Total Overhead Cost of production')
total_cost = fields.Float(compute='_compute_total_cost', store=True,
help='Total Cost of production',
string='Total Cost')
total_actual_material_cost = fields.Float(
string='Total Actual Material Cost',
compute='_compute_total_actual_material_cost', store=True,
help='Total Actual Material Cost of production')
total_actual_labour_cost = fields.Float(string='Total Actual Labour Cost',
compute='_compute_total_actual_'
'labour_cost',
store=True,
help='Total Actual Labour Cost '
'of production')
total_actual_overhead_cost = fields.Float(
string='Total Actual Overhead Cost',
compute='_compute_total_actual_overhead_cost', store=True,
help='Total Actual Overhead Cost of production')
total_actual_cost = fields.Float(compute='_compute_total_actual_cost',
store=True, string='Total Actual Cost',
help='Total Actual Cost of production')
def action_cancel_button(self):
"""Returns the mrp.cancel.reason"""
reason = self.env['mrp.cancel.reason'].create(
{'manufacturing_id': self.id})
return {
'type': 'ir.actions.act_window',
'name': 'Cancel Reason',
'view_mode': 'form',
'res_model': 'mrp.cancel.reason',
'target': 'new',
'view_type': 'form',
'res_id': reason.id,
}
@api.onchange('bom_id')
def _onchange_bom_id(self):
"""Writes data to material_cost_ids, labour_cost_ids and
overhead_cost_ids when change in bom_id"""
self.write({'material_cost_ids': [(5, 0)]})
self.write({
'material_cost_ids': [
(0, 0, {
'production_material_id': self.id,
'material_cost_id': self.bom_id.id,
'product_id': rec.product_id.id,
'planned_qty': rec.planned_qty,
'uom_id': rec.uom_id.id,
'cost_unit': rec.cost_unit,
}) for rec in self.bom_id.material_cost_ids]
})
self.write({'labour_cost_ids': [(5, 0)]})
self.write({
'labour_cost_ids': [
(0, 0, {
'production_labour_id': self.id,
'labour_cost_id': rec.id,
'operation': rec.operation,
'work_center_id': rec.work_center_id.id,
'planned_minute': rec.planned_minute,
'cost_minute': rec.cost_minute,
}) for rec in self.bom_id.labour_cost_ids]
})
self.write({'overhead_cost_ids': [(5, 0)]})
self.write({
'overhead_cost_ids': [
(0, 0, {
'production_overhead_id': self.id,
'overhead_cost_id': rec.id,
'operation': rec.operation,
'work_center_id': rec.work_center_id.id,
'planned_minute': rec.planned_minute,
'cost_minute': rec.cost_minute,
}) for rec in self.bom_id.overhead_cost_ids]
})
@api.depends('material_cost_ids.total_cost')
def _compute_total_material_cost(self):
"""Calculate total_material_cost"""
for result in self:
result.total_material_cost = sum(
result.mapped('material_cost_ids').mapped('total_cost'))
@api.depends('labour_cost_ids.total_cost')
def _compute_total_labour_cost(self):
"""Calculate total_labour_cost"""
for result in self:
result.total_labour_cost = sum(
result.mapped('labour_cost_ids').mapped('total_cost'))
@api.depends('overhead_cost_ids.total_cost')
def _compute_total_overhead_cost(self):
"""Calculates total_overhead_cost"""
for result in self:
result.total_overhead_cost = sum(
result.mapped('overhead_cost_ids').mapped('total_cost'))
@api.depends('total_material_cost', 'total_labour_cost',
'total_overhead_cost')
def _compute_total_cost(self):
"""Calculates total_cost"""
for rec in self:
rec.total_cost = rec.total_material_cost + \
rec.total_labour_cost + rec.total_overhead_cost
@api.depends('material_cost_ids.total_actual_cost')
def _compute_total_actual_material_cost(self):
"""Calculates total_actual_material_cost"""
for cost in self:
cost.total_actual_material_cost = sum(
cost.mapped('material_cost_ids').mapped('total_actual_cost'))
@api.depends('labour_cost_ids.total_actual_cost')
def _compute_total_actual_labour_cost(self):
"""Calculates total_actual_labour_cost"""
for cost in self:
cost.total_actual_labour_cost = sum(
cost.mapped('labour_cost_ids').mapped('total_actual_cost'))
@api.depends('overhead_cost_ids.total_actual_cost')
def _compute_total_actual_overhead_cost(self):
"""Calculates total_actual_overhead_cost"""
for cost in self:
cost.total_actual_overhead_cost = sum(
cost.mapped('overhead_cost_ids').mapped('total_actual_cost'))
@api.depends('total_actual_material_cost', 'total_actual_labour_cost',
'total_actual_overhead_cost')
def _compute_total_actual_cost(self):
"""Calculates total_actual_cost"""
for rec in self:
rec.total_actual_cost = rec.total_actual_material_cost + \
rec.total_actual_labour_cost + \
rec.total_actual_overhead_cost

33
manufacture_process_costing/models/mrp_workcenter.py

@ -0,0 +1,33 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from odoo import fields, models
class MrpWorkcenter(models.Model):
"""This class inherits the already existing class mrp workcenter to add
the total cost of overhead and labour per minute"""
_inherit = 'mrp.workcenter'
overhead_cost = fields.Float(string='Overhead Costs per minute',
help='Set an overhead cost cost per minute')
labour_cost = fields.Float(string='Labour Costs per minute',
help='Set an labour cost cost per minute')

65
manufacture_process_costing/models/mrp_workorder.py

@ -0,0 +1,65 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from odoo import models
class MrpWorkorder(models.Model):
"""This class inherits the existing class with model name mrp.workorder
to define a function to automatically calculate the costings"""
_inherit = 'mrp.workorder'
def button_finish(self):
"""Super the button_finish button in workorder and update the
actual_minute and actual_quantity of labour_cost_ids,
overhead_cost_ids, material_cost_ids according to the settings value"""
res = super(MrpWorkorder, self).button_finish()
process = self.env['ir.config_parameter'].sudo()
process_value = process.get_param(
'manufacture_process_costing.process_costing_method')
if process_value == 'work-center':
for rec in self.production_id.labour_cost_ids:
for val in self:
if rec.operation == val.name:
labour_id = rec.id
self.production_id.write({
'labour_cost_ids': [
(1, labour_id, {
'actual_minute': rec.duration
}) for rec in self]
})
for rec in self.production_id.overhead_cost_ids:
for val in self:
if rec.operation == val.name:
overhead_id = rec.id
self.production_id.write({
'overhead_cost_ids': [
(1, overhead_id, {
'actual_minute': rec.duration
}) for rec in self]
})
self.production_id.write({
'material_cost_ids': [
(1, rec.id, {
'actual_quantity': rec.planned_qty
}) for rec in self.production_id.material_cost_ids]
})
return res

35
manufacture_process_costing/models/res_config_settings.py

@ -0,0 +1,35 @@
# -*- coding: utf-8 -*-
#############################################################################
#
# Cybrosys Technologies Pvt. Ltd.
#
# Copyright (C) 2023-TODAY Cybrosys Technologies(<https://www.cybrosys.com>)
# Author: Cybrosys Techno Solutions(<https://www.cybrosys.com>)
#
# You can modify it under the terms of the GNU LESSER
# GENERAL PUBLIC LICENSE (LGPL 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 LESSER GENERAL PUBLIC LICENSE (LGPL v3) for more details.
#
# You should have received a copy of the GNU LESSER GENERAL PUBLIC LICENSE
# (LGPL v3) along with this program.
# If not, see <http://www.gnu.org/licenses/>.
#
#############################################################################
from odoo import fields, models
class ResConfigSettings(models.TransientModel):
"""This class extends the 'res.config.settings' model to add a custom
field for configuring the process costing method"""
_inherit = 'res.config.settings'
process_costing_method = fields.Selection(selection=[
('manually', 'Manually'), ('work-center', 'Work Center')],
default='manually', string='Process Costing Method',
config_parameter='manufacture_process_costing.process_costing_method',
help='How to compute process costing, whether manually or work '
'center based')

219
manufacture_process_costing/report/mrp_bom_cost_report_templates.xml

@ -0,0 +1,219 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Bom cost report template -->
<template id="report_bom_cost">
<t t-call="web.html_container">
<t t-call="web.external_layout">
<div class="page">
<t t-foreach="docs" t-as="data">
<span style="font-size:30px;">
<strong>Bill Of Materials</strong>
</span>
<table class="table table-borderless">
<tr>
<td>
<p>
<strong>Product :</strong>
<t t-esc="data['product_tmpl_id'].name"/>
</p>
</td>
<td>
<p>
<strong>Reference :</strong>
<t t-esc="data['code']"/>
</p>
</td>
</tr>
<tr>
<td>
<p>
<strong>Product Variant :</strong>
<t t-esc="data['product_id'].name"/>
</p>
</td>
<td>
<p>
<strong>Bom Type :</strong>
<t t-esc="data['type']"/>
</p>
</td>
</tr>
<tr>
<td>
<p>
<strong>Quantity :</strong>
<t t-esc="data['product_qty']"/>
</p>
</td>
<td>
<p>
<strong>Company :</strong>
<t t-esc="data['company_id'].name"/>
</p>
</td>
</tr>
</table>
<br/>
<span style="font-size:25px;">
<strong>Components</strong>
</span>
<table class="table">
<thead>
<tr>
<th>Product</th>
<th>Product Qunatity</th>
<th>Product UOM</th>
<th>Variants</th>
<th>Consumed In Operation</th>
</tr>
</thead>
<tbody>
<tr t-foreach="data['bom_line_ids']" t-as="rec">
<td>
<t t-esc="rec.product_id.name"/>
</td>
<td>
<t t-esc="rec.product_qty"/>
</td>
<td>
<t t-esc="rec.product_uom_id.name"/>
</td>
<td>
<t t-esc="rec.product_tmpl_id.name"/>
</td>
<td>
<t t-esc="rec.operation_id.name"/>
</td>
</tr>
</tbody>
</table>
<br/>
<span style="font-size:25px;">
<strong>Direct Material Cost</strong>
</span>
<table class="table">
<thead>
<tr>
<th>Product</th>
<th>Planned Qunatity</th>
<th>UOM</th>
<th>Cost/Unit</th>
<th>Total Cost</th>
</tr>
</thead>
<tbody>
<tr t-foreach="data['material_cost_ids']"
t-as="rec">
<td>
<t t-esc="rec.product_id.name"/>
</td>
<td>
<t t-esc="rec.planned_qty"/>
</td>
<td>
<t t-esc="rec.uom_id.name"/>
</td>
<td>
<t t-esc="rec.cost_unit"/>
</td>
<td>
<t t-esc="rec.total_cost"/>
</td>
</tr>
</tbody>
</table>
<h6 class="oe_subtotal_footer oe_right">Total Material
Cost :
<strong>
<t t-esc="data['total_material_cost']"/>
</strong>
</h6>
<br/>
<span style="font-size:25px;">
<strong>Direct Labour Cost</strong>
</span>
<table class="table">
<thead>
<tr>
<th>Operation</th>
<th>Work Center</th>
<th>Planned Minute</th>
<th>Cost/Minute</th>
<th>Total Cost</th>
</tr>
</thead>
<tbody>
<tr t-foreach="data['labour_cost_ids']"
t-as="rec">
<td>
<t t-esc="rec.operation"/>
</td>
<td>
<t t-esc="rec.work_center_id.name"/>
</td>
<td>
<t t-esc="rec.planned_minute"/>
</td>
<td>
<t t-esc="rec.cost_minute"/>
</td>
<td>
<t t-esc="rec.total_cost"/>
</td>
</tr>
</tbody>
</table>
<h6 class="oe_subtotal_footer oe_right">Total Labour
Cost :
<strong>
<t t-esc="data['total_labour_cost']"/>
</strong>
</h6>
<br/>
<span style="font-size:25px;">
<strong>Direct Overhead Cost</strong>
</span>
<table class="table">
<thead>
<tr>
<th>Operation</th>
<th>Work Center</th>
<th>Planned Minute</th>
<th>Cost/Minute</th>
<th>Total Cost</th>
</tr>
</thead>
<tbody>
<tr t-foreach="data['overhead_cost_ids']"
t-as="rec">
<td>
<t t-esc="rec.operation"/>
</td>
<td>
<t t-esc="rec.work_center_id.name"/>
</td>
<td>
<t t-esc="rec.planned_minute"/>
</td>
<td>
<t t-esc="rec.cost_minute"/>
</td>
<td>
<t t-esc="rec.total_cost"/>
</td>
</tr>
</tbody>
</table>
<h6 class="oe_subtotal_footer oe_right">Total Overhead
Cost :
<strong>
<t t-esc="data['total_overhead_cost']"/>
</strong>
</h6>
<br/>
</t>
</div>
</t>
</t>
</template>
</odoo>

14
manufacture_process_costing/report/mrp_bom_cost_reports.xml

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Bom cost report action -->
<record id="action_report_bom_cost" model="ir.actions.report">
<field name="name">Bom Cost Report</field>
<field name="model">mrp.bom</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">manufacture_process_costing.report_bom_cost</field>
<field name="report_file">manufacture_process_costing.report_bom_cost</field>
<field name="print_report_name">'BOM Cost Report - %s' % object.display_name</field>
<field name="binding_model_id" ref="model_mrp_bom"/>
<field name="binding_type">report</field>
</record>
</odoo>

295
manufacture_process_costing/report/mrp_production_cost_report_templates.xml

@ -0,0 +1,295 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Mrp production cost report template -->
<template id="production_cost_report">
<t t-call="web.html_container">
<t t-call="web.external_layout">
<div class="page">
<t t-foreach="docs" t-as="data">
<span style="font-size:30px;">
<strong>Manufacturing Orders -
<t t-esc="data['name']"/>
</strong>
</span>
<table class="table table-borderless">
<tr>
<td>
<p>
<strong>Product :</strong>
<t t-esc="data['product_id'].name"/>
</p>
</td>
<td>
<p>
<strong>Deadline Start :</strong>
<t t-esc="data['date_planned_start']"/>
</p>
</td>
</tr>
<tr>
<td>
<p>
<strong>Quantity To Produce :</strong>
<t t-esc="data['product_qty']"/>
</p>
</td>
<td>
<p>
<strong>Responsible :</strong>
<t t-esc="data['user_id'].name"/>
</p>
</td>
</tr>
<tr>
<td>
<p>
<strong>Bill Of Material :</strong>
<t t-esc="data['bom_id'].product_tmpl_id.name"/>
</p>
</td>
<td>
<p>
<strong>Company :</strong>
<t t-esc="data['company_id'].name"/>
</p>
</td>
</tr>
<tr>
<td>
<p>
<strong>Source :</strong>
<t t-esc="data['origin']"/>
</p>
</td>
</tr>
</table>
<br/>
<span style="font-size:25px;">
<strong>Consumed Materials</strong>
</span>
<table class="table">
<thead>
<tr>
<th>Product</th>
<th>Unit Of Measure</th>
<th>To Consume</th>
<th>Consumed</th>
</tr>
</thead>
<tbody>
<tr t-foreach="data['move_raw_ids']" t-as="rec">
<td>
<t t-esc="rec.product_id.name"/>
</td>
<td>
<t t-esc="rec.product_uom.name"/>
</td>
<td>
<t t-esc="rec.product_uom_qty"/>
</td>
<td>
<t t-esc="rec.quantity_done"/>
</td>
</tr>
</tbody>
</table>
<br/>
<t t-if="data['state'] == 'done'">
<span style="font-size:25px;">
<strong>Finished Products</strong>
</span>
<table class="table">
<thead>
<tr>
<th>Product</th>
<th>Unit Of Measure</th>
<th>Produced</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<t t-esc="data['product_id'].name"/>
</td>
<td>
<t t-esc="data['product_uom_id'].name"/>
</td>
<td>
<t t-esc="data['qty_produced']"/>
</td>
</tr>
</tbody>
</table>
<br/>
</t>
<span style="font-size:25px;">
<strong>Manufacturing Material Cost</strong>
</span>
<table class="table">
<thead>
<tr>
<th>Product</th>
<th>Planned Qunatity</th>
<th>Actual Qunatity</th>
<th>UOM</th>
<th>Cost/Unit</th>
<th>Total Cost</th>
<th>Total Actual Cost</th>
</tr>
</thead>
<tbody>
<tr t-foreach="data['material_cost_ids']"
t-as="rec">
<td>
<t t-esc="rec.product_id.name"/>
</td>
<td>
<t t-esc="rec.planned_qty"/>
</td>
<td>
<t t-esc="rec.actual_quantity"/>
</td>
<td>
<t t-esc="rec.uom_id.name"/>
</td>
<td>
<t t-esc="rec.cost_unit"/>
</td>
<td>
<t t-esc="rec.total_cost"/>
</td>
<td>
<t t-esc="rec.total_actual_cost"/>
</td>
</tr>
</tbody>
</table>
<h6 class="oe_subtotal_footer oe_right">Total Material
Cost :
<strong>
<t t-esc="data['total_material_cost']"/>
</strong>
</h6>
<h6 class="oe_subtotal_footer oe_right">Total Actual
Material Cost :
<strong>
<t t-esc="data['total_actual_material_cost']"/>
</strong>
</h6>
<br/>
<span style="font-size:25px;">
<strong>Manufacturing Labour Cost</strong>
</span>
<table class="table">
<thead>
<tr>
<th>Operation</th>
<th>Work Center</th>
<th>Planned Minute</th>
<th>Actual Minute</th>
<th>Cost/Minute</th>
<th>Total Cost</th>
<th>Total Actual Cost</th>
</tr>
</thead>
<tbody>
<tr t-foreach="data['labour_cost_ids']"
t-as="rec">
<td>
<t t-esc="rec.operation"/>
</td>
<td>
<t t-esc="rec.work_center_id.name"/>
</td>
<td>
<t t-esc="rec.planned_minute"/>
</td>
<td>
<t t-esc="rec.actual_minute"/>
</td>
<td>
<t t-esc="rec.cost_minute"/>
</td>
<td>
<t t-esc="rec.total_cost"/>
</td>
<td>
<t t-esc="rec.total_actual_cost"/>
</td>
</tr>
</tbody>
</table>
<h6 class="oe_subtotal_footer oe_right">Total Labour
Cost :
<strong>
<t t-esc="data['total_labour_cost']"/>
</strong>
</h6>
<h6 class="oe_subtotal_footer oe_right">Total Actual
Labour Cost :
<strong>
<t t-esc="data['total_actual_labour_cost']"/>
</strong>
</h6>
<br/>
<span style="font-size:25px;">
<strong>Manufacturing Overhead Cost</strong>
</span>
<table class="table">
<thead>
<tr>
<th>Operation</th>
<th>Work Center</th>
<th>Planned Minute</th>
<th>Actual Minute</th>
<th>Cost/Minute</th>
<th>Total Cost</th>
<th>Total Actual Cost</th>
</tr>
</thead>
<tbody>
<tr t-foreach="data['overhead_cost_ids']"
t-as="rec">
<td>
<t t-esc="rec.operation"/>
</td>
<td>
<t t-esc="rec.work_center_id.name"/>
</td>
<td>
<t t-esc="rec.planned_minute"/>
</td>
<td>
<t t-esc="rec.actual_minute"/>
</td>
<td>
<t t-esc="rec.cost_minute"/>
</td>
<td>
<t t-esc="rec.total_cost"/>
</td>
<td>
<t t-esc="rec.total_actual_cost"/>
</td>
</tr>
</tbody>
</table>
<h6 class="oe_subtotal_footer oe_right">Total Labour
Cost :
<strong>
<t t-esc="data['total_overhead_cost']"/>
</strong>
</h6>
<h6 class="oe_subtotal_footer oe_right">Total Actual
Labour Cost :
<strong>
<t t-esc="data['total_actual_overhead_cost']"/>
</strong>
</h6>
<br/>
</t>
</div>
</t>
</t>
</template>
</odoo>

14
manufacture_process_costing/report/mrp_production_cost_reports.xml

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Mrp production cost report action -->
<record id="action_production_cost_report" model="ir.actions.report">
<field name="name">Production Cost Report</field>
<field name="model">mrp.production</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">manufacture_process_costing.production_cost_report</field>
<field name="report_file">manufacture_process_costing.production_cost_report</field>
<field name="print_report_name">'Production Cost Report - %s' % object.display_name</field>
<field name="binding_model_id" ref="model_mrp_production"/>
<field name="binding_type">report</field>
</record>
</odoo>

5
manufacture_process_costing/security/ir.model.access.csv

@ -0,0 +1,5 @@
id,name,model_id/id,group_id/id,perm_read,perm_write,perm_create,perm_unlink
access_direct_material_cost,access.direct.material.cost,model_direct_material_cost,base.group_user,1,1,1,1
access_direct_labour_cost,access.direct.labour.cost,model_direct_labour_cost,base.group_user,1,1,1,1
access_direct_overhead_cost,access.direct.overhead.cost,model_direct_overhead_cost,base.group_user,1,1,1,1
access_mrp_cancel_reason,access.mrp.cancel.reason,model_mrp_cancel_reason,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_direct_material_cost access.direct.material.cost model_direct_material_cost base.group_user 1 1 1 1
3 access_direct_labour_cost access.direct.labour.cost model_direct_labour_cost base.group_user 1 1 1 1
4 access_direct_overhead_cost access.direct.overhead.cost model_direct_overhead_cost base.group_user 1 1 1 1
5 access_mrp_cancel_reason access.mrp.cancel.reason model_mrp_cancel_reason base.group_user 1 1 1 1

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 576 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 911 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 878 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 653 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 839 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 427 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 627 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 589 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 71 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/hero__1.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_10.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_11.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_12.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_13.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_14.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_15.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_16.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_17.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_18.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_19.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_20.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_21.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_22.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_23.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_24.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_25.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_26.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_27.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_28.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_29.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_30.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_31.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_32.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_33.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_34.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_35.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_36.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_6.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_7.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_8.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

BIN
manufacture_process_costing/static/description/assets/screenshots/work_9.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

BIN
manufacture_process_costing/static/description/banner.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

BIN
manufacture_process_costing/static/description/icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

719
manufacture_process_costing/static/description/index.html

@ -0,0 +1,719 @@
<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: #875A7B; 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>Enterprise
</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;">
Process Cost of Manufacturing Orders</h1>
<p style="color:#FFFFFF; padding: 8px 15px; text-align: center; font-size: 24px;">Manufacturing Process Costing with Material Cost,
Labour Cost and Overhead Cost based on Work Center.</p>
<!-- END OF APP HERO -->
<img src="assets/screenshots/hero__1.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 helps to calculate process cost of manufacturing order and work order with
material cost, labour cost and overhead cost from components and work center. It
calculates both estimated costing and real costing. Estimated costing is done on Bill
of Material-BOM and real costing calculated on manufacturing order based on real-time
consumption and quantity consumption. You can also provide a cancel reason for
canceling the manufacture order.You can also see the reports for
BOM and Manufacture order. Also, you can add cancel reasons.
</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;">Material cost, Labour cost and Overhead
cost for Production</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;">Calculates Estimated cost and Real cost</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;">Production Cost report for bom and manufacturing order</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;">Provide Cancel Reason for Canceling MO</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;">Print Costing Report</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;">Process Cost Configuration
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">Go to Manufacturing -> Configuration
-> Settings .
User can select manufacture process costing method as 'Manually' or 'Work-Center'.
</p>
<img src="assets/screenshots/work_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;">1.Costing Method Manually
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
After setting the process costing method 'Manually', the user can go to
Products -> Bill of Materials . Create a Bill of Materials</p>
<img src="assets/screenshots/work_3.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
You can add the components. Then the Material Cost is added automatically based on the components.</p>
<img src="assets/screenshots/work_4.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Then Add the Operations.</p>
<img src="assets/screenshots/work_5.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Then the Labour Cost is added automatically based on the operations. Also, you can add the Cost/Minute manually.</p>
<img src="assets/screenshots/work_6.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Also, Overhead Cost is added automatically based on the operations. You can add the Cost/Minute manually.</p>
<img src="assets/screenshots/work_7.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
In the Costing page the values are computed automatically based on the Material Cost, Labour Cost and Overhead Cost.</p>
<img src="assets/screenshots/work_8.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Now go to Operations -> Manufacturing Order and create a new Manufacturing order.
By setting the Bill of Material, all the datas from corresponding BOM will
be loaded here. You can also add Components and Work Orders, and it will reflect in
other costs but not in the actual BOM.</p>
<img src="assets/screenshots/work_9.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Here you can see the Work Orders. Plan the manufacturing order.</p>
<img src="assets/screenshots/work_10.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Then you can go to Material Cost, Labour Cost and Overhead Cost tabs and
change the Actual quantity and Actual Minute manually.</p>
<img src="assets/screenshots/work_11.png" class="img-thumbnail">
<img src="assets/screenshots/work_12.png" class="img-thumbnail">
<img src="assets/screenshots/work_13.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
In the Costing tab, you can see both estimated cost and actual cost calculated.</p>
<img src="assets/screenshots/work_14.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;">2.Costing Method Automated Work-Center Process
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
For costing method automated process go to Configuration -> Settings and enable
the Work Orders Feature and also set the Process Costing Method to 'Work Center'.</p>
<img src="assets/screenshots/work_15.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Then go to Configuration -> Work Centers. Add the Actual Costing</p>
<img src="assets/screenshots/work_16.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Then go to Products -> Bill of Materials and configure the Components
and Operations.</p>
<img src="assets/screenshots/work_17.png" class="img-thumbnail">
<img src="assets/screenshots/work_18.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Then the estimated Material Cost, Labour Cost and Overhead Cost will
be calculated automatically based on the Work Center.</p>
<img src="assets/screenshots/work_19.png" class="img-thumbnail">
<img src="assets/screenshots/work_20.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
You can also see total cost of Material, Labour and Overhead.</p>
<img src="assets/screenshots/work_21.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Now go to Operations -> Manufacturing Order and create a new Manufacturing order.
By setting the Bill of Material, all the datas from corresponding BOM will
be loaded here. You can also add components and work order, and it will reflect in
other costs but not in the actual BOM. Now you can confirm the manufacturing order
and plan and start the work-order.The work order Real Duration is reflected on
the Labour and Overhead Actual Minute. Also, the Material Actual Quantity is coming
from the components.</p>
<img src="assets/screenshots/work_23.png" class="img-thumbnail">
<img src="assets/screenshots/work_22.png" class="img-thumbnail">
<img src="assets/screenshots/work_24.png" class="img-thumbnail">
<img src="assets/screenshots/work_25.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Under the costing tab you can see all the estimated cost and actual cost.</p>
<img src="assets/screenshots/work_26.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;">Cancel Reason for Manufacturing Orders
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
When you cancel a Manufacturing Order, a popup wizard appears, and you could
provide a reason for canceling and cancel it.</p>
<img src="assets/screenshots/work_27.png" class="img-thumbnail">
<img src="assets/screenshots/work_28.png" class="img-thumbnail">
</div>
<div style="display: block; margin: 30px auto;">
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
Under Configuration -> Cancel Reasons , you can see all the reasons for
canceling the Manufacturing Order.</p>
<img src="assets/screenshots/work_29.png" class="img-thumbnail">
<img src="assets/screenshots/work_30.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;">Bill of Material Report
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
You can print the Bill of Material Report from the BOM menu itself.</p>
<img src="assets/screenshots/work_31.png" class="img-thumbnail">
<div style="display: flex;">
<img src="assets/screenshots/work_33.png" class="img-thumbnail">
<img src="assets/screenshots/work_34.png" class="img-thumbnail">
</div>
</div>
<div style="display: block; margin: 30px auto;">
<h3 style="font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: bold;">Manufacturing Orders Report
</h3>
<p style="font-weight: 400; font-family: 'Montserrat', sans-serif; font-size: 14px;">
You can print the Manufacturing Order Report from the Manufacturing menu itself.</p>
<img src="assets/screenshots/work_32.png" class="img-thumbnail">
<div style="display: flex;">
<img src="assets/screenshots/work_35.png" class="img-thumbnail">
<img src="assets/screenshots/work_36.png" class="img-thumbnail">
</div>
</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/manufacturing_timesheet/" 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/manufacturing_reports/" 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/so_bom_selection/#" 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/bom_multiple_product/" 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/cw_mrp/#" 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/simple_mrp_order/" 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 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 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 -->

74
manufacture_process_costing/views/mrp_bom_views.xml

@ -0,0 +1,74 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Inheriting bom form view -->
<record id="mrp_bom_form_view" model="ir.ui.view">
<field name="name">
mrp.bom.view.form.inherit.manufacture.process.costing
</field>
<field name="model">mrp.bom</field>
<field name="inherit_id" ref="mrp.mrp_bom_form_view"/>
<field name="arch" type="xml">
<xpath expr="//page[@name='operations']" position="after">
<page string="Material Cost" name="material_cost">
<field name="material_cost_ids">
<tree editable="bottom">
<field name="product_id"/>
<field name="planned_qty"/>
<field name="uom_id"/>
<field name="cost_unit"/>
<field name="total_cost"/>
</tree>
</field>
<h2 class="oe_subtotal_footer oe_right">
<group>
<field name="total_material_cost"/>
</group>
</h2>
</page>
<page string="Labour Cost" name="labour_cost">
<field name="labour_cost_ids">
<tree editable="bottom">
<field name="operation"/>
<field name="work_center_id"/>
<field name="planned_minute"
widget="float_time"/>
<field name="cost_minute"/>
<field name="total_cost"/>
</tree>
</field>
<h2 class="oe_subtotal_footer oe_right">
<group>
<field name="total_labour_cost"/>
</group>
</h2>
</page>
<page string="Overhead Cost" name="overhead_cost">
<field name="overhead_cost_ids">
<tree editable="bottom">
<field name="operation"/>
<field name="work_center_id"/>
<field name="planned_minute"
widget="float_time"/>
<field name="cost_minute"/>
<field name="total_cost"/>
</tree>
</field>
<h2 class="oe_subtotal_footer oe_right">
<group>
<field name="total_overhead_cost"/>
</group>
</h2>
</page>
<page string="Costing" name="costing">
<group>
<group>
<field name="total_material_cost"/>
<field name="total_labour_cost"/>
<field name="total_overhead_cost"/>
</group>
</group>
</page>
</xpath>
</field>
</record>
</odoo>

66
manufacture_process_costing/views/mrp_cancel_reason_views.xml

@ -0,0 +1,66 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Action for cancel reason -->
<record id="mrp_cancel_reason_action" model="ir.actions.act_window">
<field name="name">Cancel Reason</field>
<field name="res_model">mrp.cancel.reason</field>
<field name="view_mode">tree,form</field>
</record>
<!-- Menu Item for cancel reason -->
<menuitem id="mrp_cancel_reason_menu" name="Cancel Reasons"
parent="mrp.menu_mrp_configuration"
action="mrp_cancel_reason_action" sequence="3"/>
<!-- Form view for cancel reason -->
<record id="mrp_cancel_reason_view_form" model="ir.ui.view">
<field name="name">mrp.cancel.reason.view.form</field>
<field name="model">mrp.cancel.reason</field>
<field name="arch" type="xml">
<form>
<sheet>
<group>
<field name="manufacturing_id"/>
<field name="cancelled_by_id"/>
<field name="date"/>
<field name="reason_for_cancel"/>
</group>
<footer>
<button name="action_button_cancel" type="object"
string="Cancel" class="btn-primary"/>
</footer>
</sheet>
</form>
</field>
</record>
<!-- Tree view for cancel reason -->
<record id="mrp_cancel_reason_view_tree" model="ir.ui.view">
<field name="name">mrp.cancel.reason.view.tree</field>
<field name="model">mrp.cancel.reason</field>
<field name="arch" type="xml">
<tree>
<field name="manufacturing_id"/>
<field name="reason_for_cancel"/>
<field name="cancelled_by_id"/>
<field name="date"/>
</tree>
</field>
</record>
<!-- Search view for cancel reason -->
<record id="mrp_cancel_reason_view_search" model="ir.ui.view">
<field name="name">mrp.cancel.reason.view.search</field>
<field name="model">mrp.cancel.reason</field>
<field name="arch" type="xml">
<search>
<field name="manufacturing_id" string="Manufacture Order"/>
<field name="cancelled_by_id" string="Cancelled By"/>
<field name="date" string="Date"/>
<separator/>
<group expand="1" string="Group By">
<filter string="Cancelled By" name="cancelled_by_id"
context="{'group_by':'cancelled_by_id'}"/>
<filter string="Date" name="date"
context="{'group_by':'date'}"/>
</group>
</search>
</field>
</record>
</odoo>

107
manufacture_process_costing/views/mrp_production_views.xml

@ -0,0 +1,107 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Inheriting mrp production form view -->
<record id="mrp_production_form_view" model="ir.ui.view">
<field name="name">
mrp.production.view.form.inherit.manufacture.process.costing
</field>
<field name="model">mrp.production</field>
<field name="inherit_id" ref="mrp.mrp_production_form_view"/>
<field name="arch" type="xml">
<xpath expr="//button[@name='action_cancel']"
position="replace">
<button name="action_cancel_button" string="Cancel"
type="object"
attrs="{'invisible': ['|', '|', ('id', '=', False), ('state', 'in', ('done', 'cancel')), ('confirm_cancel', '=', True)]}"/>
</xpath>
<xpath expr="//page[@name='operations']" position="after">
<page string="Material Cost" name="material_cost">
<field name="material_cost_ids">
<tree editable="bottom" create="0">
<field name="product_id" readonly="1"
force_save="1"/>
<field name="planned_qty" force_save="1"/>
<field name="actual_quantity" force_save="1"/>
<field name="uom_id" readonly="1"
force_save="1"/>
<field name="cost_unit" readonly="1"
force_save="1"/>
<field name="total_cost" force_save="1"/>
<field name="total_actual_cost"
force_save="1"/>
</tree>
</field>
<h2 class="oe_subtotal_footer oe_right">
<group>
<field name="total_material_cost"/>
</group>
</h2>
</page>
<page string="Labour Cost" name="labour_cost">
<field name="labour_cost_ids">
<tree editable="bottom" create="0">
<field name="operation" readonly="1"
force_save="1"/>
<field name="work_center_id" readonly="1"
force_save="1"/>
<field name="planned_minute"
widget="float_time" force_save="1"/>
<field name="actual_minute" widget="float_time"
force_save="1"/>
<field name="cost_minute" readonly="1"
force_save="1"/>
<field name="total_cost" force_save="1"/>
<field name="total_actual_cost"
force_save="1"/>
</tree>
</field>
<h2 class="oe_subtotal_footer oe_right">
<group>
<field name="total_labour_cost"/>
</group>
</h2>
</page>
<page string="Overhead Cost" name="overhead_cost">
<field name="overhead_cost_ids">
<tree editable="bottom" create="0">
<field name="operation" readonly="1"
force_save="1"/>
<field name="work_center_id" readonly="1"
force_save="1"/>
<field name="planned_minute"
widget="float_time" force_save="1"/>
<field name="actual_minute" widget="float_time"
force_save="1"/>
<field name="cost_minute" readonly="1"
force_save="1"/>
<field name="total_cost" force_save="1"/>
<field name="total_actual_cost"
force_save="1"/>
</tree>
</field>
<h2 class="oe_subtotal_footer oe_right">
<group>
<field name="total_overhead_cost"/>
</group>
</h2>
</page>
<page string="Costing" name="costing">
<group>
<group>
<field name="total_material_cost"/>
<field name="total_labour_cost"/>
<field name="total_overhead_cost"/>
<field name="total_cost"/>
</group>
<group>
<field name="total_actual_material_cost"/>
<field name="total_actual_labour_cost"/>
<field name="total_actual_overhead_cost"/>
<field name="total_actual_cost"/>
</group>
</group>
</page>
</xpath>
</field>
</record>
</odoo>

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save