diff --git a/manufacturing_timesheet/README.rst b/manufacturing_timesheet/README.rst new file mode 100644 index 000000000..333f5daa4 --- /dev/null +++ b/manufacturing_timesheet/README.rst @@ -0,0 +1,49 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Manufacturing (MRP) Timesheet +============================= +This module will help you to create timesheet for manufacturing orders according to the work order time tracking. + +Configuration +============= +* No additional configurations needed + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +General Public License, Version 3 (AGPL v3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +Developer : + (V16) Amaya Aravind @ Cybrosys + (V17) Safa Faheem PE @Cybrosys +Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ diff --git a/manufacturing_timesheet/__init__.py b/manufacturing_timesheet/__init__.py new file mode 100644 index 000000000..ef1e8c8f7 --- /dev/null +++ b/manufacturing_timesheet/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Cybrosys Technologies(). +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from . import models diff --git a/manufacturing_timesheet/__manifest__.py b/manufacturing_timesheet/__manifest__.py new file mode 100644 index 000000000..1f3f7729c --- /dev/null +++ b/manufacturing_timesheet/__manifest__.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Cybrosys Technologies(). +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +{ + 'name': 'Manufacturing (MRP) Timesheet', + 'version': '17.0.1.0.0', + 'category': 'Manufacturing,Project', + 'summary': 'Timesheet for manufacturing.', + 'description': """ This module will help you to create timesheet for + manufacturing orders according to the work order time tracking.Separate + Project and tasks will be created for managing manufacturing orders""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['base', 'mrp', 'hr_timesheet', 'hr', 'project'], + 'data': [ + 'views/mrp_production_views.xml', + 'views/account_analytic_line_views.xml', + 'views/project_project_views.xml', + 'views/mrp_workorder_views.xml', + 'views/mrp_timesheet_views.xml', + ], + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/manufacturing_timesheet/doc/RELEASE_NOTES.md b/manufacturing_timesheet/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..432b5122e --- /dev/null +++ b/manufacturing_timesheet/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 20.01.2024 +#### Version 17.0.1.0.0 +#### ADD +- Initial Commit for Manufacturing (MRP) Timesheet diff --git a/manufacturing_timesheet/models/__init__.py b/manufacturing_timesheet/models/__init__.py new file mode 100644 index 000000000..3f6276b27 --- /dev/null +++ b/manufacturing_timesheet/models/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Cybrosys Technologies() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from . import account_analytic_line +from . import mrp_workorder +from . import project_project diff --git a/manufacturing_timesheet/models/account_analytic_line.py b/manufacturing_timesheet/models/account_analytic_line.py new file mode 100644 index 000000000..b37616d1c --- /dev/null +++ b/manufacturing_timesheet/models/account_analytic_line.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Cybrosys Technologies() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class AccountAnalyticLine(models.Model): + """Inherited model account_analytic_line to add a new field related + to manufacturing timesheet.""" + _inherit = 'account.analytic.line' + + is_manufacturing = fields.Boolean(string='Is Manufacturing', invisible=True, + help='This boolean will help to ' + 'recognise the timesheet related' + ' to manufacturing.') diff --git a/manufacturing_timesheet/models/mrp_workorder.py b/manufacturing_timesheet/models/mrp_workorder.py new file mode 100644 index 000000000..7aaf0a51d --- /dev/null +++ b/manufacturing_timesheet/models/mrp_workorder.py @@ -0,0 +1,200 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Cybrosys Technologies() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from datetime import datetime +from odoo import fields, models + + +class MrpWorkorder(models.Model): + """Inherited model mrp_workorder to add field and functions related to + manufacturing timesheet. + + Methods: + button_start(self): + Supering the function of start button to start the time of + timesheet. + button_pending(self): + Supering the function of pause button to set timesheet in + progress state. + button_finish(self): + Supering the function of done button to calculate total + time in timesheet. + """ + _inherit = 'mrp.workorder' + + employee_id = fields.Many2one('hr.employee', string='Employee', + readonly=False, required=True, + help='Employee in work order', store=True) + + def button_start(self): + """ Supering the function of start button to start the timer + of timesheet. + + Boolean: Returns true + """ + res = super(MrpWorkorder, self).button_start() + allocated_hours = int(self.duration_expected) + allocated_minutes = int((self.duration_expected - allocated_hours) * 60) + allocated_time_str = f"{allocated_hours:02d}:{allocated_minutes:02d}" + allocated_minutes_str, allocated_seconds_str = allocated_time_str.split(":") + allocated_minutes = int(allocated_minutes_str) + allocated_seconds = int(allocated_minutes_str) + total_allocated_hours = (allocated_minutes + allocated_seconds / 60) / 60 + project = self.env['project.project'].search( + [('name', '=', ("MO: {}".format(self.production_id.name)))]) + if project: + task_id = project.task_ids.search([('name', '=', ( + "{} in {} for {} on {}".format(self.name, + self.workcenter_id.name, + self.product_id.display_name, + str(self.date_start))))]) + if not task_id: + task_id = self.env['project.task'].create({ + 'name': ("{} in {} for {} on {}".format(self.name, + self.workcenter_id.name, + self.product_id.display_name, + str(self.date_start))), + 'project_id': project.id, + 'date_assign': self.date_start, + 'date_deadline': self.date_finished, + 'allocated_hours': total_allocated_hours, + }) + self.env['account.analytic.line'].create({ + 'task_id': task_id.id, + 'date': datetime.today(), + 'name': ("{} in {} for {}".format(self.name, + self.workcenter_id.name, + self.product_id.display_name)), + 'employee_id': self.employee_id.id, + 'is_manufacturing': True + }) + else: + project_id = self.env['project.project'].create( + {'name': ("MO: {}".format(self.production_id.name)), + 'is_manufacturing': True}) + task_id = project_id.task_ids.search([('name', '=', ( + "{} in {} for {} on {}".format(self.name, + self.workcenter_id.name, + self.product_id.display_name, + str(self.date_start))))]) + if not task_id: + task_id = self.env['project.task'].create({ + 'name': ("{} in {} for {} on {}".format(self.name, + self.workcenter_id.name, + self.product_id.display_name, + str(self.date_start))), + 'project_id': project_id.id, + 'date_assign': self.date_start, + 'date_deadline': self.date_finished, + 'allocated_hours': total_allocated_hours, + }) + self.env['account.analytic.line'].create({ + 'task_id': task_id.id, + 'date': datetime.today(), + 'name': ("{} in {} for {}".format(self.name, + self.workcenter_id.name, + self.product_id.display_name)), + 'employee_id': self.employee_id.id, + 'is_manufacturing': True + }) + return res + + def button_pending(self): + """ Supering the function of pause button to set timesheet in + progress state. + + Boolean: Returns true + """ + res = super(MrpWorkorder, self).button_pending() + + allocated_hours = int(self.duration_expected) + allocated_minutes = int( + (self.duration_expected - allocated_hours) * 60) + allocated_time_str = f"{allocated_hours:02d}:{allocated_minutes:02d}" + allocated_minutes_str, allocated_seconds_str = allocated_time_str.split( + ":") + allocated_minutes = int(allocated_minutes_str) + allocated_seconds = int(allocated_minutes_str) + total_allocated_hours = ( + allocated_minutes + allocated_seconds / 60) / 60 + project = self.env['project.project'].search( + [('name', '=', ("MO: {}".format(self.production_id.name)))]) + task_id = project.task_ids.search([('name', '=', ( + "{} in {} for {} on {}".format(self.name, self.workcenter_id.name, + self.product_id.display_name, + str(self.date_start))))]) + task_id.write({ + 'allocated_hours': total_allocated_hours + }) + timesheet = task_id.mapped('timesheet_ids') + hours = int(self.duration) + minutes = int((self.duration - hours) * 60) + time_str = f"{hours:02d}:{minutes:02d}" + minutes_str, seconds_str = time_str.split(":") + minutes = int(minutes_str) + seconds = int(seconds_str) + total_hours = (minutes + seconds / 60) / 60 + for rec in timesheet: + rec.write({ + 'unit_amount': total_hours, + }) + return res + + def button_finish(self): + """ Supering the function of done button to calculate total time in + timesheet. + + Boolean: Returns true + """ + res = super(MrpWorkorder, self).button_finish() + + allocated_hours = int(self.duration_expected) + allocated_minutes = int( + (self.duration_expected - allocated_hours) * 60) + allocated_time_str = f"{allocated_hours:02d}:{allocated_minutes:02d}" + allocated_minutes_str, allocated_seconds_str = allocated_time_str.split( + ":") + allocated_minutes = int(allocated_minutes_str) + allocated_seconds = int(allocated_minutes_str) + total_allocated_hours = ( + allocated_minutes + allocated_seconds / 60) / 60 + project = self.env['project.project'].search( + [('name', '=', ("MO: {}".format(self.production_id.name)))]) + task_id = project.task_ids.search([('name', '=', ( + "{} in {} for {} on {}".format(self.name, self.workcenter_id.name, + self.product_id.display_name, + str(self.date_start))))]) + task_id.write({ + 'allocated_hours': total_allocated_hours + }) + timesheet = task_id.mapped('timesheet_ids') + hours = int(self.duration) + minutes = int((self.duration - hours) * 60) + time_str = f"{hours:02d}:{minutes:02d}" + minutes_str, seconds_str = time_str.split(":") + minutes = int(minutes_str) + seconds = int(seconds_str) + total_hours = (minutes + seconds / 60) / 60 + for rec in timesheet: + rec.write({ + 'unit_amount': total_hours, + }) + return res diff --git a/manufacturing_timesheet/models/project_project.py b/manufacturing_timesheet/models/project_project.py new file mode 100644 index 000000000..89632060b --- /dev/null +++ b/manufacturing_timesheet/models/project_project.py @@ -0,0 +1,33 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Cybrosys Technologies() +# +# You can modify it under the terms of the GNU AFFERO +# GENERAL PUBLIC LICENSE (AGPL v3), Version 3. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU AFFERO GENERAL PUBLIC LICENSE (AGPL v3) for more details. +# +# You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE +# (AGPL v3) along with this program. +# If not, see . +# +################################################################################ +from odoo import fields, models + + +class ProjectProject(models.Model): + """Inherited model project_project to add a new field related to + manufacturing timesheet""" + _inherit = 'project.project' + + is_manufacturing = fields.Boolean(string='Is Manufacturing', + help='This boolean will help to ' + 'recognise the projects related' + ' to manufacturing.') diff --git a/manufacturing_timesheet/static/description/assets/icons/check.png b/manufacturing_timesheet/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/icons/check.png differ diff --git a/manufacturing_timesheet/static/description/assets/icons/chevron.png b/manufacturing_timesheet/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/icons/chevron.png differ diff --git a/manufacturing_timesheet/static/description/assets/icons/cogs.png b/manufacturing_timesheet/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/icons/cogs.png differ diff --git a/manufacturing_timesheet/static/description/assets/icons/consultation.png b/manufacturing_timesheet/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/icons/consultation.png differ diff --git a/manufacturing_timesheet/static/description/assets/icons/ecom-black.png b/manufacturing_timesheet/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/icons/ecom-black.png differ diff --git a/manufacturing_timesheet/static/description/assets/icons/education-black.png b/manufacturing_timesheet/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/icons/education-black.png differ diff --git a/manufacturing_timesheet/static/description/assets/icons/hotel-black.png b/manufacturing_timesheet/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/icons/hotel-black.png differ diff --git a/manufacturing_timesheet/static/description/assets/icons/license.png b/manufacturing_timesheet/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/icons/license.png differ diff --git a/manufacturing_timesheet/static/description/assets/icons/lifebuoy.png b/manufacturing_timesheet/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/icons/lifebuoy.png differ diff --git a/manufacturing_timesheet/static/description/assets/icons/manufacturing-black.png b/manufacturing_timesheet/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/icons/manufacturing-black.png differ diff --git a/manufacturing_timesheet/static/description/assets/icons/pos-black.png b/manufacturing_timesheet/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/icons/pos-black.png differ diff --git a/manufacturing_timesheet/static/description/assets/icons/puzzle.png b/manufacturing_timesheet/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/icons/puzzle.png differ diff --git a/manufacturing_timesheet/static/description/assets/icons/restaurant-black.png b/manufacturing_timesheet/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/icons/restaurant-black.png differ diff --git a/manufacturing_timesheet/static/description/assets/icons/service-black.png b/manufacturing_timesheet/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/icons/service-black.png differ diff --git a/manufacturing_timesheet/static/description/assets/icons/trading-black.png b/manufacturing_timesheet/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/icons/trading-black.png differ diff --git a/manufacturing_timesheet/static/description/assets/icons/training.png b/manufacturing_timesheet/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/icons/training.png differ diff --git a/manufacturing_timesheet/static/description/assets/icons/update.png b/manufacturing_timesheet/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/icons/update.png differ diff --git a/manufacturing_timesheet/static/description/assets/icons/user.png b/manufacturing_timesheet/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/icons/user.png differ diff --git a/manufacturing_timesheet/static/description/assets/icons/wrench.png b/manufacturing_timesheet/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/icons/wrench.png differ diff --git a/manufacturing_timesheet/static/description/assets/misc/Cybrosys R.png b/manufacturing_timesheet/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/misc/Cybrosys R.png differ diff --git a/manufacturing_timesheet/static/description/assets/misc/categories.png b/manufacturing_timesheet/static/description/assets/misc/categories.png new file mode 100644 index 000000000..bedf1e0b1 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/misc/categories.png differ diff --git a/manufacturing_timesheet/static/description/assets/misc/check-box.png b/manufacturing_timesheet/static/description/assets/misc/check-box.png new file mode 100644 index 000000000..42caf24b9 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/misc/check-box.png differ diff --git a/manufacturing_timesheet/static/description/assets/misc/compass.png b/manufacturing_timesheet/static/description/assets/misc/compass.png new file mode 100644 index 000000000..d5fed8faa Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/misc/compass.png differ diff --git a/manufacturing_timesheet/static/description/assets/misc/corporate.png b/manufacturing_timesheet/static/description/assets/misc/corporate.png new file mode 100644 index 000000000..2eb13edbf Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/misc/corporate.png differ diff --git a/manufacturing_timesheet/static/description/assets/misc/customer-support.png b/manufacturing_timesheet/static/description/assets/misc/customer-support.png new file mode 100644 index 000000000..79efc72ed Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/misc/customer-support.png differ diff --git a/manufacturing_timesheet/static/description/assets/misc/cybrosys-logo.png b/manufacturing_timesheet/static/description/assets/misc/cybrosys-logo.png new file mode 100644 index 000000000..cc3cc0ccf Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/misc/cybrosys-logo.png differ diff --git a/manufacturing_timesheet/static/description/assets/misc/email.svg b/manufacturing_timesheet/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/manufacturing_timesheet/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/manufacturing_timesheet/static/description/assets/misc/features.png b/manufacturing_timesheet/static/description/assets/misc/features.png new file mode 100644 index 000000000..b41769f77 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/misc/features.png differ diff --git a/manufacturing_timesheet/static/description/assets/misc/logo.png b/manufacturing_timesheet/static/description/assets/misc/logo.png new file mode 100644 index 000000000..478462d3e Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/misc/logo.png differ diff --git a/manufacturing_timesheet/static/description/assets/misc/phone.svg b/manufacturing_timesheet/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/manufacturing_timesheet/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/manufacturing_timesheet/static/description/assets/misc/pictures.png b/manufacturing_timesheet/static/description/assets/misc/pictures.png new file mode 100644 index 000000000..56d255fe9 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/misc/pictures.png differ diff --git a/manufacturing_timesheet/static/description/assets/misc/pie-chart.png b/manufacturing_timesheet/static/description/assets/misc/pie-chart.png new file mode 100644 index 000000000..426e05244 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/misc/pie-chart.png differ diff --git a/manufacturing_timesheet/static/description/assets/misc/right-arrow.png b/manufacturing_timesheet/static/description/assets/misc/right-arrow.png new file mode 100644 index 000000000..730984a06 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/misc/right-arrow.png differ diff --git a/manufacturing_timesheet/static/description/assets/misc/star (1) 2.svg b/manufacturing_timesheet/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/manufacturing_timesheet/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/manufacturing_timesheet/static/description/assets/misc/star.png b/manufacturing_timesheet/static/description/assets/misc/star.png new file mode 100644 index 000000000..2eb9ab29f Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/misc/star.png differ diff --git a/manufacturing_timesheet/static/description/assets/misc/support (1) 1.svg b/manufacturing_timesheet/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/manufacturing_timesheet/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/manufacturing_timesheet/static/description/assets/misc/support-email.svg b/manufacturing_timesheet/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/manufacturing_timesheet/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/manufacturing_timesheet/static/description/assets/misc/support.png b/manufacturing_timesheet/static/description/assets/misc/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/misc/support.png differ diff --git a/manufacturing_timesheet/static/description/assets/misc/tick-mark.svg b/manufacturing_timesheet/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/manufacturing_timesheet/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/manufacturing_timesheet/static/description/assets/misc/whatsapp 1.svg b/manufacturing_timesheet/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/manufacturing_timesheet/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/manufacturing_timesheet/static/description/assets/misc/whatsapp.png b/manufacturing_timesheet/static/description/assets/misc/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/misc/whatsapp.png differ diff --git a/manufacturing_timesheet/static/description/assets/misc/whatsapp.svg b/manufacturing_timesheet/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/manufacturing_timesheet/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/manufacturing_timesheet/static/description/assets/modules/1.jpg b/manufacturing_timesheet/static/description/assets/modules/1.jpg new file mode 100644 index 000000000..67c7f7062 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/modules/1.jpg differ diff --git a/manufacturing_timesheet/static/description/assets/modules/2.png b/manufacturing_timesheet/static/description/assets/modules/2.png new file mode 100644 index 000000000..3bedf7981 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/modules/2.png differ diff --git a/manufacturing_timesheet/static/description/assets/modules/3.png b/manufacturing_timesheet/static/description/assets/modules/3.png new file mode 100644 index 000000000..164eb62c7 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/modules/3.png differ diff --git a/manufacturing_timesheet/static/description/assets/modules/4.png b/manufacturing_timesheet/static/description/assets/modules/4.png new file mode 100644 index 000000000..d246d83ac Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/modules/4.png differ diff --git a/manufacturing_timesheet/static/description/assets/modules/5.jpg b/manufacturing_timesheet/static/description/assets/modules/5.jpg new file mode 100644 index 000000000..655cf38f5 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/modules/5.jpg differ diff --git a/manufacturing_timesheet/static/description/assets/modules/6.jpg b/manufacturing_timesheet/static/description/assets/modules/6.jpg new file mode 100644 index 000000000..1f3f2e27f Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/modules/6.jpg differ diff --git a/manufacturing_timesheet/static/description/assets/screenshots/hero.gif b/manufacturing_timesheet/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..c501d52f9 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/screenshots/hero.gif differ diff --git a/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_01.png b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_01.png new file mode 100644 index 000000000..bc8a68846 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_01.png differ diff --git a/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_02.png b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_02.png new file mode 100644 index 000000000..220821e8b Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_02.png differ diff --git a/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_03.png b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_03.png new file mode 100644 index 000000000..b90c9f952 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_03.png differ diff --git a/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_04.png b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_04.png new file mode 100644 index 000000000..59ae4cc77 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_04.png differ diff --git a/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_05.png b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_05.png new file mode 100644 index 000000000..c763191e5 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_05.png differ diff --git a/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_06.png b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_06.png new file mode 100644 index 000000000..e1a90ecb6 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_06.png differ diff --git a/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_07.png b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_07.png new file mode 100644 index 000000000..059f07eb6 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_07.png differ diff --git a/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_08.png b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_08.png new file mode 100644 index 000000000..7ec91f05e Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_08.png differ diff --git a/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_09.png b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_09.png new file mode 100644 index 000000000..344eba5e6 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_09.png differ diff --git a/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_10.png b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_10.png new file mode 100644 index 000000000..290d18af0 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_10.png differ diff --git a/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_11.png b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_11.png new file mode 100644 index 000000000..601719100 Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_11.png differ diff --git a/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_12.png b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_12.png new file mode 100644 index 000000000..1ea8f81ba Binary files /dev/null and b/manufacturing_timesheet/static/description/assets/screenshots/manufacturing_timesheet_12.png differ diff --git a/manufacturing_timesheet/static/description/banner.jpg b/manufacturing_timesheet/static/description/banner.jpg new file mode 100644 index 000000000..1c20843a2 Binary files /dev/null and b/manufacturing_timesheet/static/description/banner.jpg differ diff --git a/manufacturing_timesheet/static/description/icon.png b/manufacturing_timesheet/static/description/icon.png new file mode 100644 index 000000000..85217a2e5 Binary files /dev/null and b/manufacturing_timesheet/static/description/icon.png differ diff --git a/manufacturing_timesheet/static/description/index.html b/manufacturing_timesheet/static/description/index.html new file mode 100644 index 000000000..db57af11a --- /dev/null +++ b/manufacturing_timesheet/static/description/index.html @@ -0,0 +1,672 @@ + + + + + + + Manufacturing (MRP) Timesheet Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+
+
+
+

+ Manufacturing (MRP) Timesheet

+

+ Add Timesheet For Manufacturing. +

+
+ +
+
+
+
+
+

Key Highlights +

+
+
+
+
+
+ +
+
+

Timesheets for manufacturing.

+
+
+
+
+
+
+ +
+
+

Can choose employee from work order itself.

+
+
+
+
+
+
+ +
+
+

Using project and tasks makes it more easy.

+
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+

+ Enable Work Orders in the configuration settings of manufacturing to view work orders tab. +

+
+
+
+
+
+
+ +
+
+

+ If work order enabled, the Work order tab will be added. And there will be an option to choose the employee for the corresponding work order. +

+
+
+
+
+
+
+ +
+
+

+ Click on the start button of the work order. +

+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+

+ A project and task will be created to the corresponding manufacturing order and work order. There will a boolean field inside the project to identify it as manufacturing order. +

+
+
+
+
+
+
+ +
+
+

+ Inside the task,you can see the timesheet created in the name of employee that selected in the work order. +

+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+

+ If you click on the pause button of work order, the tracked time will be added to corresponding timesheet. +

+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+

+ If you click on the done button of work order, the tracked time will be added to corresponding timesheet. +

+
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+

+ There will be separate menu for the timesheet that related to the manufacturing orders. +

+
+
+
+
+
+
+
    +
  • + Timesheets for manufacturing. +
  • +
  • + Can choose employee from work order itself. +
  • +
  • + Using project and tasks makes it more easy. +
  • +
  • + A project will be created in the name of Manufacturing Order , and task will be created in the name of work order. The time tracking of the work order will be added as timesheet. +
  • +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:18 Jan 2024 +
+

+ + Initial commit for Manufacturing (MRP) Timesheet.

+
+
+
+
+
+
+
+

Related Products

+
+
+ +
+
+

Our Services

+ +
+
+
+
+
+
+
+
+ service-icon +
+
+

Odoo Customization

+
+
+
+
+
+
+ service-icon +
+
+

Odoo Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo Support

+
+
+
+
+
+
+ service-icon +
+
+

Hire Odoo Developer

+
+
+
+
+ +
+
+ service-icon +
+
+

Odoo Integration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo Migration

+
+
+
+
+
+
+ service-icon +
+
+

Odoo Consultancy

+
+
+
+
+
+
+ service-icon +
+
+

Odoo Implementation

+
+
+
+
+
+
+ service-icon +
+
+

Odoo Licensing Consultancy

+
+
+
+
+
+
+

Our Industries

+ +
+
+
+
+
+
+ +

Trading

+

Easily procure and sell your products

+
+
+
+
+ +

POS

+

Easy configuration and convivial experience

+
+
+
+
+ +

Education

+

A platform for educational management

+
+
+
+
+ +

Manufacturing

+

Plan, track and schedule your operations

+
+
+
+
+ +

E-commerce & Website

+

Mobile friendly, awe-inspiring product pages

+
+
+
+
+ +

Service Management

+

Keep track of services and invoice

+
+
+
+
+ +

Restaurant

+

Run your bar or restaurant methodically

+
+
+
+
+ +

Hotel Management

+

An all-inclusive hotel management application

+
+
+
+
+
+
+

Support

+
+
+
+
+
+
+
+ +
+ Need + Help? +

Got questions or need help? Get in touch.

+
odoo@cybrosys.com +
+
+
+
+
+
+
+
+ +
+ WhatsApp +

Say hi to us on WhatsApp!

+
+91 + 99456767686
+
+
+
+
+
+
+
+
+ + + + + + diff --git a/manufacturing_timesheet/views/account_analytic_line_views.xml b/manufacturing_timesheet/views/account_analytic_line_views.xml new file mode 100644 index 000000000..16d9767bf --- /dev/null +++ b/manufacturing_timesheet/views/account_analytic_line_views.xml @@ -0,0 +1,30 @@ + + + + + account.analytic.line.view.tree.inherit.manufacturing.timesheet + account.analytic.line + + + + + + + + + + + account.analytic.line.view.tree.inherit.manufacturing.timesheet + account.analytic.line + + + + + + + + \ No newline at end of file diff --git a/manufacturing_timesheet/views/mrp_production_views.xml b/manufacturing_timesheet/views/mrp_production_views.xml new file mode 100644 index 000000000..9dfe64711 --- /dev/null +++ b/manufacturing_timesheet/views/mrp_production_views.xml @@ -0,0 +1,76 @@ + + + + + mrp.production.view.form.inherit.manufacturing.timesheet + mrp.production + + + + + + + + + + + + + + + + + + + + + + + + + + +