diff --git a/pos_mrp_order/README.rst b/pos_mrp_order/README.rst new file mode 100644 index 000000000..a340cdedc --- /dev/null +++ b/pos_mrp_order/README.rst @@ -0,0 +1,54 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Make MRP Orders from POS +======================== +This module enables to create automatic MRP orders after selling through POS. + +Configuration +============= +* No additional configurations needed. + +Company +------- +* `Cybrosys Techno Solutions `__ + +License +------- +Affero General Public License, Version 3 (AGPL v3) +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Credits +------- +* Developers : (V10) Nikhil Krishnan, + (V12) Akshay Babu, + (V13) Vaishnavi B, + (V14) Sagarika B, + (V15) Sagarika B, + (V16) Athira Premanand, + (V17) Aysha Shalin, + (V18) Gayathri V, + 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/pos_mrp_order/__init__.py b/pos_mrp_order/__init__.py new file mode 100644 index 000000000..d841177af --- /dev/null +++ b/pos_mrp_order/__init__.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Gayathri V (odoo@cybrosys.com) +# +# 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/pos_mrp_order/__manifest__.py b/pos_mrp_order/__manifest__.py new file mode 100644 index 000000000..dc5bec886 --- /dev/null +++ b/pos_mrp_order/__manifest__.py @@ -0,0 +1,48 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Gayathri V (odoo@cybrosys.com) +# +# 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': 'Make MRP Orders from POS', + 'version': '18.0.1.0.0', + 'category': 'Point of Sale', + 'summary': """Generate Automatic MRP orders from POS.""", + 'description': """This module enables to create automatic MRP orders after + selling through POS.""", + 'author': 'Cybrosys Techno Solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': "https://www.cybrosys.com", + 'depends': ['point_of_sale', 'mrp', 'stock'], + 'data': [ + 'security/ir.model.access.csv', + 'views/product_template_views.xml', + ], + 'assets': { + 'point_of_sale._assets_pos': [ + 'pos_mrp_order/static/src/overrides/components/payment_screen/payment_screen.js', + ], + }, + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False +} diff --git a/pos_mrp_order/doc/RELEASE_NOTES.md b/pos_mrp_order/doc/RELEASE_NOTES.md new file mode 100644 index 000000000..248b7882d --- /dev/null +++ b/pos_mrp_order/doc/RELEASE_NOTES.md @@ -0,0 +1,6 @@ +## Module + +#### 29.10.2024 +#### Version 18.0.1.0.0 +##### ADD +- Initial commit for Make MRP Orders from POS diff --git a/pos_mrp_order/models/__init__.py b/pos_mrp_order/models/__init__.py new file mode 100644 index 000000000..6086c5fa1 --- /dev/null +++ b/pos_mrp_order/models/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Gayathri V (odoo@cybrosys.com) +# 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 mrp_production +from . import product_template +from . import product_product diff --git a/pos_mrp_order/models/mrp_production.py b/pos_mrp_order/models/mrp_production.py new file mode 100644 index 000000000..bb09880b5 --- /dev/null +++ b/pos_mrp_order/models/mrp_production.py @@ -0,0 +1,106 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies( +# Author: Gayathri V (odoo@cybrosys.com) +# +# 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 models + + +class MrpProduction(models.Model): + """ Extends MRP Production model for creating manufacturing orders from POS + orders.""" + _inherit = 'mrp.production' + + def create_mrp_from_pos(self, products): + """ Function for creating manufacturing orders.""" + product_ids = [] + if products: + for product in products: + if self.env['product.product'].browse( + int(product['id'])).to_make_mrp: + flag = 1 + if product_ids: + for product_id in product_ids: + if product_id['id'] == product['id']: + product_id['qty'] += product['qty'] + product_id + flag = 0 + if flag: + product_ids.append(product) + for prod in product_ids: + if prod['qty'] > 0: + bom_count = self.env['mrp.bom'].search([ + ('product_id', '=', prod['id'])]) + if bom_count: + bom_temp = self.env['mrp.bom'].search([ + ('product_id', '=', prod['id']), + ('product_id', '=', False)]) + bom_prod = self.env['mrp.bom'].search([ + ('product_id', '=', prod['id'])]) + if bom_prod: + bom = bom_prod[0] + elif bom_temp: + bom = bom_temp[0] + else: + bom = [] + if bom: + vals = { + 'origin': 'POS-' + prod['pos_reference'], + 'state': 'confirmed', + 'product_id': prod['id'], + 'product_uom_id': prod['uom_id'], + 'product_qty': prod['qty'], + 'bom_id': bom.id, + } + mrp_order = self.sudo().create(vals) + list_value = [] + for bom_line in mrp_order.bom_id.bom_line_ids: + list_value.append((0, 0, { + 'raw_material_production_id': mrp_order.id, + 'name': mrp_order.name, + 'product_id': bom_line.product_id.id, + 'product_uom': bom_line.product_uom_id.id, + 'product_uom_qty': (bom_line.product_qty * mrp_order.product_qty)/self.env['mrp.bom'].search([("product_id", "=", prod['id'])]).product_qty, + 'picking_type_id': mrp_order.picking_type_id.id, + 'location_id': mrp_order.location_src_id.id, + 'location_dest_id': bom_line.product_id.with_company(self.company_id.id).property_stock_production.id, + 'company_id': mrp_order.company_id.id, + })) + finished_vals = { + 'product_id': prod['id'], + 'product_uom_qty': prod['qty'], + 'product_uom': prod['uom_id'], + 'name': mrp_order.name, + 'date_deadline': mrp_order.date_deadline, + 'picking_type_id': mrp_order.picking_type_id.id, + 'location_id': mrp_order.location_src_id.id, + 'location_dest_id': mrp_order.location_dest_id.id, + 'company_id': mrp_order.company_id.id, + 'production_id': mrp_order.id, + 'warehouse_id': mrp_order.location_dest_id.warehouse_id.id, + 'origin': mrp_order.name, + 'group_id': mrp_order.procurement_group_id.id, + 'propagate_cancel': mrp_order.propagate_cancel, + } + mrp_order.update({ + 'move_raw_ids': list_value, + 'move_finished_ids': [ + (0, 0, finished_vals)] + }) + return True diff --git a/pos_mrp_order/models/product_product.py b/pos_mrp_order/models/product_product.py new file mode 100644 index 000000000..73e2c012e --- /dev/null +++ b/pos_mrp_order/models/product_product.py @@ -0,0 +1,34 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies() +# Author: Gayathri V (odoo@cybrosys.com) +# 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 api, models, _ + + +class ProductProduct(models.Model): + """ Inheriting 'product.product' for adding custom functionality.""" + _inherit = 'product.product' + + @api.onchange('to_make_mrp') + def onchange_to_make_mrp(self): + """ Raise validation error if bom is not set in 'product.product'.""" + if self.to_make_mrp: + if not self.bom_count: + raise Warning( + _('Please set Bill of Material for this product.')) diff --git a/pos_mrp_order/models/product_template.py b/pos_mrp_order/models/product_template.py new file mode 100644 index 000000000..74285b4e8 --- /dev/null +++ b/pos_mrp_order/models/product_template.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# Cybrosys Technologies Pvt. Ltd. +# +# Copyright (C) 2024-TODAY Cybrosys Technologies( +# Author: Gayathri V (odoo@cybrosys.com) +# +# 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 api, fields, models, _ +from odoo.exceptions import ValidationError + + +class ProductTemplate(models.Model): + """ Inheriting 'product.template' for adding custom field and functionality. + """ + _inherit = 'product.template' + + to_make_mrp = fields.Boolean( + string='To Create MRP Order', + help="Check if the product should make mrp order") + + @api.onchange('to_make_mrp') + def onchange_to_make_mrp(self): + """ Raise validation error if bom is not set in 'product.template'.""" + if self.to_make_mrp: + if not self.bom_count: + raise ValidationError(_( + 'Please set Bill of Material for this product.')) diff --git a/pos_mrp_order/security/ir.model.access.csv b/pos_mrp_order/security/ir.model.access.csv new file mode 100644 index 000000000..c4fc267f4 --- /dev/null +++ b/pos_mrp_order/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_mrp_production_pos_user,mrp.production.pos.user,mrp.model_mrp_production,point_of_sale.group_pos_user,1,1,1,0 +access_mrp_bom_pos_user,mrp.bom.pos.user,mrp.model_mrp_bom,point_of_sale.group_pos_user,1,0,0,0 diff --git a/pos_mrp_order/static/description/assets/cybro-icon.png b/pos_mrp_order/static/description/assets/cybro-icon.png new file mode 100644 index 000000000..06e73e11d Binary files /dev/null and b/pos_mrp_order/static/description/assets/cybro-icon.png differ diff --git a/pos_mrp_order/static/description/assets/cybro-odoo.png b/pos_mrp_order/static/description/assets/cybro-odoo.png new file mode 100644 index 000000000..ed02e07a4 Binary files /dev/null and b/pos_mrp_order/static/description/assets/cybro-odoo.png differ diff --git a/pos_mrp_order/static/description/assets/icons/arrows-repeat.svg b/pos_mrp_order/static/description/assets/icons/arrows-repeat.svg new file mode 100644 index 000000000..1d7efabc5 --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/arrows-repeat.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/icons/banner-1.png b/pos_mrp_order/static/description/assets/icons/banner-1.png new file mode 100644 index 000000000..c180db172 Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/banner-1.png differ diff --git a/pos_mrp_order/static/description/assets/icons/banner-2.svg b/pos_mrp_order/static/description/assets/icons/banner-2.svg new file mode 100644 index 000000000..e606d97d9 --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/banner-2.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/icons/banner-bg.png b/pos_mrp_order/static/description/assets/icons/banner-bg.png new file mode 100644 index 000000000..a8238d3c0 Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/banner-bg.png differ diff --git a/pos_mrp_order/static/description/assets/icons/banner-bg.svg b/pos_mrp_order/static/description/assets/icons/banner-bg.svg new file mode 100644 index 000000000..b1378103e --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/banner-bg.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/icons/banner-call.svg b/pos_mrp_order/static/description/assets/icons/banner-call.svg new file mode 100644 index 000000000..96c687e81 --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/banner-call.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/pos_mrp_order/static/description/assets/icons/banner-mail.svg b/pos_mrp_order/static/description/assets/icons/banner-mail.svg new file mode 100644 index 000000000..cbf0d158d --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/banner-mail.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/pos_mrp_order/static/description/assets/icons/banner-pattern.svg b/pos_mrp_order/static/description/assets/icons/banner-pattern.svg new file mode 100644 index 000000000..9c1c7e101 --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/banner-pattern.svg @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/icons/banner-promo.svg b/pos_mrp_order/static/description/assets/icons/banner-promo.svg new file mode 100644 index 000000000..d52791b11 --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/banner-promo.svg @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/icons/brand-pair.svg b/pos_mrp_order/static/description/assets/icons/brand-pair.svg new file mode 100644 index 000000000..d8db7fc1e --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/brand-pair.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/icons/capture (1).png b/pos_mrp_order/static/description/assets/icons/capture (1).png new file mode 100644 index 000000000..8824deafc Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/capture (1).png differ diff --git a/pos_mrp_order/static/description/assets/icons/check.png b/pos_mrp_order/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/check.png differ diff --git a/pos_mrp_order/static/description/assets/icons/chevron.png b/pos_mrp_order/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/chevron.png differ diff --git a/pos_mrp_order/static/description/assets/icons/close-icon.svg b/pos_mrp_order/static/description/assets/icons/close-icon.svg new file mode 100644 index 000000000..df8cce37a --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/close-icon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/pos_mrp_order/static/description/assets/icons/cogs.png b/pos_mrp_order/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/cogs.png differ diff --git a/pos_mrp_order/static/description/assets/icons/collabarate-icon.svg b/pos_mrp_order/static/description/assets/icons/collabarate-icon.svg new file mode 100644 index 000000000..dd4e10518 --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/collabarate-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/pos_mrp_order/static/description/assets/icons/consultation.png b/pos_mrp_order/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/consultation.png differ diff --git a/pos_mrp_order/static/description/assets/icons/cybro-logo.png b/pos_mrp_order/static/description/assets/icons/cybro-logo.png new file mode 100644 index 000000000..ff4b78220 Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/cybro-logo.png differ diff --git a/pos_mrp_order/static/description/assets/icons/down.svg b/pos_mrp_order/static/description/assets/icons/down.svg new file mode 100644 index 000000000..f21c36271 --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/pos_mrp_order/static/description/assets/icons/ecom-black.png b/pos_mrp_order/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/ecom-black.png differ diff --git a/pos_mrp_order/static/description/assets/icons/education-black.png b/pos_mrp_order/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/education-black.png differ diff --git a/pos_mrp_order/static/description/assets/icons/faq.png b/pos_mrp_order/static/description/assets/icons/faq.png new file mode 100644 index 000000000..4250b5b81 Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/faq.png differ diff --git a/pos_mrp_order/static/description/assets/icons/feature-icon.svg b/pos_mrp_order/static/description/assets/icons/feature-icon.svg new file mode 100644 index 000000000..fa0ea6850 --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/feature-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/icons/feature.png b/pos_mrp_order/static/description/assets/icons/feature.png new file mode 100644 index 000000000..ac7a785c0 Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/feature.png differ diff --git a/pos_mrp_order/static/description/assets/icons/gear.svg b/pos_mrp_order/static/description/assets/icons/gear.svg new file mode 100644 index 000000000..0cc66b6ea --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/gear.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/icons/hero.gif b/pos_mrp_order/static/description/assets/icons/hero.gif new file mode 100644 index 000000000..87c424b20 Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/hero.gif differ diff --git a/pos_mrp_order/static/description/assets/icons/hire-odoo.svg b/pos_mrp_order/static/description/assets/icons/hire-odoo.svg new file mode 100644 index 000000000..e1ac089b0 --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/hire-odoo.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/icons/hotel-black.png b/pos_mrp_order/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/hotel-black.png differ diff --git a/pos_mrp_order/static/description/assets/icons/img.png b/pos_mrp_order/static/description/assets/icons/img.png new file mode 100644 index 000000000..70197f477 Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/img.png differ diff --git a/pos_mrp_order/static/description/assets/icons/license.png b/pos_mrp_order/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/license.png differ diff --git a/pos_mrp_order/static/description/assets/icons/life-ring-icon.svg b/pos_mrp_order/static/description/assets/icons/life-ring-icon.svg new file mode 100644 index 000000000..3ae6e1d89 --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/life-ring-icon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/icons/lifebuoy.png b/pos_mrp_order/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/lifebuoy.png differ diff --git a/pos_mrp_order/static/description/assets/icons/mail.svg b/pos_mrp_order/static/description/assets/icons/mail.svg new file mode 100644 index 000000000..1eedde695 --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/mail.svg @@ -0,0 +1,3 @@ + + + diff --git a/pos_mrp_order/static/description/assets/icons/manufacturing-black.png b/pos_mrp_order/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/manufacturing-black.png differ diff --git a/pos_mrp_order/static/description/assets/icons/notes.png b/pos_mrp_order/static/description/assets/icons/notes.png new file mode 100644 index 000000000..ee5e95404 Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/notes.png differ diff --git a/pos_mrp_order/static/description/assets/icons/notification icon.svg b/pos_mrp_order/static/description/assets/icons/notification icon.svg new file mode 100644 index 000000000..053189973 --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/notification icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/icons/odoo-consultancy.svg b/pos_mrp_order/static/description/assets/icons/odoo-consultancy.svg new file mode 100644 index 000000000..e05f65bde --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/odoo-consultancy.svg @@ -0,0 +1,4 @@ + + + + diff --git a/pos_mrp_order/static/description/assets/icons/odoo-licencing.svg b/pos_mrp_order/static/description/assets/icons/odoo-licencing.svg new file mode 100644 index 000000000..2606c88b0 --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/odoo-licencing.svg @@ -0,0 +1,3 @@ + + + diff --git a/pos_mrp_order/static/description/assets/icons/odoo-logo.png b/pos_mrp_order/static/description/assets/icons/odoo-logo.png new file mode 100644 index 000000000..0e4d0eb5a Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/odoo-logo.png differ diff --git a/pos_mrp_order/static/description/assets/icons/patter.svg b/pos_mrp_order/static/description/assets/icons/patter.svg new file mode 100644 index 000000000..25c9c0a8f --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/patter.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/icons/pattern1.png b/pos_mrp_order/static/description/assets/icons/pattern1.png new file mode 100644 index 000000000..09ab0fb2d Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/pattern1.png differ diff --git a/pos_mrp_order/static/description/assets/icons/photo-capture.png b/pos_mrp_order/static/description/assets/icons/photo-capture.png new file mode 100644 index 000000000..06c111758 Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/photo-capture.png differ diff --git a/pos_mrp_order/static/description/assets/icons/pos-black.png b/pos_mrp_order/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/pos-black.png differ diff --git a/pos_mrp_order/static/description/assets/icons/puzzle-piece-icon.svg b/pos_mrp_order/static/description/assets/icons/puzzle-piece-icon.svg new file mode 100644 index 000000000..3e9ad9373 --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/puzzle-piece-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/icons/puzzle.png b/pos_mrp_order/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/puzzle.png differ diff --git a/pos_mrp_order/static/description/assets/icons/replace-icon.svg b/pos_mrp_order/static/description/assets/icons/replace-icon.svg new file mode 100644 index 000000000..d0e3a7af1 --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/replace-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/icons/restaurant-black.png b/pos_mrp_order/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/restaurant-black.png differ diff --git a/pos_mrp_order/static/description/assets/icons/screenshot-main.png b/pos_mrp_order/static/description/assets/icons/screenshot-main.png new file mode 100644 index 000000000..575f8e676 Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/screenshot-main.png differ diff --git a/pos_mrp_order/static/description/assets/icons/screenshot.png b/pos_mrp_order/static/description/assets/icons/screenshot.png new file mode 100644 index 000000000..cef272529 Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/screenshot.png differ diff --git a/pos_mrp_order/static/description/assets/icons/service-black.png b/pos_mrp_order/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/service-black.png differ diff --git a/pos_mrp_order/static/description/assets/icons/skype-fill.svg b/pos_mrp_order/static/description/assets/icons/skype-fill.svg new file mode 100644 index 000000000..c17423639 --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/skype-fill.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/icons/skype.png b/pos_mrp_order/static/description/assets/icons/skype.png new file mode 100644 index 000000000..51b409fb3 Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/skype.png differ diff --git a/pos_mrp_order/static/description/assets/icons/skype.svg b/pos_mrp_order/static/description/assets/icons/skype.svg new file mode 100644 index 000000000..df3dad39b --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/skype.svg @@ -0,0 +1,3 @@ + + + diff --git a/pos_mrp_order/static/description/assets/icons/star-1.svg b/pos_mrp_order/static/description/assets/icons/star-1.svg new file mode 100644 index 000000000..7e55ab162 --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/star-1.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/icons/star-2.svg b/pos_mrp_order/static/description/assets/icons/star-2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/star-2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/icons/support.png b/pos_mrp_order/static/description/assets/icons/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/support.png differ diff --git a/pos_mrp_order/static/description/assets/icons/test-1 - Copy.png b/pos_mrp_order/static/description/assets/icons/test-1 - Copy.png new file mode 100644 index 000000000..f6a902663 Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/test-1 - Copy.png differ diff --git a/pos_mrp_order/static/description/assets/icons/test-1.png b/pos_mrp_order/static/description/assets/icons/test-1.png new file mode 100644 index 000000000..0908add2b Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/test-1.png differ diff --git a/pos_mrp_order/static/description/assets/icons/test-2.png b/pos_mrp_order/static/description/assets/icons/test-2.png new file mode 100644 index 000000000..4671fe91e Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/test-2.png differ diff --git a/pos_mrp_order/static/description/assets/icons/trading-black.png b/pos_mrp_order/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/trading-black.png differ diff --git a/pos_mrp_order/static/description/assets/icons/training.png b/pos_mrp_order/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/training.png differ diff --git a/pos_mrp_order/static/description/assets/icons/translate.svg b/pos_mrp_order/static/description/assets/icons/translate.svg new file mode 100644 index 000000000..af9c8a1aa --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/translate.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/icons/update.png b/pos_mrp_order/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/update.png differ diff --git a/pos_mrp_order/static/description/assets/icons/user.png b/pos_mrp_order/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/user.png differ diff --git a/pos_mrp_order/static/description/assets/icons/video.png b/pos_mrp_order/static/description/assets/icons/video.png new file mode 100644 index 000000000..576705b17 Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/video.png differ diff --git a/pos_mrp_order/static/description/assets/icons/whatsapp.png b/pos_mrp_order/static/description/assets/icons/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/whatsapp.png differ diff --git a/pos_mrp_order/static/description/assets/icons/wrench-icon.svg b/pos_mrp_order/static/description/assets/icons/wrench-icon.svg new file mode 100644 index 000000000..174b5a465 --- /dev/null +++ b/pos_mrp_order/static/description/assets/icons/wrench-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/icons/wrench.png b/pos_mrp_order/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/pos_mrp_order/static/description/assets/icons/wrench.png differ diff --git a/pos_mrp_order/static/description/assets/misc/Cybrosys R.png b/pos_mrp_order/static/description/assets/misc/Cybrosys R.png new file mode 100644 index 000000000..da4058087 Binary files /dev/null and b/pos_mrp_order/static/description/assets/misc/Cybrosys R.png differ diff --git a/pos_mrp_order/static/description/assets/misc/email.svg b/pos_mrp_order/static/description/assets/misc/email.svg new file mode 100644 index 000000000..15291cdc3 --- /dev/null +++ b/pos_mrp_order/static/description/assets/misc/email.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/misc/phone.svg b/pos_mrp_order/static/description/assets/misc/phone.svg new file mode 100644 index 000000000..b7bd7f251 --- /dev/null +++ b/pos_mrp_order/static/description/assets/misc/phone.svg @@ -0,0 +1,3 @@ + + + diff --git a/pos_mrp_order/static/description/assets/misc/star (1) 2.svg b/pos_mrp_order/static/description/assets/misc/star (1) 2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/pos_mrp_order/static/description/assets/misc/star (1) 2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/misc/support (1) 1.svg b/pos_mrp_order/static/description/assets/misc/support (1) 1.svg new file mode 100644 index 000000000..7d37a8f30 --- /dev/null +++ b/pos_mrp_order/static/description/assets/misc/support (1) 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/misc/support-email.svg b/pos_mrp_order/static/description/assets/misc/support-email.svg new file mode 100644 index 000000000..eb70370d6 --- /dev/null +++ b/pos_mrp_order/static/description/assets/misc/support-email.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/pos_mrp_order/static/description/assets/misc/tick-mark.svg b/pos_mrp_order/static/description/assets/misc/tick-mark.svg new file mode 100644 index 000000000..2dbb40187 --- /dev/null +++ b/pos_mrp_order/static/description/assets/misc/tick-mark.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/misc/whatsapp 1.svg b/pos_mrp_order/static/description/assets/misc/whatsapp 1.svg new file mode 100644 index 000000000..0bfaf8fc6 --- /dev/null +++ b/pos_mrp_order/static/description/assets/misc/whatsapp 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/misc/whatsapp.svg b/pos_mrp_order/static/description/assets/misc/whatsapp.svg new file mode 100644 index 000000000..b618aea1d --- /dev/null +++ b/pos_mrp_order/static/description/assets/misc/whatsapp.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/pos_mrp_order/static/description/assets/modules/1.gif b/pos_mrp_order/static/description/assets/modules/1.gif new file mode 100644 index 000000000..ae3a880a2 Binary files /dev/null and b/pos_mrp_order/static/description/assets/modules/1.gif differ diff --git a/pos_mrp_order/static/description/assets/modules/1.jpg b/pos_mrp_order/static/description/assets/modules/1.jpg new file mode 100644 index 000000000..08bbafeb6 Binary files /dev/null and b/pos_mrp_order/static/description/assets/modules/1.jpg differ diff --git a/pos_mrp_order/static/description/assets/modules/2.gif b/pos_mrp_order/static/description/assets/modules/2.gif new file mode 100644 index 000000000..d19e2b352 Binary files /dev/null and b/pos_mrp_order/static/description/assets/modules/2.gif differ diff --git a/pos_mrp_order/static/description/assets/modules/2.png b/pos_mrp_order/static/description/assets/modules/2.png new file mode 100644 index 000000000..a1209a01f Binary files /dev/null and b/pos_mrp_order/static/description/assets/modules/2.png differ diff --git a/pos_mrp_order/static/description/assets/modules/3.jpg b/pos_mrp_order/static/description/assets/modules/3.jpg new file mode 100644 index 000000000..3d171226b Binary files /dev/null and b/pos_mrp_order/static/description/assets/modules/3.jpg differ diff --git a/pos_mrp_order/static/description/assets/modules/3.png b/pos_mrp_order/static/description/assets/modules/3.png new file mode 100644 index 000000000..8513873ea Binary files /dev/null and b/pos_mrp_order/static/description/assets/modules/3.png differ diff --git a/pos_mrp_order/static/description/assets/modules/4.jpg b/pos_mrp_order/static/description/assets/modules/4.jpg new file mode 100644 index 000000000..1f3f2e27f Binary files /dev/null and b/pos_mrp_order/static/description/assets/modules/4.jpg differ diff --git a/pos_mrp_order/static/description/assets/modules/4.png b/pos_mrp_order/static/description/assets/modules/4.png new file mode 100644 index 000000000..3bedf7981 Binary files /dev/null and b/pos_mrp_order/static/description/assets/modules/4.png differ diff --git a/pos_mrp_order/static/description/assets/modules/5.jpg b/pos_mrp_order/static/description/assets/modules/5.jpg new file mode 100644 index 000000000..0db717519 Binary files /dev/null and b/pos_mrp_order/static/description/assets/modules/5.jpg differ diff --git a/pos_mrp_order/static/description/assets/modules/5.png b/pos_mrp_order/static/description/assets/modules/5.png new file mode 100644 index 000000000..0e311ca87 Binary files /dev/null and b/pos_mrp_order/static/description/assets/modules/5.png differ diff --git a/pos_mrp_order/static/description/assets/modules/6.jpg b/pos_mrp_order/static/description/assets/modules/6.jpg new file mode 100644 index 000000000..67c7f7062 Binary files /dev/null and b/pos_mrp_order/static/description/assets/modules/6.jpg differ diff --git a/pos_mrp_order/static/description/assets/modules/dashboard_pos.jpg b/pos_mrp_order/static/description/assets/modules/dashboard_pos.jpg new file mode 100644 index 000000000..2c258bc8d Binary files /dev/null and b/pos_mrp_order/static/description/assets/modules/dashboard_pos.jpg differ diff --git a/pos_mrp_order/static/description/assets/modules/dynamic_accounts_report.jpg b/pos_mrp_order/static/description/assets/modules/dynamic_accounts_report.jpg new file mode 100644 index 000000000..b967912c5 Binary files /dev/null and b/pos_mrp_order/static/description/assets/modules/dynamic_accounts_report.jpg differ diff --git a/pos_mrp_order/static/description/assets/modules/hr_payroll_community.jpg b/pos_mrp_order/static/description/assets/modules/hr_payroll_community.jpg new file mode 100644 index 000000000..2c2b887f1 Binary files /dev/null and b/pos_mrp_order/static/description/assets/modules/hr_payroll_community.jpg differ diff --git a/pos_mrp_order/static/description/assets/modules/invoice_format_editor.jpg b/pos_mrp_order/static/description/assets/modules/invoice_format_editor.jpg new file mode 100644 index 000000000..606ce2051 Binary files /dev/null and b/pos_mrp_order/static/description/assets/modules/invoice_format_editor.jpg differ diff --git a/pos_mrp_order/static/description/assets/modules/pos_greetings.jpg b/pos_mrp_order/static/description/assets/modules/pos_greetings.jpg new file mode 100644 index 000000000..d9dd6d429 Binary files /dev/null and b/pos_mrp_order/static/description/assets/modules/pos_greetings.jpg differ diff --git a/pos_mrp_order/static/description/assets/modules/pos_order_line_image.jpg b/pos_mrp_order/static/description/assets/modules/pos_order_line_image.jpg new file mode 100644 index 000000000..4d3d30f4d Binary files /dev/null and b/pos_mrp_order/static/description/assets/modules/pos_order_line_image.jpg differ diff --git a/pos_mrp_order/static/description/assets/screenshots/1.png b/pos_mrp_order/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..6fc13ff61 Binary files /dev/null and b/pos_mrp_order/static/description/assets/screenshots/1.png differ diff --git a/pos_mrp_order/static/description/assets/screenshots/2.png b/pos_mrp_order/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..491872910 Binary files /dev/null and b/pos_mrp_order/static/description/assets/screenshots/2.png differ diff --git a/pos_mrp_order/static/description/assets/screenshots/3.png b/pos_mrp_order/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..5f550058e Binary files /dev/null and b/pos_mrp_order/static/description/assets/screenshots/3.png differ diff --git a/pos_mrp_order/static/description/assets/screenshots/4.png b/pos_mrp_order/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..dc458d11b Binary files /dev/null and b/pos_mrp_order/static/description/assets/screenshots/4.png differ diff --git a/pos_mrp_order/static/description/assets/screenshots/5.png b/pos_mrp_order/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..bf5655c35 Binary files /dev/null and b/pos_mrp_order/static/description/assets/screenshots/5.png differ diff --git a/pos_mrp_order/static/description/banner.jpg b/pos_mrp_order/static/description/banner.jpg new file mode 100644 index 000000000..4120a45d0 Binary files /dev/null and b/pos_mrp_order/static/description/banner.jpg differ diff --git a/pos_mrp_order/static/description/icon.png b/pos_mrp_order/static/description/icon.png new file mode 100644 index 000000000..7e6ef6b9e Binary files /dev/null and b/pos_mrp_order/static/description/icon.png differ diff --git a/pos_mrp_order/static/description/index.html b/pos_mrp_order/static/description/index.html new file mode 100644 index 000000000..bcbf999ae --- /dev/null +++ b/pos_mrp_order/static/description/index.html @@ -0,0 +1,1156 @@ + + + + + + Make MRP Orders from POS + + + + + + + + + + +
+
+ + + +
+
+ Community +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+
+

+ Generate Automatic MRP Orders from POS. +

+

Make MRP Orders from POS +

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

Key + Highlights

+
+
+
+
+ +
+
+ Automatic MRP Orders from POS. +
+
+
+
+
+
+ +
+
+ Select the Products for which MRP Orders + Need to be Generated. +
+
+
+
+
+
+ +
+
+ Easily Identify MRP Orders Generated from + the POS. +
+
+
+
+
+ +
+
+
+ Make MRP Orders from POS +

+ Are you ready to make your business more + organized? +
Improve now! +

+ +
+
+ +
+
+
+ + + +
+
+ +
+
+
+
+ acc_bg +
+ +
+
+
+
+

+ Enable 'To Create MRP Order' from the Product + Form. +

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

+ A Warning is Displayed when the Product Lacks a Bill of + Material. +

+
+
+

+ Ensure that the Product has a + Bill of Material (BoM) to + Prevent the System from Issuing + a Warning. Failure to Set the + BoM will Result in the MRP Order + not Being Generated. +

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

+ Set Bill of Material for the + Product. +

+
+
+

+ Setting a BoM for a Product + Template Allows you to Use that + BoM for All Variants of that + Product. If You Set a BoM for a + Specific Product Variant, it + Only Applies to that Variant, + and Other Variants will not + Consider that BoM. An MRP Order + is Generated Only When a + Relevant BoM is Available. +

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

+ Point Of Sale. + +

+
+
+

+ Select the Product, make Payment + and Validate the Order. Check + Manufacturing Orders. +

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

+ Find Out the MRP Order that is Created by + POS. +

+
+
+

+ You Can Easily Identify the MRP + Orders Generated by the POS from + the 'Source'. +

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

+ Generate MRP Orders from POS. +

+
+ +
+
+
+
+
+
+ +
+

+ Determine the Products that + Require the Automatic Generation + of MRP Order. +

+
+ +
+
+
+
+
+
+ +
+

+ Identify MRP Orders Generated + from POS Easily by their Source + from Manufacturing Orders. +

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

+ This module + integrates Odoo's + POS and MRP + (Manufacturing) + modules. It allows + businesses that + handle both sales + and manufacturing + processes to + streamline + operations by + automatically + generating + manufacturing orders + from the POS + interface when an + item is sold. +

+
+
+ +
+ +
+

+ Yes, you can specify + which products + should trigger a + manufacturing order + upon sale in the + POS. You can set + this configuration + in the product + settings, ensuring + that only designated + products initiate a + manufacturing + process. +

+
+
+ +
+ +
+

+ Yes, the POS MRP + Order module is + compatible with + multi-location + inventory setups. + You can configure + manufacturing + locations and + specify where + components are + stored, enabling + accurate inventory + tracking across + multiple warehouses. +

+
+
+ +
+ +
+

+ When a POS sale + generates a + manufacturing order, + the system deducts + the necessary + components from + inventory and + calculates costs + based on + manufacturing and + product + configurations. This + helps maintain + accurate stock + levels and provides + insights into + manufacturing + expenses related to + POS sales. +

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

+ Latest Release 18.0.1.0.0 +

+ + 29th October, 2024 + +
+
+
+
+
+ Add +
+
+
+
    +
  • + Initial Commit +
  • + +
+
+
+
+
+
+
+
+
+
+ + + + + + +
+

+ Our Services

+ +
+
+ +
+
+ .... +
+
+ +
+ +
+
+ + + + + + diff --git a/pos_mrp_order/static/src/overrides/components/payment_screen/payment_screen.js b/pos_mrp_order/static/src/overrides/components/payment_screen/payment_screen.js new file mode 100644 index 000000000..5a29e7693 --- /dev/null +++ b/pos_mrp_order/static/src/overrides/components/payment_screen/payment_screen.js @@ -0,0 +1,55 @@ +/** @odoo-module **/ +import { PaymentScreen } from "@point_of_sale/app/screens/payment_screen/payment_screen"; +import { patch } from "@web/core/utils/patch"; +import { useService } from "@web/core/utils/hooks"; +// Patch the PaymentScreen to create manufacturing orders when the order is validated +patch(PaymentScreen.prototype, { + setup() { + super.setup(...arguments); + this.orm = useService("orm"); + }, + // Creating manufacturing orders + createMRP() { + const order = this.currentOrder; + var order_line = order.get_orderlines() + var due = order.get_due(); + for (var i in order_line){ + var list_product = [] + if (order_line[i].product_id){ + if (order_line[i].qty > 0){ + var product_dict = { + 'id': order_line[i].product_id['id'], + 'qty': order_line[i].qty, + 'product_tmpl_id': order_line[i].product_tmpl_id, + 'pos_reference': order.name, + 'uom_id': order_line[i].product_id['uom_id']['id'], + }; + list_product.push(product_dict); + } + } + if (list_product.length){ + this.orm.call('mrp.production', 'create_mrp_from_pos', [1,list_product]) + } + } + }, + // Override the function validateOrder + async validateOrder(isForceValidate) { + if(this.pos.config.cash_rounding) { + if(!this.pos.get_order().check_paymentlines_rounding()) { + this.showPopup('ErrorPopup', { + title: _t('Rounding error in payment lines'), + body: _t("The amount of your payment lines must be rounded to validate the transaction."), + }); + return; + } + } + if (await this._isOrderValid(isForceValidate)) { + // Remove pending payments before finalizing the validation + for (let line of this.paymentLines) { + if (!line.is_done()) this.currentOrder.remove_paymentline(line); + } + await this._finalizeValidation(); + } + this.createMRP(); + } +}); diff --git a/pos_mrp_order/views/product_template_views.xml b/pos_mrp_order/views/product_template_views.xml new file mode 100644 index 000000000..8085f72d6 --- /dev/null +++ b/pos_mrp_order/views/product_template_views.xml @@ -0,0 +1,14 @@ + + + + + product.template.view.form.inherit.pos.mrp.order + product.template + + + + + + + +