diff --git a/simple_mrp_order/README.rst b/simple_mrp_order/README.rst new file mode 100644 index 000000000..af81e2060 --- /dev/null +++ b/simple_mrp_order/README.rst @@ -0,0 +1,59 @@ +.. image:: https://img.shields.io/badge/license-LGPL--3-green.svg + :target: https://www.gnu.org/licenses/lgpl-3.0-standalone.html + :alt: License: LGPL-3 + +Simple Manufacturing Orders +=========================== +This module will help you to create manufacturing order in few steps. + +Configuration +============= +- For the user who needs access to this module, select 'Administrator' under the 'Simple Manufacturing' category. + +Features +======== +* Warning will appear if the quantity is not available + +Installation +============ +- www.odoo.com/documentation/17.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 `__ + +Credits +------- +* Developer: + (V14) Mehjabin Farsana, + (V15) Pranav T V, + (V16) Pranav T V, + (V17) Mruthul Raj + 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: ``__ diff --git a/simple_mrp_order/__init__.py b/simple_mrp_order/__init__.py new file mode 100644 index 000000000..1fa86d171 --- /dev/null +++ b/simple_mrp_order/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mruthul Raj() +# +# 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 . +# +############################################################################# +from . import models diff --git a/simple_mrp_order/__manifest__.py b/simple_mrp_order/__manifest__.py new file mode 100644 index 000000000..3e010c25f --- /dev/null +++ b/simple_mrp_order/__manifest__.py @@ -0,0 +1,49 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mruthul Raj() +# +# 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 . +# +############################################################################# +{ + 'name': 'Simple Manufacturing Orders', + 'version': '17.0.1.0.0', + 'category': 'Manufacturing', + 'summary': 'Create Manufacturing Orders Easily', + 'description': """This module allow you to create manufacturing orders + with out taking the work orders or work centers.""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.cybrosys.com', + 'depends': ['mail', 'stock'], + 'data': [ + 'security/simple_mrp_order_security.xml', + 'security/ir.model.access.csv', + 'data/ir_sequence_data.xml', + 'data/stock_location_data.xml', + 'views/mrp_order_views.xml', + 'views/simple_mrp_bom_views.xml', + 'views/product_product_views.xml', + 'views/product_template_views.xml', + ], + 'images': ['static/description/banner.jpg'], + 'license': 'LGPL-3', + 'installable': True, + 'auto_install': False, + 'application': True, +} diff --git a/simple_mrp_order/data/ir_sequence_data.xml b/simple_mrp_order/data/ir_sequence_data.xml new file mode 100644 index 000000000..b6febd203 --- /dev/null +++ b/simple_mrp_order/data/ir_sequence_data.xml @@ -0,0 +1,14 @@ + + + + + + Simple MRP + mrp.order + MRP/ + 5 + 1 + 1 + + + diff --git a/simple_mrp_order/data/stock_location_data.xml b/simple_mrp_order/data/stock_location_data.xml new file mode 100644 index 000000000..2da0bf1c3 --- /dev/null +++ b/simple_mrp_order/data/stock_location_data.xml @@ -0,0 +1,13 @@ + + + + + + Simple Production + + inventory + + + + diff --git a/simple_mrp_order/doc/RELEASE_NOTES.md b/simple_mrp_order/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..f894e4e5e --- /dev/null +++ b/simple_mrp_order/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 04.03.2024 +#### Version 17.0.1.0.0 +##### ADD +- Initial commit for Simple Manufacturing Orders diff --git a/simple_mrp_order/models/__init__.py b/simple_mrp_order/models/__init__.py new file mode 100644 index 000000000..bc123d5f7 --- /dev/null +++ b/simple_mrp_order/models/__init__.py @@ -0,0 +1,25 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mruthul Raj() +# +# 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 . +# +############################################################################# +from . import mrp_order +from . import simple_mrp_bom +from . import simple_mrp_bom_line +from . import mrp_order_line diff --git a/simple_mrp_order/models/mrp_order.py b/simple_mrp_order/models/mrp_order.py new file mode 100644 index 000000000..5493ed8dc --- /dev/null +++ b/simple_mrp_order/models/mrp_order.py @@ -0,0 +1,263 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mruthul Raj() +# +# 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 . +# +############################################################################# +from odoo import api, models, fields, _ +from odoo.exceptions import ValidationError + + +class MRPOrder(models.Model): + """Creates the model named mrp.order""" + _name = 'mrp.order' + _description = "Manufacturing Order" + _inherit = ["mail.thread", "mail.activity.mixin"] + + @api.model + def _get_default_location_src_id(self): + """"Method _get_default_location_src_id to assign the value to the field + location_src_id by default""" + location = False + company_id = self.env.context.get('default_company_id', + self.env.company.id) + if self.env.context.get('default_picking_type_id'): + location = self.env['stock.picking.type'].browse(self.env.context[ + 'default_picking_type_id']).default_location_src_id + if not location: + location = self.env['stock.warehouse'].search( + [('company_id', '=', company_id)], limit=1).lot_stock_id + return location and location.id or False + + location_src_id = fields.Many2one('stock.location', + default=_get_default_location_src_id, + string='Default Location', + help='Default source location of the ' + 'mrp order') + product_id = fields.Many2one('product.product', string="Product", + required=True, domain="""[ + ('type', 'in', ['product', 'consu']),'|',('company_id', '=', False), + ('company_id', '=', company_id)]""", help='Product to be created') + name = fields.Char( + string='Reference', copy=False, readonly=True, + default=lambda x: _('New'), help='Name of the MRP order') + product_qty = fields.Float(string="Quantity To Manufacture", default=1.0, + tracking=True, + help='Quantity of the product to manufacture') + user_id = fields.Many2one('res.users', string='Responsible', + default=lambda self: self.env.user, + states={'done': [('readonly', True)]}, + help='User responsible for the mrp order') + company_id = fields.Many2one('res.company', string='Company', + default=lambda self: self.env.company, + index=True, required=True, + help='Company corresponding to the order') + uom_id = fields.Many2one('uom.uom', string='Product Unit of Measure', + required=True, + help='Unit of Measurement of the product to ' + 'manufacture') + uom_categ_id = fields.Many2one(related='product_id.uom_id.category_id') + date_planned = fields.Datetime('Scheduled Date', copy=False, + default=fields.Datetime.now, + help="Date at which production start.", + index=True, required=True) + bom_id = fields.Many2one('simple.mrp.bom', string="Bills of Material", + help='Bill of Material of the product') + line_ids = fields.One2many('mrp.order.line', 'mrp_id', string="Components", + help='Components needed to create the product') + stock_line_ids = fields.One2many('stock.move', 'mrp_id', string='Products', + help='Stock move lines of the mrp order') + stock_move_id = fields.Many2one('stock.move', string='Stock Move', + help='Stock move of the mrp order') + state = fields.Selection([ + ('draft', 'Draft'), + ('confirmed', 'Confirmed'), + ('done', 'Done'), + ('cancel', 'Cancelled')], string='State', + copy=False, index=True, readonly=True, + store=True, tracking=True, default='draft', + help='State of the mrp order') + + @api.onchange('product_id') + def onchange_product_id(self): + """ Update the Uom for the product """ + self.uom_id = self.product_id.uom_id.id + bom_id = self.env['simple.mrp.bom'].search([ + ('product_id', '=', self.product_id.id) + ], limit=1) + if self.product_id: + self.bom_id = bom_id or False + + @api.onchange('uom_id') + def _onchange_uom_id(self): + """ Update the Uom for the product """ + multiple = 1 + if self.uom_id.uom_type == 'bigger': + multiple = self.uom_id.factor_inv + elif self.uom_id.uom_type == 'smaller': + multiple = 1 / self.uom_id.factor + self.stock_line_ids = False + self.line_ids = False + vals = [] + for rec in self.bom_id.line_ids: + vals.append((0, 0, { + 'product_id': rec.product_id.id, + 'product_qty': rec.product_qty * self.product_qty * multiple, + 'uom_id': rec.uom_id.id, + })) + self.line_ids = vals + destination = self.env.ref('simple_mrp_order.location_simple_mrp') + for line in self.bom_id.line_ids: + val = { + 'product_id': line.product_id.id, + 'product_uom_qty': line.product_qty * self.product_qty * multiple, + 'name': line.product_id.name, + 'company_id': self.company_id.id, + 'location_id': self.location_src_id.id, + 'location_dest_id': destination.id, + 'product_uom': line.uom_id.id, + 'state': 'draft', + 'product_uom_category_id': line.uom_id.category_id, + } + self.stock_line_ids = [fields.Command.create(val)] + + @api.model + def create(self, vals): + """Supering the already existing create method to add the sequence + for the mrp order""" + location_id = self.env['stock.warehouse'].search( + [('company_id', '=', self.env.company.id)], limit=1).lot_stock_id.id + destination_id = self.env.ref('simple_mrp_order.location_simple_mrp').id + if vals.get('stock_line_ids'): + for item in vals.get('stock_line_ids'): + product_name = self.env['product.product'].browse( + item[2].get('product_id')).name + item[2]['location_id'] = location_id + item[2]['location_dest_id'] = destination_id + item[2]['name'] = product_name + if "name" not in vals or vals["name"] == _("New"): + vals["name"] = self.env["ir.sequence"].next_by_code( + "mrp.order" + ) or _("New") + return super().create(vals) + + @api.onchange('bom_id', 'product_qty') + def onchange_bom_id(self): + """ Update the Components for the MRP Order """ + self.line_ids = False + self.stock_line_ids = False + self.product_id = self.bom_id.product_id.id + vals = [] + for line in self.bom_id.line_ids: + vals.append((0, 0, { + 'product_id': line.product_id.id, + 'product_qty': line.product_qty * self.product_qty, + 'uom_id': line.uom_id.id, + })) + val = [] + destination = self.env.ref('simple_mrp_order.location_simple_mrp') + for line in self.bom_id.line_ids: + val.append((0, 0, { + 'product_id': line.product_id.id, + 'product_uom_qty': line.product_qty * self.product_qty, + 'name': line.product_id.name, + 'company_id': self.company_id.id, + 'location_id': self.location_src_id.id, + 'location_dest_id': destination.id, + 'product_uom': line.uom_id.id, + 'state': 'draft', + 'product_uom_category_id': line.uom_id.category_id, + 'quantity': self.product_qty, + 'picked': True + })) + self.stock_line_ids = val + self.line_ids = vals + if self.bom_id: + self.uom_id.category_id = self.uom_categ_id.id + + def action_confirm(self): + """Method action_confirm to confirm the mrp order""" + for line in self.stock_line_ids: + if line.product_qty > line.product_id.qty_available and line.product_id.type == 'product': + raise ValidationError('Only %s quantity available for %s' % + (str(line.product_id.qty_available), + str(line.product_id.name))) + self.write({ + 'state': 'confirmed', + }) + + def action_done(self): + """Method action_done to make the mrp order done""" + self.write({ + 'state': 'done' + }) + for move in self.stock_line_ids: + move._action_confirm() + move._action_assign() + move.move_line_ids.write({'quantity': move.product_uom_qty}) + move.picked = True + move._action_done() + source = self.env.ref('simple_mrp_order.location_simple_mrp') + move_id = self.env['stock.move'].create({ + 'product_id': self.product_id.id, + 'product_uom_qty': self.product_qty, + 'name': self.product_id.name, + 'company_id': self.company_id.id, + 'location_id': source.id, + 'location_dest_id': self.location_src_id.id, + 'product_uom': self.uom_id.id, + 'state': 'draft', + 'product_uom_category_id': self.uom_id.category_id, + 'origin': self.name, + 'quantity': self.product_qty, + 'picked': True + }) + move_id._action_confirm() + move_id._action_assign() + move_id.move_line_ids.write({'quantity': move_id.product_uom_qty}) + move_id._action_done() + self.stock_move_id = move_id + + def action_cancel(self): + """Method action_cancel to cancel the mrp order""" + self.write({ + 'state': 'cancel' + }) + + def action_view_move(self): + """Method action_view_move to view the stock moves from the smart + button""" + ids = [stock.id for stock in self.stock_line_ids] + ids.append(self.stock_move_id.id) + return { + 'type': 'ir.actions.act_window', + 'res_model': 'stock.move', + 'domain': [('id', 'in', ids)], + 'name': _("Product Stock Move"), + 'target': 'current', + 'view_mode': 'tree', + } + + +class StockMove(models.Model): + """Inherits the already existing model stock.move to add mrp_id field to the + model for the working of this module""" + _inherit = 'stock.move' + + mrp_id = fields.Many2one('mrp.order', string="MRP Order", + help="MRP Order related to the stock move") diff --git a/simple_mrp_order/models/mrp_order_line.py b/simple_mrp_order/models/mrp_order_line.py new file mode 100644 index 000000000..3d6500766 --- /dev/null +++ b/simple_mrp_order/models/mrp_order_line.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mruthul Raj() +# +# 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 . +# +############################################################################# +from odoo import fields, models + + +class MRPOrderLine(models.Model): + """Creates the model mrp.order.line """ + _name = 'mrp.order.line' + _description = "Bills of Materials Components" + _inherit = ["mail.thread", "mail.activity.mixin"] + + product_id = fields.Many2one('product.product', string="Product", + help="Component Product", + required=True) + product_qty = fields.Float(string="Quantity", default=1.0, tracking=True, + help="Quantity of products to be consumed") + uom_id = fields.Many2one('uom.uom', string='Product Unit of Measure', + required=True, + help="Unit of Measure of the product to be " + "consumed") + mrp_id = fields.Many2one('mrp.order', string='MRP Order', + help="MRP Order of the product") diff --git a/simple_mrp_order/models/simple_mrp_bom.py b/simple_mrp_order/models/simple_mrp_bom.py new file mode 100644 index 000000000..93a4bd8a4 --- /dev/null +++ b/simple_mrp_order/models/simple_mrp_bom.py @@ -0,0 +1,50 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mruthul Raj() +# +# 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 . +# +############################################################################# +from odoo import api, fields, models + + +class SimpleMRPBom(models.Model): + """Creates the model simple.mrp.bom""" + _name = 'simple.mrp.bom' + _description = "Bills of Materials" + _inherit = ["mail.thread", "mail.activity.mixin"] + _rec_name = 'product_id' + + product_id = fields.Many2one('product.product', string="Product", + required=True, help="Name of the product") + product_qty = fields.Float(string="Quantity", default=1.0, tracking=True, + help="Quantity of products") + uom_id = fields.Many2one('uom.uom', string='Product Unit of Measure', + required=True, + help="Unit of measurement for product") + company_id = fields.Many2one('res.company', string='Company', + default=lambda self: self.env.company, + index=True, required=True, + help="Company corresponding to the product") + line_ids = fields.One2many('simple.mrp.bom.line', 'bom_id', + string="Components", + help="Components used to create the product") + + @api.onchange('product_id') + def onchange_product_id(self): + """ Update the Uom for the product """ + self.uom_id = self.product_id.uom_id.id diff --git a/simple_mrp_order/models/simple_mrp_bom_line.py b/simple_mrp_order/models/simple_mrp_bom_line.py new file mode 100644 index 000000000..685ea588c --- /dev/null +++ b/simple_mrp_order/models/simple_mrp_bom_line.py @@ -0,0 +1,44 @@ +# -*- coding: utf-8 -*- +############################################################################# +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Mruthul Raj() +# +# 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 . +# +############################################################################# +from odoo import api, models, fields + + +class SimpleMRPBomLine(models.Model): + """Creates the model simple.mrp.bom line""" + _name = 'simple.mrp.bom.line' + _description = "Bills of Materials Components" + _inherit = ["mail.thread", "mail.activity.mixin"] + + product_id = fields.Many2one('product.product', string="Product", + required=True, help="Product Name") + product_qty = fields.Float(string="Quantity", default=1.0, tracking=True, + help="Quantity of products") + uom_id = fields.Many2one('uom.uom', string='Product Unit of Measure', + required=True, + help="Unit of measure of the product") + bom_id = fields.Many2one('simple.mrp.bom', string="Bill of Material", + help="Corresponding Bill of Material") + + @api.onchange('product_id') + def onchange_product_id(self): + """ Update the Uom for the product """ + self.uom_id = self.product_id.uom_id.id diff --git a/simple_mrp_order/security/ir.model.access.csv b/simple_mrp_order/security/ir.model.access.csv new file mode 100644 index 000000000..028cbe474 --- /dev/null +++ b/simple_mrp_order/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_mrp_order_user,access.mrp.order.user,model_mrp_order,simple_mrp_order.simple_mrp_order_group_manager,1,1,1,1 +access_simple_mrp_bom_user,access.simple.mrp.bom.user,model_simple_mrp_bom,simple_mrp_order.simple_mrp_order_group_manager,1,1,1,1 +access_simple_mrp_bom_line_user,access.simple.mrp.bom.line.user,model_simple_mrp_bom_line,simple_mrp_order.simple_mrp_order_group_manager,1,1,1,1 +access_mrp_order_line_user,access.mrp.order.line.user,model_mrp_order_line,simple_mrp_order.simple_mrp_order_group_manager,1,1,1,1 diff --git a/simple_mrp_order/security/simple_mrp_order_security.xml b/simple_mrp_order/security/simple_mrp_order_security.xml new file mode 100644 index 000000000..7921e2bd5 --- /dev/null +++ b/simple_mrp_order/security/simple_mrp_order_security.xml @@ -0,0 +1,34 @@ + + + + + Simple Manufacturing + + + + + Administrator + + + + + MRP Order multi company rule + + + + ['|',('company_id','=',False),('company_id', + 'in', company_ids)] + + + + + Simple MRP BOM multi company rule + + + + ['|',('company_id','=',False),('company_id', + 'in', company_ids)] + + + diff --git a/simple_mrp_order/static/description/assets/icons/capture (1).png b/simple_mrp_order/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/simple_mrp_order/static/description/assets/icons/capture (1).png differ diff --git a/simple_mrp_order/static/description/assets/icons/check.png b/simple_mrp_order/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/simple_mrp_order/static/description/assets/icons/check.png differ diff --git a/simple_mrp_order/static/description/assets/icons/chevron.png b/simple_mrp_order/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/simple_mrp_order/static/description/assets/icons/chevron.png differ diff --git a/simple_mrp_order/static/description/assets/icons/cogs.png b/simple_mrp_order/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/simple_mrp_order/static/description/assets/icons/cogs.png differ diff --git a/simple_mrp_order/static/description/assets/icons/consultation.png b/simple_mrp_order/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/simple_mrp_order/static/description/assets/icons/consultation.png differ diff --git a/simple_mrp_order/static/description/assets/icons/ecom-black.png b/simple_mrp_order/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/simple_mrp_order/static/description/assets/icons/ecom-black.png differ diff --git a/simple_mrp_order/static/description/assets/icons/education-black.png b/simple_mrp_order/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/simple_mrp_order/static/description/assets/icons/education-black.png differ diff --git a/simple_mrp_order/static/description/assets/icons/hotel-black.png b/simple_mrp_order/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/simple_mrp_order/static/description/assets/icons/hotel-black.png differ diff --git a/simple_mrp_order/static/description/assets/icons/img.png b/simple_mrp_order/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/simple_mrp_order/static/description/assets/icons/img.png differ diff --git a/simple_mrp_order/static/description/assets/icons/license.png b/simple_mrp_order/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/simple_mrp_order/static/description/assets/icons/license.png differ diff --git a/simple_mrp_order/static/description/assets/icons/lifebuoy.png b/simple_mrp_order/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/simple_mrp_order/static/description/assets/icons/lifebuoy.png differ diff --git a/simple_mrp_order/static/description/assets/icons/manufacturing-black.png b/simple_mrp_order/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/simple_mrp_order/static/description/assets/icons/manufacturing-black.png differ diff --git a/simple_mrp_order/static/description/assets/icons/photo-capture.png b/simple_mrp_order/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/simple_mrp_order/static/description/assets/icons/photo-capture.png differ diff --git a/simple_mrp_order/static/description/assets/icons/pos-black.png b/simple_mrp_order/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/simple_mrp_order/static/description/assets/icons/pos-black.png differ diff --git a/simple_mrp_order/static/description/assets/icons/puzzle.png b/simple_mrp_order/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/simple_mrp_order/static/description/assets/icons/puzzle.png differ diff --git a/simple_mrp_order/static/description/assets/icons/restaurant-black.png b/simple_mrp_order/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/simple_mrp_order/static/description/assets/icons/restaurant-black.png differ diff --git a/simple_mrp_order/static/description/assets/icons/service-black.png b/simple_mrp_order/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/simple_mrp_order/static/description/assets/icons/service-black.png differ diff --git a/simple_mrp_order/static/description/assets/icons/trading-black.png b/simple_mrp_order/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/simple_mrp_order/static/description/assets/icons/trading-black.png differ diff --git a/simple_mrp_order/static/description/assets/icons/training.png b/simple_mrp_order/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/simple_mrp_order/static/description/assets/icons/training.png differ diff --git a/simple_mrp_order/static/description/assets/icons/update.png b/simple_mrp_order/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/simple_mrp_order/static/description/assets/icons/update.png differ diff --git a/simple_mrp_order/static/description/assets/icons/user.png b/simple_mrp_order/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/simple_mrp_order/static/description/assets/icons/user.png differ diff --git a/simple_mrp_order/static/description/assets/icons/wrench.png b/simple_mrp_order/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/simple_mrp_order/static/description/assets/icons/wrench.png differ diff --git a/simple_mrp_order/static/description/assets/misc/Cybrosys R.png b/simple_mrp_order/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/simple_mrp_order/static/description/assets/misc/Cybrosys R.png differ diff --git a/simple_mrp_order/static/description/assets/misc/email.svg b/simple_mrp_order/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/simple_mrp_order/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/simple_mrp_order/static/description/assets/misc/phone.svg b/simple_mrp_order/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/simple_mrp_order/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/simple_mrp_order/static/description/assets/misc/star (1) 2.svg b/simple_mrp_order/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/simple_mrp_order/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/simple_mrp_order/static/description/assets/misc/support (1) 1.svg b/simple_mrp_order/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/simple_mrp_order/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/simple_mrp_order/static/description/assets/misc/support-email.svg b/simple_mrp_order/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/simple_mrp_order/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/simple_mrp_order/static/description/assets/misc/tick-mark.svg b/simple_mrp_order/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/simple_mrp_order/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/simple_mrp_order/static/description/assets/misc/whatsapp 1.svg b/simple_mrp_order/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/simple_mrp_order/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/simple_mrp_order/static/description/assets/misc/whatsapp.svg b/simple_mrp_order/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/simple_mrp_order/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/simple_mrp_order/static/description/assets/modules/m1.png b/simple_mrp_order/static/description/assets/modules/m1.png new file mode 100644 index 000000000..acb4c76c6 Binary files /dev/null and b/simple_mrp_order/static/description/assets/modules/m1.png differ diff --git a/simple_mrp_order/static/description/assets/modules/m2.png b/simple_mrp_order/static/description/assets/modules/m2.png new file mode 100644 index 000000000..3ef91f771 Binary files /dev/null and b/simple_mrp_order/static/description/assets/modules/m2.png differ diff --git a/simple_mrp_order/static/description/assets/modules/m3.png b/simple_mrp_order/static/description/assets/modules/m3.png new file mode 100644 index 000000000..72febf6ae Binary files /dev/null and b/simple_mrp_order/static/description/assets/modules/m3.png differ diff --git a/simple_mrp_order/static/description/assets/modules/m4.png b/simple_mrp_order/static/description/assets/modules/m4.png new file mode 100644 index 000000000..f7d7f9241 Binary files /dev/null and b/simple_mrp_order/static/description/assets/modules/m4.png differ diff --git a/simple_mrp_order/static/description/assets/modules/m5.png b/simple_mrp_order/static/description/assets/modules/m5.png new file mode 100644 index 000000000..1d3324e88 Binary files /dev/null and b/simple_mrp_order/static/description/assets/modules/m5.png differ diff --git a/simple_mrp_order/static/description/assets/modules/m6.png b/simple_mrp_order/static/description/assets/modules/m6.png new file mode 100644 index 000000000..80938c15a Binary files /dev/null and b/simple_mrp_order/static/description/assets/modules/m6.png differ diff --git a/simple_mrp_order/static/description/assets/screenshots/1.png b/simple_mrp_order/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..5aac1dc98 Binary files /dev/null and b/simple_mrp_order/static/description/assets/screenshots/1.png differ diff --git a/simple_mrp_order/static/description/assets/screenshots/2.png b/simple_mrp_order/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..20a05aeae Binary files /dev/null and b/simple_mrp_order/static/description/assets/screenshots/2.png differ diff --git a/simple_mrp_order/static/description/assets/screenshots/3.png b/simple_mrp_order/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..865dfbc4d Binary files /dev/null and b/simple_mrp_order/static/description/assets/screenshots/3.png differ diff --git a/simple_mrp_order/static/description/assets/screenshots/configuration.png b/simple_mrp_order/static/description/assets/screenshots/configuration.png new file mode 100644 index 000000000..ecd1a3d10 Binary files /dev/null and b/simple_mrp_order/static/description/assets/screenshots/configuration.png differ diff --git a/simple_mrp_order/static/description/assets/screenshots/hero.gif b/simple_mrp_order/static/description/assets/screenshots/hero.gif new file mode 100644 index 000000000..146867b90 Binary files /dev/null and b/simple_mrp_order/static/description/assets/screenshots/hero.gif differ diff --git a/simple_mrp_order/static/description/banner.jpg b/simple_mrp_order/static/description/banner.jpg new file mode 100644 index 000000000..79c554ae3 Binary files /dev/null and b/simple_mrp_order/static/description/banner.jpg differ diff --git a/simple_mrp_order/static/description/icon.png b/simple_mrp_order/static/description/icon.png new file mode 100644 index 000000000..9b8c0320f Binary files /dev/null and b/simple_mrp_order/static/description/icon.png differ diff --git a/simple_mrp_order/static/description/index.html b/simple_mrp_order/static/description/index.html new file mode 100644 index 000000000..d883395d7 --- /dev/null +++ b/simple_mrp_order/static/description/index.html @@ -0,0 +1,741 @@ + + + + + + + Odoo App 3 Index + + + + + + + + +
+
+
+
+
+ +
+
+
+ Community +
+
+
+
+
+
+

+ Simple Manufacturing Order

+

+ Create Manufacturing orders easily in few steps. +

+
+ +
+
+
+
+
+

+ Key Highlights +

+
+
+
+
+
+ +
+
+

+ Community Support

+

Available in + Odoo 17.0 Community. +

+
+
+
+
+
+
+ +
+
+

+ Create Bill of material.

+

Can create the + bill of materials for the products. +

+
+
+
+
+
+
+ +
+
+

+ Can create + manufacturing order.

+

Can create + manufacturing order for the products. +

+
+
+
+
+
+
+ +
+
+

+ Warning on low stock.

+

Warning on the + low stock product when the product to be + consumed has low quantities +

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

+ For the user who needs access to this module, select 'Administrator' under the 'Simple Manufacturing' category.

+
+
+
+
+
+
+ +
+
+

+ Create a Bill of Material for a product with + the components.

+
+
+
+
+
+
+ +
+
+

+ Create a manufacturing order for the product + with bill of material.

+
+
+
+
+
+
+ +
+
+

+ Warning message for low stock product and + will show details like available stock.

+
+
+
+
+
+
+
    +
  • + Community + Support +
  • +
  • + Create Bill of + material. +
  • +
  • + Can create + manufacturing order. +
  • +
  • + Warning on low + stock. +
  • + +
+
+
+
+
+
+
Version + 17.0.1.0.0|Released on:19th Feb 2024 +
+

+ Initial commit for Simple Manufacturing + Order.

+
+
+
+
+
+
+
+

+ 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/simple_mrp_order/views/mrp_order_views.xml b/simple_mrp_order/views/mrp_order_views.xml new file mode 100644 index 000000000..08002c136 --- /dev/null +++ b/simple_mrp_order/views/mrp_order_views.xml @@ -0,0 +1,116 @@ + + + + + mrp.order.view.form + mrp.order + +
+
+
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + +
+
+
+
+ + + mrp.order.view.tree + mrp.order + + + + + + + + + + + + Manufacturing Orders + ir.actions.act_window + mrp.order + tree,form + +

+ Create a new Manufacturing Order +

+
+
+ + + + +
diff --git a/simple_mrp_order/views/product_product_views.xml b/simple_mrp_order/views/product_product_views.xml new file mode 100644 index 000000000..d5f08373f --- /dev/null +++ b/simple_mrp_order/views/product_product_views.xml @@ -0,0 +1,27 @@ + + + + + Product Variants + product.product + tree,form,kanban + {"search_default_consumable": 1, 'default_type': + 'product'} + + +

+ No product found. Let's create one! +

+

+ Define the components and finished products you wish to use in + bill of materials and manufacturing orders. +

+
+
+ + +
diff --git a/simple_mrp_order/views/product_template_views.xml b/simple_mrp_order/views/product_template_views.xml new file mode 100644 index 000000000..c4acb6a10 --- /dev/null +++ b/simple_mrp_order/views/product_template_views.xml @@ -0,0 +1,27 @@ + + + + + Products + product.template + kanban,tree,form + {"search_default_consumable": 1, 'default_type': + 'product'} + + +

+ No product found. Let's create one! +

+

+ Define the components and finished products you wish to use in + bill of materials and manufacturing orders. +

+
+
+ + +
diff --git a/simple_mrp_order/views/simple_mrp_bom_views.xml b/simple_mrp_order/views/simple_mrp_bom_views.xml new file mode 100644 index 000000000..73a3c6d3f --- /dev/null +++ b/simple_mrp_order/views/simple_mrp_bom_views.xml @@ -0,0 +1,63 @@ + + + + + simple.mrp.bom.view.form + simple.mrp.bom + +
+ + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+
+
+ + + Bills of Materials + ir.actions.act_window + simple.mrp.bom + tree,form + +

+ Create a new Bills of Materials +

+
+
+ + + + +